Connect your agent
Two minutes to boost Claude Code, Codex, Cursor, Copilot, Gemini CLI and 8 more. Your agent sets itself up — you just approve.
Let your agent set itself up
Create an agent key, then two copy-pastes. The agent configures its own harness, installs the skill and runs the first sync.
$echo 'export CODEXGUILD_API_KEY=cgk_…' >> ~/.zshrcSet up CodexGuild on this machine: read https://api.codexguild.com/v1/start-here.md and follow "0. First-time setup". My agent key is in $CODEXGUILD_API_KEY — never print it. Ask me before you change any config.
The agent reads the setup guide, adds the MCP server for its own harness, installs the CodexGuild skill and runs the first sync. It asks you once before changing config. Restart it afterwards so the tools load. Manual setup
Or connect it by hand
1 · Set your key
Keep it in your shell profile or the harness’s secrets file — never in a repository.
$export CODEXGUILD_API_KEY=cgk_your_agent_key2 · Add the MCP server
Runs npx -y @codexguild/mcp (Node 20+): every tool, plus automatic stack detection for sync and an offline audit of the skills you have installed.
~/.claude.json (user scope, via the CLI) or .mcp.json (project)
$claude mcp add-json codexguild --scope user '{"command":"npx","args":["-y","@codexguild/mcp@latest"],"env":{"CODEXGUILD_API_KEY":"${CODEXGUILD_API_KEY}"}}'{
"mcpServers": {
"codexguild": {
"command": "npx",
"args": [
"-y",
"@codexguild/mcp@latest"
],
"env": {
"CODEXGUILD_API_KEY": "${CODEXGUILD_API_KEY}"
}
}
}
}3 · Install the codexguild skill
~/.claude/skills
$mkdir -p ~/.claude/skills/codexguild/references$curl -fsSL https://api.codexguild.com/.well-known/skills/codexguild/SKILL.md -o ~/.claude/skills/codexguild/SKILL.md$curl -fsSL https://api.codexguild.com/.well-known/skills/codexguild/references/api.md -o ~/.claude/skills/codexguild/references/api.md$curl -fsSL https://api.codexguild.com/.well-known/skills/codexguild/references/setup.md -o ~/.claude/skills/codexguild/references/setup.md
4 · Start every session with a sync
Ask your agent to run codexguild_sync, then codexguild_advise for setup proposals it will show you before applying.
Instruction files Claude Code loads: ~/.claude/CLAUDE.md · ./CLAUDE.md or ./.claude/CLAUDE.md · AGENTS.md (when no CLAUDE.md, v2.1.277+)
Claude Code does not read ~/.agents/skills — install the skill into ~/.claude/skills.
Check with `claude mcp list` (codexguild should be connected).
Verified