-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
This guide covers how to install agent-toolkit for each supported AI coding assistant. You can use the automated install script for a guided experience, or follow the manual steps for full control.
- git 2.30 or later β to clone the repository
-
bash 5.0 or later (macOS ships with bash 3; install a newer version via Homebrew:
brew install bash)
| Tool | How to install |
|---|---|
| Claude Code | Follow Anthropic's install guide |
| Cursor | Download from cursor.sh |
| OpenCode | Follow OpenCode's install guide |
| GitHub Copilot | Requires VS Code or JetBrains + extension |
| Windsurf | Download from Codeium |
| Pi Coding Agent | Follow Pi's install guide |
-
gh (GitHub CLI) β required by forge skills (
gh-fix-ci,github-cli-workflow, etc.) - jq 1.6 or later β used by several loop templates for JSON processing
-
node / npm β for MCP server installation and
npx skills - Python 3.10 or later β for CLI installation and validation scripts
Verify your setup before installing:
git --version # Should be 2.30+
bash --version # Should be 5.0+ (macOS: /usr/local/bin/bash after brew install)
python3 --version # Should be 3.10+
gh --version # Optional but recommendedThe fastest way to get started if you use Claude Code. Three plugins let you install exactly the capabilities you need.
/plugin marketplace add ulises-jeremias/agent-toolkit
/plugin install agent-toolkit-core@agent-toolkit
/plugin install agent-toolkit-agents@agent-toolkit
/plugin install agent-toolkit-forge@agent-toolkit
What each plugin includes:
| Plugin | Includes |
|---|---|
agent-toolkit-core |
Core skills (assistant, dev-companion, output-handshake, pr-fallback, workspace-knowledge-sync, onboarding) + code-reviewer agent |
agent-toolkit-agents |
All 16 agent personas (architect, planner, all reviewers, TDD guide, and more) |
agent-toolkit-forge |
GitHub and GitLab automation skills (github-cli-workflow, gh-fix-ci, gh-address-comments, gh-contribution-planner) |
You do not need to install all three. Install agent-toolkit-core for everyday coding workflows.
Add agent-toolkit-agents if you want specialist subagents. Add agent-toolkit-forge for GitHub
PR automation.
Verify installation:
After installing, open a new Claude Code session and ask:
"What skills do you have available?"
You should see agent-toolkit skills listed in the response.
This is the standard install path for any Agent Skills-compatible tool. Works with Claude Code, Cursor, OpenCode, Windsurf, and Pi.
# Global install β all compatible tools pick up skills automatically
npx skills add ulises-jeremias/agent-toolkit -g
# Project-scoped install (skills only apply to the current directory)
npx skills add ulises-jeremias/agent-toolkitSkills are installed using SKILL.md frontmatter only β no skill.json required. This is fully
compliant with the Agent Skills spec.
Verify installation:
npx skills listYou should see agent-toolkit skills listed.
Clone the repository and copy profiles to the correct location for each tool.
git clone https://github.com/ulises-jeremias/agent-toolkit ~/.agent-toolkitClaude Code
mkdir -p ~/.claude/agents
cp ~/.agent-toolkit/profiles/claude-code/CLAUDE.md ~/.claude/CLAUDE.md
cp ~/.agent-toolkit/profiles/claude-code/settings.json ~/.claude/settings.json
cp -r ~/.agent-toolkit/profiles/claude-code/agents/. ~/.claude/agents/Restart Claude Code. Agents are now available via @agent-name (e.g. @code-reviewer).
Project-level install (overrides global for one project):
cd /path/to/your/project
mkdir -p .claude/agents
cp ~/.agent-toolkit/profiles/claude-code/CLAUDE.md .claude/CLAUDE.md
cp ~/.agent-toolkit/profiles/claude-code/settings.json .claude/settings.jsonCursor
# Global rules (apply to all Cursor projects)
mkdir -p ~/.cursor/rules
cp -r ~/.agent-toolkit/profiles/cursor/rules/. ~/.cursor/rules/
# Or per-project rules
cd /path/to/your/project
mkdir -p .cursor/rules
cp -r ~/.agent-toolkit/profiles/cursor/rules/. .cursor/rules/OpenCode
mkdir -p ~/.config/opencode/agents
cp ~/.agent-toolkit/profiles/opencode/opencode.json ~/.config/opencode/opencode.json
cp -r ~/.agent-toolkit/profiles/opencode/agents/. ~/.config/opencode/agents/GitHub Copilot
Copilot instructions are per-project and committed to the repository:
cd /path/to/your/project
mkdir -p .github
cp ~/.agent-toolkit/profiles/copilot/copilot-instructions.md .github/copilot-instructions.md
# Edit to select which skill domains apply to your project
$EDITOR .github/copilot-instructions.md
# Commit so the whole team benefits
git add .github/copilot-instructions.md
git commit -m "chore: add Copilot instructions from agent-toolkit"Windsurf
# Detect your Windsurf config directory (varies by version)
WINDSURF_DIR="${HOME}/.codeium/windsurf"
[ -d "$WINDSURF_DIR" ] || WINDSURF_DIR="${HOME}/.windsurf"
mkdir -p "${WINDSURF_DIR}/rules" "${WINDSURF_DIR}/memories"
cp -r ~/.agent-toolkit/profiles/windsurf/rules/. "${WINDSURF_DIR}/rules/"
cp ~/.agent-toolkit/profiles/windsurf/memories/global_rules.md "${WINDSURF_DIR}/memories/global_rules.md"Pi Coding Agent
mkdir -p ~/.pi/agent/skills
cp -r ~/.agent-toolkit/profiles/pi/skills/. ~/.pi/agent/skills/The install script detects your active tools and deploys the right profiles automatically.
git clone https://github.com/ulises-jeremias/agent-toolkit.git
bash agent-toolkit/scripts/install.shThe script will:
- Detect which AI tools are installed on your machine
- Show you what it will install and ask for confirmation
- Copy profiles to the correct locations for each detected tool
- Ask before overwriting any existing files
- Print a summary of what was installed
# Install for specific tools only
bash ~/.agent-toolkit/scripts/install.sh --tools claude-code,cursor
# Dry run β show what would be installed without making changes
bash ~/.agent-toolkit/scripts/install.sh --dry-run
# Force overwrite existing files without prompting
bash ~/.agent-toolkit/scripts/install.sh --force
# Create symlinks (AGENTS.md β CLAUDE.md β GEMINI.md) for portability
bash ~/.agent-toolkit/scripts/install.sh --symlinksThe doctor script checks AI tool availability and profile installation status:
bash ~/.agent-toolkit/scripts/doctor.shExpected output (example):
ββ AI Tools ββ
β Claude Code: 1.x.x
β Cursor: 0.x.x
- OpenCode: not found (https://opencode.ai)
- Windsurf: not found (https://codeium.com/windsurf)
ββ Profile Status ββ
β Claude Code profile installed: /home/user/.claude/CLAUDE.md
β Cursor rules: /home/user/.cursor/rules/
- OpenCode agents: /home/user/.config/opencode/agents/ (not installed)
- Windsurf rules: /home/user/.codeium/windsurf/rules/ (not installed)
- Pi skills: /home/user/.pi/agent/skills/ (not installed)
bash ~/.agent-toolkit/scripts/validate-skills.shAll checks should pass (exit code 0). If any fail, the script prints the exact file and field that failed.
Open your AI tool and ask:
"What skills do you have available?"
"What is your repository inspection order?"
"Walk me through the development workflow."
The responses should reflect the agent-toolkit skill set.
cd ~/.agent-toolkit
git pull
# Re-run install to update profiles (will prompt before overwriting)
bash scripts/install.sh
# Or force-overwrite all profile files
bash scripts/install.sh --forceThe --force flag overwrites existing profile files with the latest versions. If you have
customized any toolkit-managed profile files, back them up before running with --force.
Project-level customizations (.claude/CLAUDE.md, .cursor/rules/myproject.mdc, etc.) are
never touched by the install script.
After updating, restart your AI tool(s) to pick up the new profiles.
To remove agent-toolkit profiles from a machine:
# Claude Code (global)
rm -f ~/.claude/CLAUDE.md ~/.claude/settings.json
rm -rf ~/.claude/agents/
# Cursor (global rules β remove only agent-toolkit files)
ls ~/.cursor/rules/
# Then: rm -f ~/.cursor/rules/<agent-toolkit-files>.mdc
# Or remove all: rm -rf ~/.cursor/rules/
# OpenCode
rm -f ~/.config/opencode/opencode.json
rm -rf ~/.config/opencode/agents/
# Windsurf
rm -f ~/.codeium/windsurf/memories/global_rules.md
# Remove agent-toolkit rule files from ~/.codeium/windsurf/rules/
# Pi
rm -f ~/.pi/agent/skills/*.mdProject-level files (.claude/CLAUDE.md, .cursor/rules/, .github/copilot-instructions.md)
are tracked in their respective repositories. Remove them with git rm when appropriate.
To remove the toolkit source itself:
rm -rf ~/.agent-toolkitCheck that ~/.claude/CLAUDE.md exists and is readable:
head -5 ~/.claude/CLAUDE.mdIf you have both ~/.claude/CLAUDE.md (global) and .claude/CLAUDE.md (project-level), the
project-level file takes precedence β make sure it includes the content you need. Restart Claude
Code after making changes.
- Confirm
.mdcfiles are in the correct directory (~/.cursor/rules/for global,.cursor/rules/for project) - Verify each file has valid YAML frontmatter (opening
---,description:field, closing---) - Restart Cursor and reopen the project
Windsurf changed its config directory between versions. If ~/.codeium/windsurf/ does not work,
try ~/.windsurf/. Check the Windsurf release notes for your installed version.
Confirm the agents directory exists and contains .md files:
ls ~/.config/opencode/agents/Restart OpenCode after adding new agent files.
- Verify the MCP server binary is on
$PATH:which mcp-github-server
- Verify the environment variable is set in the shell where your AI tool runs:
echo $GITHUB_TOKEN
- Check your AI tool's MCP logs for connection errors
- For HTTP-based servers (Linear, Figma), verify network access to the endpoint
See MCP Setup for provider-specific troubleshooting.
The script prints the exact file and field that failed. Common causes:
| Error | Fix |
|---|---|
Missing SKILL.md
|
Add SKILL.md to the skill directory |
Missing skill.json
|
Add skill.json to the skill directory |
Missing frontmatter name
|
Add name: to the --- block in SKILL.md
|
Missing frontmatter description
|
Add description: to the --- block |
Missing version in skill.json |
Add "version": "1.0.0" to skill.json
|
| Secret pattern detected | Remove the credential and use ${ENV_VAR} placeholder instead |
After installation, use the compiler to generate native plugin bundles:
# Compile for Claude Code (dry-run)
agent-toolkit build --target claude-code --check
# Compile and install for Cursor
agent-toolkit build --target cursor --product agent-toolkit-core
# Show all platform capabilities
agent-toolkit matrixSee Compiler Guide for full documentation.
Getting Started
Reference
- π οΈ Skills
- π€ Agents
- π Loop Engineering
- π MCP Setup
- π₯οΈ Profiles
- π Plugin Marketplace
Compiler