Guide
Works With Your Tools
One workflow across Copilot, Claude, Cursor, Codex, Gemini, Windsurf, and OpenCode.
Universal Agent Definitions
Gem Team agent definitions are tool-agnostic YAML contracts compiled by APM for each target.
flowchart LR
subgraph Source [Source: .apm/agents/]
A1[gem-orchestrator.agent.md]
A2[gem-implementer.agent.md]
A3[gem-reviewer.agent.md]
A4[...]
end
subgraph APM [APM Compilation]
B[apm install mubaidr/gem-team --target copilot,claude,cursor...]
end
subgraph Targets [Tool-Specific Outputs]
C1[.github/agents/]
C2[.claude/agents/]
C3[.cursor/agents/]
C4[.opencode/agents/]
C5[.codex/agents/]
C6[GEMINI.md]
C7[.windsurf/rules/]
end
A1 --> B --> C1
A1 --> B --> C2
A1 --> B --> C3
A1 --> B --> C4
A1 --> B --> C5
A1 --> B --> C6
A1 --> B --> C7
Supported Targets
| Target | Tool | Output Location | Notes |
|---|---|---|---|
copilot | VS Code Copilot / GitHub Copilot CLI | .github/agents/, .github/instructions/, .github/prompts/, VS Code MCP | Full support |
claude | Claude Code | .claude/agents/, .claude/rules/, commands, skills, hooks, MCP | Full support |
cursor | Cursor | .cursor/agents/, .cursor/rules/, skills, commands, hooks, MCP | Full support |
opencode | OpenCode | .opencode/agents/, commands, skills, MCP, compiled instructions | Full support |
codex | Codex CLI | .codex/agents/, AGENTS.md, Codex config | Full support |
gemini | Gemini CLI | GEMINI.md, skills/instructions, config | Full support |
windsurf | Windsurf / Cascade | .windsurf/rules/, skills, commands, hooks, MCP | Full support |
APM compiles or skips unsupported primitives for each target - no manual adaptation needed.
PRO TIPInstall once with APM, use everywhere. The sameplan.yamlworks across all tools.
Installation Per Tool
Universal (APM) - Recommended
curl -sSL https://aka.ms/apm-unix | sh
apm install mubaidr/gem-team --target copilot,claude,cursor,opencode,codex,gemini,windsurf
Tool-Specific Marketplace
GitHub Copilot (VS Code / CLI)
# VS Code: Extensions → Search "Gem Team" → Install
# CLI:
copilot plugin marketplace add mubaidr/gem-team
copilot plugin install gem-team@gem-team
Claude Code
/plugin marketplace add mubaidr/gem-team
/plugin install gem-team@gem-team
/reload-plugins
Cursor
Settings → Extensions → Search "Gem Team" → Install
# Or: Cmd+Shift+P → "Extensions: Install Extension" → "Gem Team"
OpenCode
opencode plugin add mubaidr/gem-team
Codex CLI
codex plugin add mubaidr/gem-team
Gemini CLI
gemini plugin add mubaidr/gem-team
Windsurf / Cascade
Extensions panel → Search "Gem Team" → Install
What's Consistent Across Tools
| Aspect | Consistency |
|---|---|
| Agent behavior | Same YAML definitions → same capabilities |
| Workflow phases | Init → Route → Plan → Execute → Output |
| Handoff format | Same task_definition.handoff structure |
| Memory tiers | Repo/Session/Global with same promotion rules |
| Failure classification | Same taxonomy and routing |
| Plan persistence | Same docs/plan/{plan_id}/ structure |
What Varies By Tool
| Aspect | Variation |
|---|---|
| UI integration | VS Code panel vs CLI vs chat |
| MCP servers | Different MCP capabilities per tool |
| Hooks/commands | Tool-specific automation |
| Skill format | Native skill format per tool |
| Context window | Tool's native context limits |
Multi-Tool Workflows
Use different tools for different phases - all share the same plan:
# Plan with Copilot (strong reasoning)
copilot chat --agent gem-orchestrator "Plan the user search feature"
# Implement with Cursor (fast editing)
# Cursor automatically sees the same plan.yaml
# Review with Claude Code (strong analysis)
claude
> /gem-reviewer Review plan 20261121-user-search-api
# All tools share: docs/plan/20261121-user-search-api/
Plan artifacts are the source of truth - not tool-specific state.
Version Pinning for Teams
# Pin to specific release for reproducible builds
apm install 'mubaidr/gem-team#gem-team-v1.2.3' --target copilot,claude,cursor
# Commit lockfiles
git add apm.yml apm.lock.yaml
All team members get identical agent definitions - no "works on my machine."
Troubleshooting Per Tool
| Tool | Common Issue | Fix |
|---|---|---|
| Copilot | Agents not showing | Reload VS Code window (Ctrl+Shift+P → "Reload Window") |
| Claude Code | Commands not found | /reload-plugins |
| Cursor | Rules not applying | Restart Cursor |
| OpenCode | Skills missing | opencode plugin update mubaidr/gem-team |
| Codex | AGENTS.md not loaded | Restart Codex session |
| Gemini | Config not applied | Check GEMINI.md in project root |
| Windsurf | Rules not active | Restart Windsurf |
Tool-Specific Troubleshooting
| Tool | Issue | Fix |
|---|---|---|
| Copilot | Agents not showing | Reload VS Code window |
| Claude Code | Commands not found | /reload-plugins |
| Cursor | Rules not applying | Restart Cursor |
| OpenCode | Skills missing | opencode plugin update mubaidr/gem-team |
| Codex | AGENTS.md not loaded | Restart Codex session |
| Gemini | Config not applied | Check GEMINI.md in project root |
| Windsurf | Rules not active | Restart Windsurf |
Multi-Tool Workflow Example
# Phase 0-1: Classify and route with Copilot
copilot chat --agent gem-orchestrator "Classify: add user search endpoint"
# Phase 2: Plan with Claude Code (strong reasoning)
claude
> /gem-planner Create wave plan for user search feature
# Phase 3: Implement with Cursor (fast editing)
# Cursor sees the same plan.yaml automatically
# Phase 3-4: Review with Claude Code (strong analysis)
claude
> /gem-reviewer Review plan 20261121-user-search-api
# All tools share: docs/plan/20261121-user-search-api/
Plan artifacts are the source of truth - not tool-specific state.
Key Rules
- One source of truth -
.apm/agents/definitions compiled for all targets - APM manages compatibility - No manual per-tool configuration
- Plan artifacts shared -
docs/plan/works across all tools - Pin versions for teams - Commit
apm.lock.yamlfor reproducibility - Tool choice per phase - Use best tool for each workflow phase
Related Pages
- Installation - Detailed per-tool setup
- Quick Start - First task with your tool
- Resources: Compatible Tools - Full target reference
- Local Development - Building from source