Supported Platforms
swm ships a standard SKILL.md that works with any agent that can execute shell commands. The file lives at .agents/skills/swm-gpu-workflow/SKILL.md in the swm repo.
Quick install (any platform)
Section titled “Quick install (any platform)”The .agents/skills/ directory is the universal path recognized by Cursor, Codex, Copilot, Windsurf, Amp, and Devin. Clone it into your project:
# From your project rootmkdir -p .agents/skillscp -r /path/to/swm/.agents/skills/swm-gpu-workflow .agents/skills/Or grab it directly from GitHub:
mkdir -p .agents/skills/swm-gpu-workflowcurl -sL https://raw.githubusercontent.com/swm-gpu/swm/main/.agents/skills/swm-gpu-workflow/SKILL.md \ -o .agents/skills/swm-gpu-workflow/SKILL.mdCursor
Section titled “Cursor”Option A — Install from GitHub (easiest):
- Open Cursor Settings (
Cmd+Shift+J) - Navigate to Rules
- Click Add Rule → Remote Rule (GitHub)
- Paste:
https://github.com/swm-gpu/swm
Cursor auto-imports the skill from the repo’s .agents/skills/ directory.
Option B — Copy to your project:
mkdir -p .cursor/skills/swm-gpu-workflowcurl -sL https://raw.githubusercontent.com/swm-gpu/swm/main/.agents/skills/swm-gpu-workflow/SKILL.md \ -o .cursor/skills/swm-gpu-workflow/SKILL.mdOption C — Install globally (all projects):
mkdir -p ~/.cursor/skills/swm-gpu-workflowcurl -sL https://raw.githubusercontent.com/swm-gpu/swm/main/.agents/skills/swm-gpu-workflow/SKILL.md \ -o ~/.cursor/skills/swm-gpu-workflow/SKILL.mdThe agent auto-discovers the skill. Ask “Spin up an H100 with vLLM” and it activates.
Claude Code
Section titled “Claude Code”Claude Code discovers skills from .claude/skills/:
mkdir -p .claude/skills/swm-gpu-workflowcurl -sL https://raw.githubusercontent.com/swm-gpu/swm/main/.agents/skills/swm-gpu-workflow/SKILL.md \ -o .claude/skills/swm-gpu-workflow/SKILL.mdOr install globally:
mkdir -p ~/.claude/skills/swm-gpu-workflowcurl -sL https://raw.githubusercontent.com/swm-gpu/swm/main/.agents/skills/swm-gpu-workflow/SKILL.md \ -o ~/.claude/skills/swm-gpu-workflow/SKILL.mdClaude Code also reads skills from .agents/skills/ if present.
OpenAI Codex
Section titled “OpenAI Codex”Codex discovers skills from .codex/skills/:
mkdir -p .codex/skills/swm-gpu-workflowcurl -sL https://raw.githubusercontent.com/swm-gpu/swm/main/.agents/skills/swm-gpu-workflow/SKILL.md \ -o .codex/skills/swm-gpu-workflow/SKILL.mdOr install globally:
mkdir -p ~/.codex/skills/swm-gpu-workflowcurl -sL https://raw.githubusercontent.com/swm-gpu/swm/main/.agents/skills/swm-gpu-workflow/SKILL.md \ -o ~/.codex/skills/swm-gpu-workflow/SKILL.mdGitHub Copilot
Section titled “GitHub Copilot”Copilot reads skills from .agents/skills/:
mkdir -p .agents/skills/swm-gpu-workflowcurl -sL https://raw.githubusercontent.com/swm-gpu/swm/main/.agents/skills/swm-gpu-workflow/SKILL.md \ -o .agents/skills/swm-gpu-workflow/SKILL.mdWindsurf / Amp / Devin
Section titled “Windsurf / Amp / Devin”All three read .agents/skills/ natively:
mkdir -p .agents/skills/swm-gpu-workflowcurl -sL https://raw.githubusercontent.com/swm-gpu/swm/main/.agents/skills/swm-gpu-workflow/SKILL.md \ -o .agents/skills/swm-gpu-workflow/SKILL.mdAny other agent
Section titled “Any other agent”The only requirements are that the agent can:
- Read the SKILL.md instructions
- Execute shell commands (
swm ...) - Parse command output (plain text tables)
- Ask the user clarifying questions
If your agent supports these capabilities, copy the SKILL.md into whatever instructions file your agent reads and it will work.
Skill discovery paths (reference)
Section titled “Skill discovery paths (reference)”| Platform | Project-level | User-level (global) |
|---|---|---|
| Cursor | .cursor/skills/, .agents/skills/ | ~/.cursor/skills/, ~/.agents/skills/ |
| Claude Code | .claude/skills/ | ~/.claude/skills/ |
| Codex | .codex/skills/ | ~/.codex/skills/ |
| Copilot | .agents/skills/ | — |
| Windsurf | .agents/skills/ | — |
| Amp | .agents/skills/ | — |
| Devin | .agents/skills/ | — |