Managing Agents
Learn how to manage, update, and troubleshoot your installed agents.
List Installed Agents
See which agents are currently installed:
npx blue-gardener listpnpm blue-gardener listyarn blue-gardener listOutput example:
Platform: cursor
Installed agents (5):
blue-react-developer (development)
blue-state-management-expert (development)
blue-frontend-code-reviewer (quality)
blue-accessibility-specialist (quality)
blue-feature-specification-analyst (orchestrator)
Available agents: 47Remove Agents
Remove agents you no longer need:
npx blue-gardener remove blue-react-developerpnpm blue-gardener remove blue-react-developeryarn blue-gardener remove blue-react-developerPlatform-specific behavior:
- Multi-file (Cursor, Claude, etc.): Deletes the agent file
- Single-file (Codex, Copilot): Rebuilds the combined file without that agent
Search Agents
Find agents by name, description, category, or tags:
# Search for React-related agents
npx blue-gardener search react
# Search for testing agents
npx blue-gardener search testing
# Search by category
npx blue-gardener search quality# Search for React-related agents
pnpm blue-gardener search react
# Search for testing agents
pnpm blue-gardener search testing
# Search by category
pnpm blue-gardener search quality# Search for React-related agents
yarn blue-gardener search react
# Search for testing agents
yarn blue-gardener search testing
# Search by category
yarn blue-gardener search qualityOutput example:
Found 3 agents matching "react":
blue-react-developer (development)
React ecosystem specialist for components, hooks, patterns, and React Native
blue-storybook-specialist (development)
Storybook configuration, efficient story writing, and component documentation
blue-blockchain-frontend-integrator (blockchain)
Wallet connections, Web3 React hooks, and transaction UXSync Agents
Update all installed agents to their latest versions:
npx blue-gardener syncpnpm blue-gardener syncyarn blue-gardener syncWhen to sync:
- After updating Blue Gardener package
- When you want the latest agent improvements
- If agent files seem out of date
Auto-sync:
Agents are automatically synced when you update Blue Gardener:
npm update blue-gardener
# Agents will sync automatically on next CLI usagepnpm update blue-gardener
# Agents will sync automatically on next CLI usageyarn upgrade blue-gardener
# Agents will sync automatically on next CLI usageRepair Manifest
If your manifest file gets out of sync or deleted:
npx blue-gardener repairpnpm blue-gardener repairyarn blue-gardener repairWhat repair does:
- Scans project for
blue-*agent files - Rebuilds the manifest file
- Re-tracks all found agents
When to use repair:
- Manifest file deleted accidentally
- Agents installed manually (outside Blue Gardener)
- Migration between projects
- Troubleshooting sync issues
Interactive Menu
Access all management functions from one menu:
npx blue-gardenerpnpm blue-gardeneryarn blue-gardenerMenu options:
- Add agents
- Remove agents
- List installed agents
- Search agents
- Sync agents
- Repair manifest
Troubleshooting
Agents Not Showing Up
Problem: Added agents don't appear in your IDE
Solutions:
- Restart your IDE
- Check the platform-specific location
- Run
npx blue-gardener listto verify installation - Run
npx blue-gardener repairto rebuild manifest
Manifest Out of Sync
Problem: Manifest doesn't match actual files
Solution:
npx blue-gardener repairpnpm blue-gardener repairyarn blue-gardener repairPlatform Detection Issues
Problem: Blue Gardener detects wrong platform
Solution:
- Delete manifest file
- Ensure correct platform directory exists
- Run
npx blue-gardener addand select platform manually
Sync Fails
Problem: Sync command fails or shows errors
Solutions:
- Check internet connection (if fetching updates)
- Verify file permissions
- Run
npx blue-gardener repairafter sync - Reinstall Blue Gardener:
npm install -D blue-gardener
Remove All Agents
To start fresh:
# List all agents
npx blue-gardener list
# Remove each agent
npx blue-gardener remove <agent-name>
# Or delete manifest and agent files manually
# Then repair if needed
npx blue-gardener repair# List all agents
pnpm blue-gardener list
# Remove each agent
pnpm blue-gardener remove <agent-name>
# Or delete manifest and agent files manually
# Then repair if needed
pnpm blue-gardener repair# List all agents
yarn blue-gardener list
# Remove each agent
yarn blue-gardener remove <agent-name>
# Or delete manifest and agent files manually
# Then repair if needed
yarn blue-gardener repairFile Locations
Multi-File Platforms
Agents stored as individual files:
- Cursor:
.cursor/agents/ - Claude Desktop:
.claude/agents/ - OpenCode:
.opencode/agents/ - Windsurf:
.windsurf/rules/
Single-File Platforms
Agents combined in one file:
- Codex:
AGENTS.md(root) - GitHub Copilot:
.github/copilot-instructions.md
Manifest
- Multi-file: Same directory as agents (e.g.,
.cursor/agents/.blue-generated-manifest.json) - Single-file: Root directory (
.blue-generated-manifest.json)
Next Steps
Orchestration →
Learn how agents work together
CLI Reference →
Complete command documentation
Agent Catalog →
Browse all available agents
