diff --git a/bin/mcp-lapis b/bin/mcp-lapis new file mode 100755 index 0000000..22cbf53 --- /dev/null +++ b/bin/mcp-lapis @@ -0,0 +1,6 @@ +#!/bin/sh +# LaPis memory MCP server (stdio) for Cursor and Antigravity. +set -eu +LAPIS="${LAPIS_DIR:-$HOME/.pi/agent/git/github.com/GeneGulanesJr/LaPis}" +cd "$LAPIS" +exec node "$LAPIS/cli.js" mcp diff --git a/bin/mcp-wiki-remote b/bin/mcp-wiki-remote new file mode 100755 index 0000000..6aa6de8 --- /dev/null +++ b/bin/mcp-wiki-remote @@ -0,0 +1,13 @@ +#!/bin/sh +# Shared Wiki.js MCP stdio bridge for Cursor and Antigravity (pi uses its own mcp.json). +# The token never lands in a config file: secretctl injects it into mcp-remote's child env. +set -eu +PROXY="$HOME/.local/share/wiki-mcp/node_modules/mcp-remote/dist/proxy.js" +BUN="$HOME/.local/share/mise/installs/bun/latest/bin/bun" +exec secretctl get WIKI3_MCP_TOKEN -- \ + "$BUN" "$PROXY" \ + "https://wiki.godemperordoge.org/_mcp" \ + --header 'Authorization:Bearer ${WIKI3_MCP_TOKEN}' \ + --header 'User-Agent:Mozilla/5.0 PersonalWikiMCP/1.0' \ + --transport http-only \ + --silent diff --git a/config/antigravity/config.json b/config/antigravity/config.json new file mode 100644 index 0000000..efc227e --- /dev/null +++ b/config/antigravity/config.json @@ -0,0 +1,7 @@ +{ + "plugins": { + "swarm": { + "enabled": true + } + } +} \ No newline at end of file diff --git a/config/antigravity/hooks.json b/config/antigravity/hooks.json new file mode 100644 index 0000000..6822cb4 --- /dev/null +++ b/config/antigravity/hooks.json @@ -0,0 +1,11 @@ +{ + "lapis-memory": { + "SessionStart": [ + { + "type": "command", + "command": "/home/ziadarafat/.local/share/mise/installs/node/24/bin/node ./scripts/lapis-agy-hook.cjs", + "timeout": 10 + } + ] + } +} diff --git a/config/antigravity/mcp_config.json b/config/antigravity/mcp_config.json new file mode 100644 index 0000000..fea5c51 --- /dev/null +++ b/config/antigravity/mcp_config.json @@ -0,0 +1,23 @@ +{ + "mcpServers": { + "wiki": { + "command": "mcp-wiki-remote", + "args": [] + }, + "lapis": { + "command": "/home/ziadarafat/.local/share/mise/installs/node/24/bin/node", + "args": [ + "/home/ziadarafat/.pi/agent/git/github.com/GeneGulanesJr/LaPis/memory-store.js", + "mcp" + ] + }, + "context-mode": { + "command": "/home/ziadarafat/.local/share/mise/installs/node/24/bin/node", + "args": [ + "/home/ziadarafat/.pi/agent/npm/node_modules/context-mode/server.mjs", + "--agent", + "gemini" + ] + } + } +} diff --git a/config/antigravity/rules/antigravity-adapters.md b/config/antigravity/rules/antigravity-adapters.md new file mode 100644 index 0000000..c944979 --- /dev/null +++ b/config/antigravity/rules/antigravity-adapters.md @@ -0,0 +1,21 @@ +--- +trigger: always_on +description: "Adapts shared Pi/Codex skills, LaPis memory integration, context-mode, and ziadpve Proxmox CLI quirks for Antigravity." +--- + +# Antigravity Environment Adapters + +Shared skills in `~/.pi/agent/skills/` and `~/AGENTS.md` are shared with Pi. Apply these Antigravity-specific mappings: + +1. **Wiki.js MCP (`wiki-view`, `wiki-update`, `infra-change`):** + - Where shared skills refer to Pi's `codemode` (`tools.mcp__wiki__*`), call the `wiki` MCP server tools directly (e.g., `search_pages`, `browse_tree`, `get_page`, `create_page`, `update_page`, `suggest_edit`). Do not look for a `codemode` tool. +2. **Web Search & Fetch (`AGENTS.md`, `playwright-cli`):** + - `searxng` is intentionally excluded in Antigravity. Use Antigravity's native `search_web` (and `playwright-cli` for JS-rendered pages) instead. +3. **LaPis Persistent Memory (`lapis` MCP + `SessionStart` hook + `memory-layer` skill):** + - Use the `lapis` MCP tools (`memory-search`, `memory-save`, `memory-load-context`, `memory-get`, `memory-update`, `memory-code`, `memory-doc`) for cross-session and cross-agent memory with `~/.pi/memory/memory.db`. + - `SessionStart` automatically initializes a LaPis session and injects project + personal memory context. +4. **Pi Package Equivalents:** + - `context-mode` is available via the `context-mode` MCP server (`ctx_execute`, `ctx_search`, `ctx_stats`, etc.) for large command outputs/logs. + - Use native `ask_question` instead of `@juicesharp/rpiv-ask-user-question`, and native `run_command` backgrounding + `manage_task` instead of `pi-background-tasks`. +5. **Proxmox Host (`ziadpve` / `arceus`):** + - Proxmox binaries live in `/usr/sbin` and require passwordless `sudo`: run `sudo -n /usr/sbin/qm`, `sudo -n /usr/sbin/pct`, and `timeout 5 sudo -n /usr/sbin/pvesm` (always wrap storage commands in `timeout`). diff --git a/config/antigravity/skills.json b/config/antigravity/skills.json new file mode 100644 index 0000000..d02c6a0 --- /dev/null +++ b/config/antigravity/skills.json @@ -0,0 +1,14 @@ +{ + "entries": [ + { + "path": "~/.pi/agent/skills", + "exclude": ["searxng"] + }, + { + "path": "~/.pi/agent/git/github.com/GeneGulanesJr/LaPis/skills" + }, + { + "path": "~/.pi/agent/npm/node_modules/context-mode/skills" + } + ] +} diff --git a/config/claude/CLAUDE.md b/config/claude/CLAUDE.md index 53a31f5..390fc97 100644 --- a/config/claude/CLAUDE.md +++ b/config/claude/CLAUDE.md @@ -1,19 +1,25 @@ -# Environment Profile: Steam Deck (SteamOS) +# Environment Profile (shared across machines) -You are running on a **Steam Deck** powered by SteamOS (an immutable Arch Linux-based system). Keep these core constraints, container environments, and remote access workflows in mind: +This file is shared through dotfiles, so check `hostname` first. Claude's main home is **`ziadpve`** (a.k.a. `arceus`, Proxmox VE 9.2 on Debian 13, user `ziadarafat`, profile `headless`). The **Steam Deck** (SteamOS, an immutable Arch Linux-based system, user `deck`) is a client and test screen. Keep these core constraints, container environments, and remote access workflows in mind: ## System Constraints + +### On `ziadpve` +- **Live hypervisor:** `/` is writable and `sudo` is passwordless, but this host runs the home lab. Change system packages, units, network or storage only deliberately, and put timeouts on storage commands. Rebooting it ends your own session. +- **Toolchain:** CLI tools come from Nix and `mise`. There is no compiler, GUI or Flathub remote; build in a VM, LXC or container. + +### On the Steam Deck - **Immutable Root:** The host root filesystem (`/`) is read-only. Never attempt to use `pacman` or write files directly to system paths on the host. - **Package Management & Apps:** - Desktop/GUI applications must be installed via **Flatpak** (`flatpak install`). - Development environments, CLI tools, and Linux utilities must be isolated inside **Distrobox** containers. - **Service Management:** System services run via user-space `systemd` or inside containers. -## Configured Distrobox Containers +## Configured Distrobox Containers (Steam Deck; `ziadpve` has none, `dot boxes` creates them) 1. **`etv`** - **Base Image:** `almalinux 10-toolbox` - **Scope:** Reserved strictly for ETV work projects, Enterprise Linux tooling, and ETV-specific dependencies. - - **Command execution:** `distrobox enter ETV` or `distrobox-enter -n ETV -- ` + - **Command execution:** `distrobox enter etv` or `distrobox-enter -n etv -- ` 2. **`general`** - **Base Image:** Fedora (latest toolbox) @@ -23,7 +29,7 @@ You are running on a **Steam Deck** powered by SteamOS (an immutable Arch Linux- ## Remote Access Protocol (SSH Config + XPipe Key Management) - **Primary Method (SSH + SSH Config):** For remote systems, use native `ssh` referencing configured hosts in SSH config files (`~/.ssh/config`) first. - Always reference explicit host aliases defined in the SSH config. -- **Key Transfer & Re-establishment (XPipe):** XPipe is unreliable for frequent remote session access and should **not** be used for primary command execution. +- **Key Transfer & Re-establishment (XPipe, GUI machines only, not on `ziadpve`):** XPipe is unreliable for frequent remote session access and should **not** be used for primary command execution. - Use XPipe **only** when needed to transfer SSH keys, manage credentials, or re-establish/bootstrap remote access configuration. ## Remote Infrastructure & Proxmox VE Protocol @@ -75,9 +81,9 @@ All remote management of host systems, Proxmox VE nodes, and virtual machines mu ## Guidelines for Claude - Primary connection attempt for remote servers: **Native `ssh` using SSH config files**. - XPipe usage: Use **XPipe** strictly for transferring keys and re-establishing/bootstrapping remote access configuration when needed. -- For ETV work tasks: Use the **`ETV`** container (`almalinux 10-toolbox`). -- For general coding/utilities: Use the **`general`** container (Fedora). -- For desktop applications: Check **Flatpak** first. +- For ETV work tasks: Use the **`etv`** container (`almalinux 10-toolbox`) where it exists. +- For general coding/utilities: Use the **`general`** container (Fedora) where it exists; on `ziadpve` use `mise` and Nix. +- For desktop applications on GUI machines: Check **Flatpak** first. ## Infrastructure Discovery & Collaborative Documentation diff --git a/config/claude/settings.json b/config/claude/settings.json index 418b7a4..cd8ae95 100644 --- a/config/claude/settings.json +++ b/config/claude/settings.json @@ -22,9 +22,20 @@ "Bash(rsync:*)" ] }, + "enabledPlugins": { + "superpowers@superpowers-marketplace": true + }, + "extraKnownMarketplaces": { + "superpowers-marketplace": { + "source": { + "source": "github", + "repo": "obra/superpowers-marketplace" + } + } + }, "modelSettings": { "claude-opus-5-5": { - "effortLevel": "high" + "effortLevel": "medium" } }, "voice": { @@ -33,6 +44,7 @@ }, "skipDangerousModePermissionPrompt": true, "theme": "auto", - "voiceEnabled": true, - "agentPushNotifEnabled": true -} \ No newline at end of file + "switchModelsOnFlag": false, + "agentPushNotifEnabled": true, + "voiceEnabled": true +} diff --git a/config/cursor/mcp.json b/config/cursor/mcp.json new file mode 100644 index 0000000..ecc9c24 --- /dev/null +++ b/config/cursor/mcp.json @@ -0,0 +1,14 @@ +{ + "mcpServers": { + "wiki": { + "type": "stdio", + "command": "mcp-wiki-remote", + "args": [] + }, + "lapis": { + "type": "stdio", + "command": "mcp-lapis", + "args": [] + } + } +} diff --git a/config/cursor/rules/homelab-agents.mdc b/config/cursor/rules/homelab-agents.mdc new file mode 100644 index 0000000..f84be3f --- /dev/null +++ b/config/cursor/rules/homelab-agents.mdc @@ -0,0 +1,29 @@ +--- +description: Homelab agent policies — LaPis, secrets, host safety, forge routing +alwaysApply: true +--- + +# Homelab agent policies + +Follow `~/AGENTS.md` and `~/.pi/agent/AGENTS.md`. Check `hostname` first. + +## Memory +- Use **LaPis** MCP (`memory-search`, `memory-save`, etc.) as the shared cross-agent memory with Pi/Codex/Claude. +- Query LaPis at the start of non-trivial tasks; save only high-signal decisions/workflows/root causes. +- Never store secrets, raw logs, or huge dumps in LaPis. + +## Secrets +- Use `secretctl` (skill: `secrets_man`). Never read `~/secrets.txt` directly or print values. + +## Forges +- **Gitea** (`gitea.godemperordoge.org`): `gt` skill + `GITEA_DOGE_TOKEN`. +- **GitHub** (github.com / RustyRaptor): `gh` + `GITHUB_ACCESS_TOKEN`; identity `RustyRaptor` / `anonymous0programmer@gmail.com`. +- Route by remote host; see the `git` skill. + +## Hosts +- This host is `ziadpve`/`arceus` (Proxmox). Prefer deliberate infra changes; heavy work in VM/LXC/container. +- Steam Deck: SSH alias `deck` (reverse tunnel `:2222`). SteamOS immutable root. +- Kodi Pi (bounsweet): SSH alias `bounsweet` (via NetBird/`excadrill` jump). + +## Wiki +- Personal Wiki.js MCP server `wiki` at `wiki.godemperordoge.org`. Prefer `wiki-view` / `wiki-update` skills. diff --git a/config/free-pi/AGENTS.md b/config/free-pi/AGENTS.md new file mode 100644 index 0000000..08c1cf2 --- /dev/null +++ b/config/free-pi/AGENTS.md @@ -0,0 +1,27 @@ +# Standing instructions + +## Document every change in the Wiki.js homelab docs + +After any infrastructure, service, application or configuration change, write it up in the wiki — every time, without being asked again. +Documentation never hurts; missing notes cost hours. + +- Target: , human pages under `homelab/` (`pokedex/hosts|vms|containers|devices`, `reference/*`, `runbooks/*`). +- Search first (`search_pages`) and edit the existing page before creating a new one; new pages go under `homelab/reference/clients/`, `homelab/reference/services/`, `homelab/reference/core/`, or `homelab/runbooks/` as fits. +- Prefer surgical `edits` on the live source over rewriting the page; the pages are dated operational notes, so record what changed, why, the host, and the exact non-obvious commands or limits. +- Record the traps, not just the happy path: error messages, what was tried, the workaround, and any trade-off accepted. +- Keep secrets out of the wiki. Names of secrets and where they live are fine; values never. +- New pages must also be linked from the parent index page (e.g. `homelab/reference`). + +## Wiki access + +`secretctl get WIKI_BEARER_TOKEN -- …` holds the Wiki.js MCP bearer token; call the MCP endpoint at `https://wiki.godemperordoge.org/_mcp` with JSON-RPC (`tools/call`), or use the `mcp__wiki` server when it is loaded. Never print the token. + +## Track agent configuration in the dotfiles repo + +Agent configuration is managed by `~/.dotfiles` (repo `ziadarafat/dotfiles`, profiles `full` / `headless`; never `full-work`). +`config/pi`, `config/free-pi`, `config/cursor` and `config/antigravity` are symlinked into `$HOME` by `home/agents.nix`, +so an in-app settings change already shows up as `git diff` there. + +When you change an agent's configuration, immediately commit it in `~/.dotfiles` with a short message saying what changed +and why, and record the change in the Wiki.js homelab docs. Never commit secrets: MCP tokens stay behind `secretctl` +(wrappers in `bin/`, `mcp.json` in `config/pi` rendered by `dot secrets render`). diff --git a/config/free-pi/mcp.json b/config/free-pi/mcp.json new file mode 100644 index 0000000..3958ebe --- /dev/null +++ b/config/free-pi/mcp.json @@ -0,0 +1,15 @@ +{ + "mcpServers": { + "wiki": { + "url": "https://wiki.godemperordoge.org/_mcp", + "description": "Wiki.js homelab docs at godemperordoge.org: search, browse, read and update pages.", + "headers": { + "Authorization": "!secretctl get WIKI_BEARER_TOKEN -- sh -c 'printf \"Bearer %s\" \"$WIKI_BEARER_TOKEN\"'" + }, + "exposure": "codemode", + "toolExposure": { + "get_page": "direct" + } + } + } +} diff --git a/config/free-pi/models.json b/config/free-pi/models.json new file mode 100644 index 0000000..efbac6e --- /dev/null +++ b/config/free-pi/models.json @@ -0,0 +1,116 @@ +{ + "$schema": "https://pi.dev/schemas/models.schema.json", + "providers": { + "ollama": { + "name": "Ollama (yveltal)", + "baseUrl": "http://10.0.0.38:11434/v1", + "api": "openai-completions", + "apiKey": "ollama", + "models": [ + { + "id": "gemma4-12b-qat-64k", + "name": "Gemma 4 12B QAT 64k (Google sampling)", + "contextWindow": 65536, + "maxTokens": 8192, + "reasoning": true, + "input": [ + "text" + ] + }, + { + "id": "gemma4-12b-qat-uncensored-64k", + "name": "Gemma 4 12B QAT Uncensored 64k", + "contextWindow": 65536, + "maxTokens": 8192, + "reasoning": true, + "input": [ + "text", + "image" + ] + }, + { + "id": "gemma4-12b-qat-uncensored-64k-mtp", + "name": "Gemma 4 12B QAT Uncensored 64k (MTP draft)", + "contextWindow": 65536, + "maxTokens": 8192, + "reasoning": true, + "input": [ + "text", + "image" + ] + } + ] + }, + "cohere": { + "name": "Cohere (Compatibility API)", + "baseUrl": "https://api.cohere.ai/compatibility/v1", + "api": "openai-completions", + "apiKey": "!secretctl get COHERE_API_KEY -- sh -c 'printf %s \"$COHERE_API_KEY\"'", + "compat": { + "supportsUsageInStreaming": true, + "supportsStore": false, + "supportsStrictMode": true + }, + "models": [ + { + "id": "command-a-plus-05-2026", + "name": "Command A+ (agentic, vision)", + "contextWindow": 436000, + "maxTokens": 64000, + "reasoning": true, + "input": [ + "text", + "image" + ], + "samplingParams": { + "temperature": 0.2 + }, + "thinkingLevelMap": { + "low": "high", + "medium": "high", + "high": "high" + } + }, + { + "id": "command-a-03-2025", + "name": "Command A (tool use, 256k ctx)", + "contextWindow": 288000, + "maxTokens": 8192, + "reasoning": false, + "input": [ + "text" + ], + "samplingParams": { + "temperature": 0.2 + } + }, + { + "id": "north-mini-code-1.0", + "name": "North Mini Code (agentic coding)", + "contextWindow": 436000, + "maxTokens": 64000, + "reasoning": false, + "input": [ + "text" + ], + "samplingParams": { + "temperature": 0.2 + } + }, + { + "id": "command-r7b-12-2024", + "name": "Command R7B (cheap/fast)", + "contextWindow": 132000, + "maxTokens": 4096, + "reasoning": false, + "input": [ + "text" + ], + "samplingParams": { + "temperature": 0.2 + } + } + ] + } + } +} diff --git a/config/pi/auto-model.json b/config/pi/auto-model.json new file mode 100644 index 0000000..4097d5f --- /dev/null +++ b/config/pi/auto-model.json @@ -0,0 +1,12 @@ +{ + "primary": { + "provider": "cohere", + "model": "north-mini-code-1.0", + "thinking": "off" + }, + "fallback": { + "provider": "ollama", + "model": "gemma4-26b-a4b-qat:latest", + "thinking": "low" + } +} \ No newline at end of file diff --git a/config/pi/models.json b/config/pi/models.json new file mode 100644 index 0000000..0dff70e --- /dev/null +++ b/config/pi/models.json @@ -0,0 +1,133 @@ +{ + "providers": { + "ollama": { + "baseUrl": "http://10.0.0.38:11434/v1", + "api": "openai-completions", + "apiKey": "ollama", + "models": [ + { + "id": "gemma4-12b-qat-64k:latest", + "contextWindow": 65536, + "maxTokens": 8192, + "reasoning": true, + "input": [ + "text" + ] + }, + { + "id": "gemma4-12b-qat-uncensored-64k:latest", + "contextWindow": 65536, + "maxTokens": 8192, + "reasoning": true, + "input": [ + "text", + "image" + ] + }, + { + "id": "gemma4-12b-qat-uncensored-64k-mtp:latest", + "contextWindow": 65536, + "maxTokens": 8192, + "reasoning": true, + "input": [ + "text", + "image" + ] + }, + { + "id": "qwen3.5-9b-gpu:latest", + "contextWindow": 32768, + "maxTokens": 8192, + "reasoning": false, + "input": [ + "text" + ] + }, + { + "id": "gemma4-26b-a4b-qat:latest", + "contextWindow": 32768, + "maxTokens": 8192, + "reasoning": true, + "input": [ + "text" + ], + "label": "26B text" + }, + { + "id": "gemma4-26b-a4b-qat-vision:latest", + "contextWindow": 32768, + "maxTokens": 8192, + "reasoning": true, + "input": [ + "text", + "image" + ] + }, + { + "id": "gemma4-12b-qat-vision:latest", + "contextWindow": 32768, + "maxTokens": 8192, + "reasoning": true, + "input": [ + "text", + "image" + ] + } + ] + }, + "cohere": { + "baseUrl": "https://api.cohere.ai/compatibility/v1", + "api": "openai-completions", + "apiKey": "!secretctl get COHERE_API_KEY -- sh -c 'printf %s \"$COHERE_API_KEY\"'", + "models": [ + { + "id": "command-a-plus-05-2026", + "contextWindow": 436000, + "maxTokens": 64000, + "reasoning": true, + "input": [ + "text", + "image" + ], + "thinkingLevelMap": { + "low": "high", + "medium": "high", + "high": "high" + } + }, + { + "id": "command-a-03-2025", + "contextWindow": 288000, + "maxTokens": 8192, + "reasoning": false, + "input": [ + "text" + ] + }, + { + "id": "north-mini-code-1.0", + "contextWindow": 436000, + "maxTokens": 64000, + "reasoning": false, + "input": [ + "text" + ] + }, + { + "id": "command-r7b-12-2024", + "contextWindow": 132000, + "maxTokens": 4096, + "reasoning": false, + "input": [ + "text" + ] + } + ], + "compat": { + "supportsStore": false, + "supportsStrictMode": false, + "supportsUsageInStreaming": true + } + } + } +} diff --git a/config/pi/settings.json b/config/pi/settings.json index fcc2454..e060c02 100644 --- a/config/pi/settings.json +++ b/config/pi/settings.json @@ -1,3 +1,27 @@ { - "lastChangelogVersion": "1.3.0" -} \ No newline at end of file + "lastChangelogVersion": "1.6.0", + "packages": [ + "git:github.com/GeneGulanesJr/LaPis", + "npm:@juicesharp/rpiv-ask-user-question", + "npm:pi-background-tasks", + "npm:context-mode", + "npm:pi-auto-models" + ], + "extensionChangelogVersions": { + "{\"source\":\"git:github.com/GeneGulanesJr/LaPis\",\"scope\":\"user\"}": "1.4.0" + }, + "codemode": { + "mode": "on", + "inlineBudget": 2000 + }, + "defaultTools": [ + "+codemode" + ], + "enabledModels": [ + "cohere/command-a-plus-05-2026", + "cohere/north-mini-code-1.0", + "ollama/gemma4-12b-qat-vision:latest", + "ollama/gemma4-26b-a4b-qat:latest", + "ollama/gemma4-12b-qat-uncensored-64k:latest" + ] +} diff --git a/home/agents.nix b/home/agents.nix index 6d56ac4..198f7a4 100644 --- a/home/agents.nix +++ b/home/agents.nix @@ -13,6 +13,24 @@ in } // lib.optionalAttrs (!config.dotfiles.work) { ".claude/settings.json".source = link "config/claude/settings.json"; ".claude/CLAUDE.md".source = link "config/claude/CLAUDE.md"; + + # Personal models, auto-model fallback and the free-pi agent directory. + # No secrets: API keys are `!secretctl ...` command lookups. + ".pi/agent/models.json".source = link "config/pi/models.json"; + ".pi/agent/auto-model.json".source = link "config/pi/auto-model.json"; + ".free-pi/agent/models.json".source = link "config/free-pi/models.json"; + ".free-pi/agent/mcp.json".source = link "config/free-pi/mcp.json"; + ".free-pi/agent/AGENTS.md".source = link "config/free-pi/AGENTS.md"; + + # Cursor and Antigravity. Their wiki MCP server is the `mcp-wiki-remote` + # wrapper in bin/, which pulls the token from secretctl at launch. + ".cursor/mcp.json".source = link "config/cursor/mcp.json"; + ".cursor/rules/homelab-agents.mdc".source = link "config/cursor/rules/homelab-agents.mdc"; + ".gemini/config/mcp_config.json".source = link "config/antigravity/mcp_config.json"; + ".gemini/config/config.json".source = link "config/antigravity/config.json"; + ".gemini/config/hooks.json".source = link "config/antigravity/hooks.json"; + ".gemini/config/skills.json".source = link "config/antigravity/skills.json"; + ".gemini/config/rules/antigravity-adapters.md".source = link "config/antigravity/rules/antigravity-adapters.md"; }; # MCP servers carry tokens, so they are rendered from config/*/mcp*.json templates # plus ~/.config/dotfiles/secrets.env by `dot secrets render` (never committed).