Skip to main content
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

TargetToolOutput LocationNotes
copilotVS Code Copilot / GitHub Copilot CLI.github/agents/, .github/instructions/, .github/prompts/, VS Code MCPFull support
claudeClaude Code.claude/agents/, .claude/rules/, commands, skills, hooks, MCPFull support
cursorCursor.cursor/agents/, .cursor/rules/, skills, commands, hooks, MCPFull support
opencodeOpenCode.opencode/agents/, commands, skills, MCP, compiled instructionsFull support
codexCodex CLI.codex/agents/, AGENTS.md, Codex configFull support
geminiGemini CLIGEMINI.md, skills/instructions, configFull support
windsurfWindsurf / Cascade.windsurf/rules/, skills, commands, hooks, MCPFull support

APM compiles or skips unsupported primitives for each target - no manual adaptation needed.

PRO TIPInstall once with APM, use everywhere. The same plan.yaml works across all tools.

Installation Per Tool

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

AspectConsistency
Agent behaviorSame YAML definitions → same capabilities
Workflow phasesInit → Route → Plan → Execute → Output
Handoff formatSame task_definition.handoff structure
Memory tiersRepo/Session/Global with same promotion rules
Failure classificationSame taxonomy and routing
Plan persistenceSame docs/plan/{plan_id}/ structure

What Varies By Tool

AspectVariation
UI integrationVS Code panel vs CLI vs chat
MCP serversDifferent MCP capabilities per tool
Hooks/commandsTool-specific automation
Skill formatNative skill format per tool
Context windowTool'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

ToolCommon IssueFix
CopilotAgents not showingReload VS Code window (Ctrl+Shift+P → "Reload Window")
Claude CodeCommands not found/reload-plugins
CursorRules not applyingRestart Cursor
OpenCodeSkills missingopencode plugin update mubaidr/gem-team
CodexAGENTS.md not loadedRestart Codex session
GeminiConfig not appliedCheck GEMINI.md in project root
WindsurfRules not activeRestart Windsurf

Tool-Specific Troubleshooting

ToolIssueFix
CopilotAgents not showingReload VS Code window
Claude CodeCommands not found/reload-plugins
CursorRules not applyingRestart Cursor
OpenCodeSkills missingopencode plugin update mubaidr/gem-team
CodexAGENTS.md not loadedRestart Codex session
GeminiConfig not appliedCheck GEMINI.md in project root
WindsurfRules not activeRestart 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

  1. One source of truth - .apm/agents/ definitions compiled for all targets
  2. APM manages compatibility - No manual per-tool configuration
  3. Plan artifacts shared - docs/plan/ works across all tools
  4. Pin versions for teams - Commit apm.lock.yaml for reproducibility
  5. Tool choice per phase - Use best tool for each workflow phase