The official CLI for CodeGuilds — install Claude Code skills, agents, MCP servers, hooks, prompts, and CLAUDE.md templates in one command.
npm install -g codeguildsOr run without installing:
npx codeguilds install <slug>Install a package from the registry.
codeguilds install context7 # MCP server → ~/.claude/settings.json
codeguilds install my-skill # Skill → ~/.claude/commands/
codeguilds install my-agent # Agent → ~/.claude/agents/
codeguilds install my-template # CLAUDE.md template → ./CLAUDE.md (append)
codeguilds install my-template --strategy prepend # prepend instead
codeguilds install my-hook # Hook → ~/.claude/settings.json
codeguilds install my-mcp --project # Project-local installSearch the registry.
codeguilds search github
codeguilds search "code review"Show details about a package.
List locally installed packages.
Remove a package and undo configuration changes.
Authenticate with your CodeGuilds account (optional). Invokes the OS browser opener (open on macOS, xdg-open on Linux, start on Windows) to launch the OAuth flow, then saves credentials to ~/.codeguilds/auth.json. All core operations (install, search, info) work without an account. Login is currently a foundation for upcoming features like rating packages and following authors.
Clear saved credentials.
Browse featured collections from the registry.
Show collection details and package list.
Install all packages in a collection (prompts for confirmation).
codeguilds collection install react-nextjs-dev
codeguilds collection install react-nextjs-dev --yes # skip confirmationEach package in the registry stores an install_config that tells the CLI exactly where to place the package:
| Type | Installed to |
|---|---|
mcp_server |
~/.claude/settings.json → mcpServers |
hook |
~/.claude/settings.json → hooks |
skill / prompt |
~/.claude/commands/ |
agent |
~/.claude/agents/ |
claude_md_template |
./CLAUDE.md (merged) or ~/.claude/CLAUDE.md |
The CLI writes to these locations:
| Path | Purpose |
|---|---|
~/.claude/settings.json |
MCP servers and hooks (added/removed on install/uninstall) |
~/.claude/commands/<filename> |
Skills and prompts |
~/.claude/agents/<filename> |
Agents |
./CLAUDE.md or ~/.claude/CLAUDE.md |
CLAUDE.md templates (merged) |
~/.codeguilds/auth.json |
Login session token (created only on codeguilds login) |
./.codeguilds-lock.json |
Lock file tracking installed packages (written in current directory on install/uninstall) |
All writes are explicit — triggered only by install, uninstall, or login commands. Nothing runs automatically.
The CLI makes requests to:
- codeguilds.dev registry (Supabase) — package lookups, search, and anonymous usage analytics (command type + package slug, no personal data collected)
- raw.githubusercontent.com — infer MCP install config from GitHub repos when not stored in the registry (unauthenticated)
- localhost (127.0.0.1, random port 10000–60000) — temporary HTTP server during
codeguilds loginto receive the OAuth callback; shut down immediately after
No requests are made to the Anthropic API.
- Node.js 18+
- Claude Code installed
Browse, search, and publish packages at codeguilds.dev.