Other editors
Besides Claude Code, OpenCode, and Codex, mantis setup targets four more agents: Cursor, Windsurf, GitHub Copilot, and Antigravity. Each is a single command that copies the CLI’s bundled skills into the directory that editor watches. The mechanics are identical everywhere; only the install path and the invocation prefix differ.
None of these needs an MCP server entry. The skills teach the agent to run mantis use <tool> in a shell, and the CLI supplies the auth and thread headers from ~/.mantis/config.json on every call.
Cursor
mantis setup cursorSkills are written to ~/.cursor/skills/<name>/SKILL.md. Invoke one with /mantis, or just mention Mantis and let Agent pick the skill up from its description.
Windsurf
mantis setup windsurfSkills are written to ~/.codeium/windsurf/skills/<name>/SKILL.md. Invoke with @mantis in Cascade. Restart Windsurf if a newly synced skill does not appear.
GitHub Copilot
mantis setup copilotSkills are written to ~/.copilot/skills/<name>/SKILL.md, which makes them available to Copilot agent mode in VS Code and in the Copilot CLI. Reload the window if a new skill does not appear.
Antigravity
mantis setup antigravityAntigravity gets two copies, always: a global one in ~/.agents/skills/<name>/SKILL.md and a repo-scoped one in ./.agents/skills/<name>/SKILL.md relative to your current directory. There is no flag to skip the repo copy, so run it from the project root you intend to commit, or delete ./.agents/skills/ afterward. Invoke with @mantis.
Antigravity and Codex share a directory
Both write to ~/.agents/skills/. The file contents are identical, so running both is harmless, but the second run overwrites the first and neither editor gets a private copy.
What gets installed
Every provider receives the same five skills, named from the CLI’s own skills/ directory. The folder called mantis keeps its name; every other folder is prefixed.
| Skill | What it covers |
|---|---|
mantis | The hub skill: URIs, the tool tiers, argument passing, bag building, export. Always available to the model. |
mantis-select | Switching the active space or thread without opening the blocking picker. |
mantis-createmap | mantis create map from a local CSV, including how to type each column. |
mantis-codebase | mantis create codebase to index a repo into a searchable map. |
mantis-extensions | Building, validating, packaging, and installing a Mantis extension. |
mantis-createmap and mantis-codebase carry disable-model-invocation, so they are explicit-invoke only. The other three can be selected by the model on its own.
Any other agent
An agent that can run shell commands can use Mantis without any skill file at all. It just will not know the conventions, so tell it two things: run mantis use get_space_context before anything else, and pass lists and objects as JSON through --args-stdin rather than as flags.
After a CLI upgrade
Skills are copied, not symlinked. After npm install -g mantisai-cli@latest, re-run mantis setup <provider> or the editor keeps the previous version’s files.