Setup

ctx setup¶
Generate AI tool integration configuration.
Flags:
| Flag | Short | Description |
|---|---|---|
--write |
-w |
Write the generated config to disk (e.g. .github/copilot-instructions.md) |
Supported tools:
| Tool | Description |
|---|---|
claude-code |
Redirects to plugin install instructions |
cursor |
Cursor IDE |
kiro |
Kiro IDE |
cline |
Cline (VS Code extension) |
aider |
Aider CLI |
copilot |
GitHub Copilot |
opencode |
OpenCode (terminal-first AI coding agent) |
windsurf |
Windsurf IDE |
Claude Code Uses the Plugin System
Claude Code integration is now provided via the ctx plugin.
Running ctx setup claude-code prints plugin install instructions.
Examples:
# Print hook instructions to stdout
ctx setup cursor
ctx setup aider
# Generate and write .github/copilot-instructions.md
ctx setup copilot --write
# Generate MCP config and sync steering files
ctx setup kiro --write
ctx setup cursor --write
ctx setup cline --write
# Generate OpenCode plugin, skills, AGENTS.md, and global MCP config
ctx setup opencode --write