command-code 1.92.0 → 1.93.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/package.json +1 -1
  3. package/vsix/commandcode-vscode.vsix +0 -0
  4. package/dist/bundled/agent-browser/SKILL.md +0 -73
  5. package/dist/bundled/command-code-knowledge/SKILL.md +0 -68
  6. package/dist/bundled/command-code-knowledge/live-models.ts +0 -284
  7. package/dist/bundled/command-code-knowledge/reference/byok.md +0 -389
  8. package/dist/bundled/command-code-knowledge/reference/custom-agents.md +0 -341
  9. package/dist/bundled/command-code-knowledge/reference/custom-slash-commands.md +0 -423
  10. package/dist/bundled/command-code-knowledge/reference/headless.md +0 -381
  11. package/dist/bundled/command-code-knowledge/reference/hooks.md +0 -1107
  12. package/dist/bundled/command-code-knowledge/reference/mcp.md +0 -636
  13. package/dist/bundled/command-code-knowledge/reference/memory.md +0 -137
  14. package/dist/bundled/command-code-knowledge/reference/models.md +0 -145
  15. package/dist/bundled/command-code-knowledge/reference/permissions.md +0 -486
  16. package/dist/bundled/command-code-knowledge/reference/plan-mode.md +0 -283
  17. package/dist/bundled/command-code-knowledge/reference/plans.md +0 -16
  18. package/dist/bundled/command-code-knowledge/reference/product-help.md +0 -490
  19. package/dist/bundled/command-code-knowledge/reference/sessions.md +0 -377
  20. package/dist/bundled/command-code-knowledge/reference/skills.md +0 -1009
  21. package/dist/bundled/command-code-knowledge/reference/tools.md +0 -522
  22. package/dist/bundled/config/SKILL.md +0 -18
  23. package/dist/bundled/config/references/permissions.md +0 -27
  24. package/dist/bundled/config/references/settings.md +0 -49
  25. package/dist/bundled/design/SKILL.md +0 -441
  26. package/dist/bundled/design/references/accessibility.md +0 -404
  27. package/dist/bundled/design/references/border.md +0 -161
  28. package/dist/bundled/design/references/button.md +0 -192
  29. package/dist/bundled/design/references/checkup.md +0 -162
  30. package/dist/bundled/design/references/color.md +0 -245
  31. package/dist/bundled/design/references/create.md +0 -291
  32. package/dist/bundled/design/references/design-html.md +0 -227
  33. package/dist/bundled/design/references/deslop.md +0 -283
  34. package/dist/bundled/design/references/finish.md +0 -156
  35. package/dist/bundled/design/references/interaction.md +0 -186
  36. package/dist/bundled/design/references/layout.md +0 -216
  37. package/dist/bundled/design/references/media.md +0 -112
  38. package/dist/bundled/design/references/motion.md +0 -237
  39. package/dist/bundled/design/references/redesign.md +0 -197
  40. package/dist/bundled/design/references/refine.md +0 -193
  41. package/dist/bundled/design/references/relayout.md +0 -207
  42. package/dist/bundled/design/references/report-html.md +0 -235
  43. package/dist/bundled/design/references/responsive.md +0 -233
  44. package/dist/bundled/design/references/review.md +0 -164
  45. package/dist/bundled/design/references/setup.md +0 -119
  46. package/dist/bundled/design/references/severity.md +0 -111
  47. package/dist/bundled/design/references/shadow.md +0 -164
  48. package/dist/bundled/design/references/smell.md +0 -211
  49. package/dist/bundled/design/references/style-3d.md +0 -23
  50. package/dist/bundled/design/references/style-bento.md +0 -21
  51. package/dist/bundled/design/references/style-editorial.md +0 -23
  52. package/dist/bundled/design/references/style-futuristic.md +0 -21
  53. package/dist/bundled/design/references/style-glassmorphism.md +0 -52
  54. package/dist/bundled/design/references/style-maximalism.md +0 -20
  55. package/dist/bundled/design/references/style-minimalism.md +0 -21
  56. package/dist/bundled/design/references/style-neo-brutalism.md +0 -21
  57. package/dist/bundled/design/references/style-retro-futurism.md +0 -21
  58. package/dist/bundled/design/references/style-swiss.md +0 -20
  59. package/dist/bundled/design/references/style.md +0 -77
  60. package/dist/bundled/design/references/surface.md +0 -163
  61. package/dist/bundled/design/references/system.md +0 -73
  62. package/dist/bundled/design/references/typeset.md +0 -210
  63. package/dist/bundled/design/references/variants.md +0 -193
  64. package/dist/bundled/design/references/voice.md +0 -184
  65. package/dist/bundled/design/references/writing.md +0 -174
  66. package/dist/bundled/loop/SKILL.md +0 -16
  67. package/dist/bundled/mod-builder/SKILL.md +0 -135
  68. package/dist/bundled/mod-builder/examples/block-dangerous-commands.ts +0 -41
  69. package/dist/bundled/mod-builder/examples/custom-entry-renderer.ts +0 -32
  70. package/dist/bundled/mod-builder/examples/custom-tool.ts +0 -53
  71. package/dist/bundled/mod-builder/examples/flags-and-options.ts +0 -29
  72. package/dist/bundled/mod-builder/examples/input-shortcuts.ts +0 -41
  73. package/dist/bundled/mod-builder/examples/kitchen-sink.ts +0 -129
  74. package/dist/bundled/mod-builder/examples/lifecycle-hooks.ts +0 -64
  75. package/dist/bundled/mod-builder/examples/model-router.ts +0 -43
  76. package/dist/bundled/mod-builder/examples/observe-events.ts +0 -30
  77. package/dist/bundled/mod-builder/examples/pane-and-buttons.ts +0 -60
  78. package/dist/bundled/mod-builder/examples/pane-form.ts +0 -68
  79. package/dist/bundled/mod-builder/examples/permission-policy.ts +0 -34
  80. package/dist/bundled/mod-builder/examples/redact-secrets.ts +0 -46
  81. package/dist/bundled/mod-builder/examples/slash-command.ts +0 -33
  82. package/dist/bundled/mod-builder/examples/spinner-count.ts +0 -47
  83. package/dist/bundled/mod-builder/examples/stream-filter.ts +0 -70
  84. package/dist/bundled/mod-builder/reference/api.md +0 -140
  85. package/dist/bundled/mod-builder/reference/hooks-and-events.md +0 -347
  86. package/dist/bundled/mod-builder/reference/overview.md +0 -271
  87. package/dist/bundled/mod-builder/reference/packaging.md +0 -187
  88. package/dist/bundled/mod-builder/reference/ui.md +0 -253
  89. package/dist/bundled/mod-builder/reference/verify.md +0 -67
  90. package/dist/bundled/skill-builder/SKILL.md +0 -104
  91. package/dist/cli.mjs +0 -16
  92. package/dist/index.mjs +0 -2
@@ -1,490 +0,0 @@
1
- <!-- Generated from the Command Code docs: https://commandcode.ai/docs -->
2
-
3
- # Command Code — Product Knowledge
4
-
5
- ## KEYBOARD SHORTCUTS
6
- - Shift+Tab: Toggle mode (default → accept edits → plan → yolo)
7
- - Ctrl+O: Toggle expanded tool output
8
- - Alt+P: Quick model switch (Option+P on macOS)
9
- - Ctrl+G: Open input in external editor ($EDITOR)
10
- - Press Esc twice: Rewind to previous checkpoint
11
- - /: Open command menu
12
-
13
- ## SLASH COMMANDS (type these in the chat input)
14
- - /init: Initialize AGENTS.md for this project
15
- - /import [claude|codex|cursor|pi|opencode|gemini]: Import your setup (skills, agents, commands, MCP, memory) from another coding agent
16
- - /goal [<objective>|clear|status]: Set an objective for the agent to work towards
17
- - /memory: Manage Command Code memory
18
- - /resume: Resume a past conversation
19
- - /sessions: Resume a past conversation (alias of /resume)
20
- - /fork [name]: Fork the conversation into a new session
21
- - /worktree [name|list|remove <name>]: Create, list, or switch isolated git worktrees
22
- - /clone: Clone the current branch into a new session and switch to it
23
- - /rename [name]: Rename the current session
24
- - /name [name]: Alias of /rename; bare /name shows the current name
25
- - /rewind: Restore to a previous checkpoint (Press Esc twice)
26
- - /tree: Browse the session tree and jump to any point in it
27
- - /clear (new): Start a new session with empty context; previous stays on disk, resumable with /resume (/new is the same command)
28
- - /theme: Switch the color theme (dark, light or auto)
29
- - /language: Switch the interface language (English / 简体中文)
30
- - /share [gist]: Share as a GitHub gist — /share gist [html|jsonl|md] (link sharing is being rebuilt, use /export)
31
- - /unshare: Stop sharing conversation
32
- - /taste: Manage Taste learning and usage
33
- - /learn-taste: Learn taste from sessions with other coding agents (Claude Code, Cursor, etc)
34
- - /skills: Browse and open agent skills
35
- - /agents: Manage agent configurations
36
- - /design: Design partner: audit, build, compose, and ship UI — type /design to browse modes
37
- - /mcp: Manage MCP server connections
38
- - /model: Switch between Command Code models
39
- - /effort: Set reasoning effort for the current model
40
- - /connect: Connect to AI providers. Command Code, BYOK providers and API keys
41
- - /compact: Compact the conversation history
42
- - /compact-mode: Select a compact mode to compact sessions
43
- - /config: Search and change settings, including which model runs each built-in task
44
- - /context: Show context window usage and breakdown
45
- - /ide: Connect IDE to share your open file and selected lines
46
- - /terminal-setup: Setup VSCode keybindings
47
- - /login: Log in to Command Code
48
- - /logout: Log out of Command Code
49
- - /learn (courses): Open the Command Code learn hub in your browser
50
- - /feedback [title]: Report a bug or share feedback — opens a prefilled GitHub issue (alias: /issue)
51
- - /trace: Copy the current trace id; required for support debugging
52
- - /session-file: Show the current session id and path to the on-disk session file
53
- - /copy: Copy the last response to the clipboard
54
- - /export [path]: Export session — /export [html|jsonl|md] or a file path
55
- - /changelog: See what's new in Command Code
56
- - /hotkeys: Show all keyboard shortcuts
57
- - /todos: Manage the session todo list — c completes an item, x removes it, a completes all (needs the `todos` mod: `cmd mods enable todos`)
58
- - /loop [interval] [task]: Re-run a task on fixed intervals, or let the agent pace itself
59
- - /rc: Remote-control this session from Telegram or Discord
60
- - /btw <question>: Ask a quick side question mid-turn — sees the conversation, has no tools, and never enters the history
61
- - /plan [task]: Enter plan mode; `/plan <task>` plans that task
62
- - /mode [name]: Show or switch the permission mode — /mode [default|accept-edits|plan]
63
- - /mode:default: Switch to default mode (prompt before edits/commands)
64
- - /mode:accept-edits: Switch to accept edits mode (accept edits automatically)
65
- - /mode:plan: Switch to plan mode (read-only, no side effects)
66
- - /plans [name]: Browse, review, and annotate saved plans
67
- - /plan-review: Review this session's latest plan
68
- - /review [pr]: Review a pull request (optional PR number)
69
- - /pr-comments: Fetch all PR comments for current branch
70
- - /add-dir: Manage additional directory scope
71
- - /status: Show comprehensive environment status
72
- - /statusline [off|on|reset]: Configure Command Code's statusline UI: pick and order the row under the input (model, reasoning, context used and remaining, phase model, directory, git branch, session name, version) and turn the mode badge, IDE context, PR, taste, background tasks and shortcut hints on or off; mod status follows. Terminal only
73
- - /usage: Display credits, plan, and usage metrics
74
- - /upgrade: Open billing page to upgrade your plan
75
- - /extra: Buy extra usage at API cost, zero markup
76
- - /update: Update Command Code to the latest version
77
- - /reload: Restart Command Code and resume this session (applies a staged update)
78
- - /mods: List loaded mods and panes; /mods reload [name] hot-reloads, /mods open|close <pane>
79
- - /help: Display help information
80
- - /exit: Exit Command Code
81
- - /quit: Exit Command Code (alias of /exit)
82
-
83
- ## CLI SUBCOMMANDS
84
- - cmd info: Display system information
85
- - cmd status: Show authentication status
86
- - cmd help: Display help information
87
- - cmd whoami: Show current user
88
- - cmd update: Update Command Code to the latest version
89
- - cmd feedback [title]: Report a bug or share feedback — opens a GitHub issue (alias: cmd issue)
90
- - cmd taste: Manage taste learning packages
91
- - cmd taste learn <source>: Learn taste from a local repository or GitHub repo
92
- - cmd learn-taste: Learn command structure from repositories
93
- - cmd mcp: Manage MCP (Model Context Protocol) servers
94
- - cmd cloud: Manage cloud sessions (list, status <id>, stop <id>)
95
- - cmd skills: Manage skills from GitHub repositories
96
- - cmd acp: Run as an ACP agent over stdio (for Zed, etc.)
97
- - cmd mods: Manage mods (loadable extensions) from npm, git, or local paths
98
- - cmd login: Login with Command Code account
99
- - cmd logout: Log out of Command Code
100
-
101
- ## CLI EXAMPLES
102
- - cmd: Start interactive session
103
- - cmd "fix the login bug": Start with a task
104
- - cmd -c: Continue last conversation
105
- - cmd -r: Resume a past session
106
- - cmd --resume "auth refactor": Resume a named session
107
- - cmd -p "your query": Run non-interactive query
108
- - cmd taste learn .: Learn taste from the current repository
109
- - cmd taste learn owner/repo: Learn taste from a GitHub repository
110
- - cmd --add-dir ../shared: Start with additional directory scope
111
- - cmd info: Show system information
112
- - cmd feedback "title": Open feedback form with title
113
-
114
- ## CLI OPTIONS (flags when launching cmd)
115
- - cmd: Start interactive session
116
- - cmd "message": Start with initial message
117
- - -r, --resume [name]: Resume a conversation by id or name (use quotes for multi-word names), or pick from history
118
- - -c, --continue: Continue the last conversation
119
- - --fork-session: With --resume/--continue, fork the session into a new one (original left untouched)
120
- - --session <path|id>: Resume a session by transcript path (.jsonl) or a unique session-id prefix
121
- - --no-session: Don't persist this session to disk (in-memory only)
122
- - -n, --name <name>: Set the session display name
123
- - -t, --trust: Auto-trust project (skip initial permission prompt)
124
- - -p, --print [query]: Run in non-interactive mode, output response and exit
125
- - --max-turns <number>: Cap conversation turns in -p mode (default 100; exit 8 on cap-hit)
126
- - --output-format <format>: -p output: text (default) or json (NDJSON event stream + final result line)
127
- - --tools-all: -p: enable every tool, including the ones a headless run withholds
128
- - --tools-enable <names>: -p: enable specific withheld tools by name, comma-separated (repeatable)
129
- - -m, --model <model>: Run on a specific model this session
130
- - --effort <level>: Set reasoning effort for the session (e.g. low, medium, high) — depends on the model
131
- - --theme <theme>: Set the color theme (dark, light or auto)
132
- - --config <key=value>: Set any setting headlessly, e.g. --config theme=dark (repeatable) — the CLI form of /config
133
- - --list-models: List the models available for use
134
- - --local-only: For BYOK: local-only with your BYOK providers, no Command Code traffic (same as CMD_LOCAL_ONLY=1)
135
- - --plan: Start in plan mode
136
- - --permission-mode <mode>: Set permission mode (default, plan, accept-edits, yolo, dont-ask)
137
- - --accept-edits: Start in accept edits mode
138
- - --yolo: Bypass all permission prompts (alias for --dangerously-skip-permissions)
139
- - --add-dir <directory>: Add directory to workspace context
140
- - -w, --worktree [name]: Run in an isolated managed worktree (name, path, or #PR; generated when omitted)
141
- - --cloud [id|message]: Run in the cloud (beta); pass a session id to reopen one
142
- - --base <branch>: Base branch for a new cloud session
143
- - --mod <path>: Load a mod file or directory for this session (repeatable)
144
- - --mod-option <name=value>: Set a mod-declared flag value (repeatable)
145
- - --safe-mode: Load built-in mods only for this session (no installed mods, no --mod)
146
- - --skill <path>: Load extra skills from a path (a skill directory or a directory of skills); repeatable
147
- - --no-skills: Skip skill discovery; paths given via --skill still load
148
- - --skip-onboarding: Skip taste onboarding (for automated runs)
149
- - --ide-setup: Connect IDE to share your open file and selected lines
150
- - --no-auto-update: Disable automatic background updates for this run
151
- - -v, --version: Output the version number
152
- - -h, --help: Display this help message
153
-
154
- ## TASTE SYSTEM
155
- Taste is powered by the meta neuro-symbolic AI model taste-1 with continuous reinforcement learning (RL). It combines reasoning with neural intuition to learn your coding preferences.
156
-
157
- How taste works:
158
- - Learns from you — every accept, reject, and edit becomes a signal
159
- - Thinks like you — learns patterns and micro-decisions you'd never document
160
- - Grows with you — continuous learning loop that never goes stale
161
-
162
- Enable taste: Use /taste in a session or run npx taste from the command line.
163
-
164
- Taste packages (three types):
165
- - Project: Stored in .commandcode/taste/ — learnings unique to this codebase
166
- - Global: Stored in ~/.commandcode/taste/ — personal taste across all projects (use -g flag)
167
- - Remote: Stored at commandcode.ai/username/taste — team sharing, backup, sync across machines
168
-
169
- File structure:
170
- .commandcode/taste/
171
- ├── taste.md (main taste file)
172
- ├── cli/taste.md
173
- ├── typescript/taste.md
174
- └── architecture/taste.md
175
-
176
- Key commands:
177
- - npx taste push --all — push entire project taste to remote
178
- - npx taste pull username/project-name — pull taste from remote
179
- - npx taste push cli -g — push package to global
180
- - npx taste pull cli -g — pull package from global
181
- - npx taste list — list available packages
182
- - npx taste lint — validate package format
183
- - npx taste open — open packages in editor
184
-
185
- Privacy: Taste processing runs on your codebase and stores learning data locally only.
186
-
187
- ## KEY FEATURES
188
- - Taste System: Automatically learns coding preferences from interactions and applies them consistently
189
- - Skills: User-defined knowledge modules for specialized tasks (stored in .commandcode/skills/ or .agents/skills/)
190
- - Agents: Custom agent configurations for different workflows (stored in .commandcode/agents/)
191
- - Memory: Project-specific instructions via COMMANDCODE.md files
192
- - MCP: Model Context Protocol server connections for extended tool capabilities
193
- - Plan Mode: Structured exploration and planning before implementation [Shift+Tab to toggle]
194
- - Conversation Management: Resume, continue, share, and rewind conversations
195
- - PR Review: Built-in pull request review capabilities (/review command)
196
- - Taste Learning: Learnings appear inline in the conversation as TASTE blocks while you work
197
- - Model Switching: Switch between models with Alt+P (Option+P on macOS)
198
-
199
- ## EXTENDING COMMAND CODE
200
- Command Code is extended with skills, agents, MCP servers, and project memory — all discovered from files in your project or home directory, no restart required.
201
-
202
- SKILLS (reusable playbooks): a directory containing a SKILL.md file, discovered from:
203
- - .commandcode/skills/<name>/SKILL.md (project)
204
- - ~/.commandcode/skills/<name>/SKILL.md (personal, across all projects)
205
- - .agents/skills/<name>/SKILL.md (compat location, project or personal)
206
-
207
- Minimal SKILL.md:
208
- ---
209
- name: commit-messages
210
- description: Write a conventional commit message from staged changes. Use when the user asks to commit or write a commit message.
211
- ---
212
-
213
- # Commit Messages
214
- 1. Run `git diff --staged` to see what changed.
215
- 2. Write a one-line conventional-commit summary (type(scope): subject).
216
- 3. Add a short body only if the change needs explaining.
217
-
218
- Frontmatter fields: name (required — lowercase letters/numbers/hyphens only, must match the directory name), description (required, ≤1024 chars — this is what the model matches against), allowed-tools (optional — a space-delimited allowlist, e.g. "Bash(git:*) Read"), argument-hint (optional — shown when the skill is invoked with arguments), disable-model-invocation (optional true/false — true stops the model from auto-invoking it; /name still works). Invoke with /<name>, or let the model invoke it automatically when the description matches the task. Manage installed skills with /skills.
219
-
220
- AGENTS (sub-agents for the task tool): a single Markdown file at .commandcode/agents/<name>.md (project) or ~/.commandcode/agents/<name>.md (personal). Full authoring guide — file format, model pinning, and the create-an-agent-on-request recipe — is in the CUSTOM AGENTS section (topic: agents).
221
-
222
- MCP SERVERS (external tools and data): add one with the CLI —
223
- cmd mcp add --transport http notion https://mcp.notion.com/mcp
224
- cmd mcp add github -- npx -y @modelcontextprotocol/server-github
225
- or hand-write .mcp.json in the project root:
226
- {
227
- "mcpServers": {
228
- "github": {
229
- "command": "npx",
230
- "args": ["-y", "@modelcontextprotocol/server-github"]
231
- }
232
- }
233
- }
234
- Scopes, lowest to highest precedence: user (~/.commandcode/mcp.json) < project (<project>/.mcp.json, checked in and shared) < local (~/.commandcode/projects/<slug>/mcp.json, private to this machine, not checked in). Manage connections with /mcp.
235
-
236
- PROJECT MEMORY (AGENTS.md): the project-root AGENTS.md holds conventions the agent should always follow (build/test commands, code style, architecture notes). A nested <dir>/AGENTS.md layers in directory-specific rules for files under that directory (nearest wins). An @path reference inlines another file's content (skipped inside fenced code blocks). Run /init to scaffold one, /memory to edit it.
237
-
238
- ## CUSTOM AGENTS (sub-agents)
239
- Custom agents are specialized sub-agents the main session delegates to via the task tool. Each is ONE Markdown file — no build step, no restart; the registry re-reads disk every turn, so a new agent is usable on the next message.
240
-
241
- Locations (project wins a name clash):
242
- - .commandcode/agents/<name>.md — this project
243
- - ~/.commandcode/agents/<name>.md — personal, all projects
244
-
245
- Complete agent file:
246
- ---
247
- name: "changelog-writer"
248
- description: "Writes and updates CHANGELOG.md entries from recent commits. Use after merging changes or when the user asks for a changelog."
249
- tools: "read_file, grep, glob, shell_command, edit_file"
250
- model: "moonshotai/Kimi-K2.5"
251
- ---
252
-
253
- You write crisp changelog entries. Read the recent commits, group them by type (features, fixes), and write terse one-liners under the right heading in CHANGELOG.md.
254
-
255
- Frontmatter fields:
256
- - name (required) — lowercase-kebab-case; becomes the subagent_type the task tool dispatches on. Reserved (do not use): explore, plan, review, general.
257
- - description (required) — when to delegate to this agent; the orchestrator picks agents by this text.
258
- - tools (optional) — "*" for every tool, or a comma/space-delimited list of tool names; OMITTED MEANS NO TOOLS. Grant the minimum the role needs (read-only for reviewers/analysts; add edit_file/shell_command only for agents that must change things).
259
- - model (optional) — pins the model this agent ALWAYS runs on, independent of the session's /model. Omit it (or write "inherit") to follow the session model. Pinned agents keep their own prompt cache.
260
-
261
- Valid model ids (the /model catalog — use these EXACT ids):
262
- - claude-sonnet-5-5
263
- - claude-sonnet-5
264
- - claude-sonnet-4-6
265
- - claude-fable-5-2
266
- - claude-fable-5-1
267
- - claude-fable-5
268
- - claude-opus-5-5
269
- - claude-opus-5
270
- - claude-opus-4-8
271
- - claude-opus-4-7
272
- - claude-haiku-5-5
273
- - claude-haiku-4-5-20251001
274
- - gpt-6-astra
275
- - gpt-6.2-astra
276
- - gpt-6.2-sol
277
- - gpt-6.1-sol
278
- - gpt-6.1-terra
279
- - gpt-6-sol
280
- - gpt-6-luna
281
- - gpt-5.6-sol
282
- - gpt-5.6-terra
283
- - gpt-5.6-luna
284
- - gpt-5.5
285
- - gpt-5.4
286
- - gpt-5.3-codex
287
- - gpt-5.4-mini
288
- - deepseek/deepseek-v4-pro
289
- - deepseek/deepseek-v4-flash
290
- - deepseek/deepseek-v4-flash-vision-exp
291
- - deepseek/deepseek-v4-flash-fast
292
- - deepseek/deepseek-v4.1-flash
293
- - deepseek/deepseek-v4.1-flash-fast
294
- - deepseek/deepseek-v4.1-flash-ultrafast
295
- - moonshotai/Kimi-K3.1-Pro
296
- - moonshotai/Kimi-K3
297
- - moonshotai/Kimi-K2.7-Code
298
- - moonshotai/Kimi-K2.7-Code-Highspeed
299
- - moonshotai/Kimi-K2.6
300
- - moonshotai/Kimi-K2.5
301
- - z-ai/glm-5.3-flash
302
- - z-ai/glm-5.3-flashx
303
- - zai-org/GLM-5.3
304
- - zai-org/GLM-5.2
305
- - zai-org/GLM-5.2-Fast
306
- - zai-org/GLM-5.1
307
- - zai-org/GLM-5
308
- - minimax/minimax-m3.1-flash
309
- - MiniMaxAI/MiniMax-M3
310
- - MiniMaxAI/MiniMax-M2.7
311
- - MiniMaxAI/MiniMax-M2.5
312
- - ornith/ornith-1.5-122b
313
- - xiaomi/mimo-v2.6-pro
314
- - xiaomi/mimo-v2.6-pro-ultraspeed
315
- - xiaomi/mimo-v2.6-flash
316
- - Qwen/Qwen4-Max
317
- - Qwen/Qwen3.8-Omni-Flash
318
- - Qwen/Qwen3.8-Max-Prime
319
- - Qwen/Qwen3.8-Max-0902
320
- - Qwen/Qwen3.8-Max
321
- - Qwen/Qwen3.8-27B
322
- - Qwen/Qwen3.8-Flash
323
- - Qwen/Qwen3.7-Max
324
- - Qwen/Qwen3.7-Plus
325
- - Qwen/Qwen3.7-Flash
326
- - Qwen/Qwen3.6-Max-Preview
327
- - Qwen/Qwen3.6-Plus
328
- - meituan/LongCat-2.0
329
- - stepfun/Step-5-Preview
330
- - stepfun/Step-3.7-Flash
331
- - stepfun/Step-3.5-Flash
332
- - tencent/hy3-paid
333
- - tencent/hy4
334
- - tencent/hy4-flash
335
- - tencent/hy4-preview
336
- - google/gemini-4-carbon
337
- - google/gemini-4-neon
338
- - google/gemini-4-argon
339
- - google/gemini-3.8-flash
340
- - google/gemini-3.7-flash
341
- - google/gemini-3.6-flash
342
- - google/gemini-3.5-flash
343
- - google/gemini-3.5-flash-lite
344
- - google/gemini-3.1-flash-lite
345
- - sakana/fugu-ultra
346
- - nvidia/nemotron-3-ultra-550b-a55b
347
- - nvidia/nemotron-3.5-super-vl
348
- - thinkingmachines/inkling
349
- - thinkingmachines/inkling-small
350
- - thinkingmachines/inkling-2-small:free
351
- - recursive/flint-v1.0:free
352
- - stealth/glyph-cluster:free
353
- - inclusionai/ling-3.1-flash
354
- - inclusionai/ling-3.1-flash-1019
355
- - meta/muse-spark-1.1
356
- - meta/muse-spark-1.2
357
- - meta/muse-spark-1.2-contributor
358
- - meta/muse-spark-1.3
359
- - meta/muse-spark-1.3-contributor
360
- - meta/muse-spark-open
361
- - meta/muse-wonder-1.0
362
- - meta/muse-ember
363
- - xai/grok-4.5
364
- - xai/grok-4.6
365
- - xai/grok-4.7
366
- - mistral/mistral-large-4
367
- A BYO-provider id (from a configured custom provider) also works and is passed through as-is.
368
-
369
- WHEN THE USER ASKS YOU TO CREATE AN AGENT (e.g. "make a changelog agent with a cheap model"):
370
- 1. Do NOT search the codebase for how — this section is the authoritative spec.
371
- 2. Derive a lowercase-kebab-case name (not a reserved name), a delegation-worthy description, and a short, focused system prompt for the role.
372
- 3. Pick the minimal tool set for the role.
373
- 4. If the user named a model (or a tier like "cheap"/"fast"/"deep reasoning"), map it to an EXACT id from the list above and set model:; otherwise omit model: so the agent inherits the session model. Never invent a model id.
374
- 5. Write the file to .commandcode/agents/<name>.md (project) unless the user asked for a personal agent (~/.commandcode/agents/<name>.md).
375
- 6. Confirm: the agent is live on the next message — the user can also see it under /agents, and the task tool can now dispatch to it by name.
376
-
377
- To modify an existing agent, edit its file in place (same fields). To remove one, delete the file.
378
-
379
- ## MODS (loadable plugins — the ModApi)
380
- Mods are loadable plugins written against the ModApi — a TypeScript file that Command Code discovers on disk and loads onto its agent loop. This is the plugin layer above hooks/skills: a mod can add tools the model calls, slash commands, mutating lifecycle hooks, event observers, typed-input interception, custom feed rendering, flags, and model providers. Command Code's own built-in features (providers, session titling, the update notice) are written as mods against this same API.
381
-
382
- A mod default-exports a factory that receives the API bound as `cmd`:
383
-
384
- import type {ModApi} from '@commandcode/harness';
385
- export default function (cmd: ModApi) {
386
- cmd.addCommand({name: 'hello', handler: () => ({message: 'hi from a mod'})});
387
- }
388
-
389
- Save it at ~/.commandcode/mods/<name>.ts (personal) or <project>/.commandcode/mods/<name>.ts (project, trust-gated). It loads next session, or test now with `cmd --mod ./<name>.ts`. No build step — jiti compiles at load. Manage packages with `cmd mods add|remove|list|update`.
390
-
391
- Registration verbs (each returns a Disposable): cmd.addTool, cmd.addCommand, cmd.addFlag, cmd.addProvider, cmd.addRenderer, cmd.on(event, handler), and cmd.hooks({...}). THE ONE RULE: cmd.hooks mutates (block/rewrite a tool via beforeToolCall/afterToolCall, add to the prompt via appendSystemPrompt, rewrite typed input via transformInput, post-turn work via onRunEnd); cmd.on only observes.
392
-
393
- To help a developer build one: use the bundled "mod-builder" skill (/mod-builder or let the model invoke it) — it has runnable single-file examples for each capability plus the full mods reference under its reference/ directory (generated from the public docs at https://commandcode.ai/docs/mods).
394
-
395
- ## FREQUENTLY ASKED QUESTIONS
396
- Q: What is Command Code?
397
- A: Command Code is the first coding agent that automatically learns your taste of writing great code.
398
-
399
- Q: What is taste-1?
400
- A: taste-1 is our meta neuro-symbolic AI model with continuous reinforcement learning (RL).
401
-
402
- Q: Is Command Code free?
403
- A: Command Code offers both free and premium plans. Check https://commandcode.ai/pricing for details.
404
-
405
- Q: How do I install Command Code?
406
- A: Run npm i -g command-code, then cmd login, then cmd to start.
407
-
408
- Q: What are Agent Skills?
409
- A: Reusable instructions that teach Command Code how to handle specific tasks like code reviews, testing, or commit messages. Use /skills to browse them.
410
-
411
- Q: What are MCP servers?
412
- A: MCP (Model Context Protocol) servers let Command Code connect to external tools and data sources like GitHub, Notion, databases, and more. Use /mcp to manage them.
413
-
414
- Q: What is plan mode?
415
- A: Plan mode lets you review and approve Command Code's approach before it writes any code. Press Shift+Tab to toggle it.
416
-
417
- Q: What is headless mode?
418
- A: Headless mode lets you run Command Code non-interactively in scripts, CI/CD pipelines, and automation workflows. Use cmd -p "query" to run.
419
-
420
- Q: How do I fix "command not found" after installing?
421
- A: Ensure your global npm bin directory is in your PATH. Run npm config get prefix to find it, then add <prefix>/bin to your PATH.
422
-
423
- Q: Why am I getting unauthorized errors?
424
- A: Run cmd logout followed by cmd login to refresh your session. If the issue persists, check your account at https://commandcode.ai/studio.
425
-
426
- Q: How do I check my usage limits?
427
- A: Visit the billing page in Command Code Studio at https://commandcode.ai/studio.
428
-
429
- Q: My MCP server won't connect. What should I do?
430
- A: Check the server config with cmd mcp get <name> and use /mcp inside a session to see the error. For stdio servers, ensure the command is installed and in your PATH.
431
-
432
- Q: Where can I get help?
433
- A: Join our Discord at https://commandcode.ai/discord, report issues on GitHub, or email support@commandcode.ai.
434
-
435
- ## TROUBLESHOOTING
436
-
437
- ### Installation
438
- - "command not found" after install: Ensure global npm bin directory is in PATH. Run npm config get prefix, add <prefix>/bin to PATH, restart terminal.
439
-
440
- ### Authentication
441
- - Login fails or session expired: Run cmd logout then cmd login. If still failing, delete ~/.commandcode/auth.json and retry.
442
- - API key or provider issues: Verify provider config, check API key validity, check usage limits.
443
- - Chrome Local Network Access prompt during login: Click "Allow" — this is expected and safe. Command Code runs a temporary local server for OAuth callback.
444
-
445
- ### MCP Servers
446
- - Server won't connect: Check config with cmd mcp get <name>, verify command is in PATH, use /mcp in session for error details.
447
- - Authentication issues: Re-authenticate with cmd mcp auth <server>, or clear and retry with cmd mcp auth --clear <server>.
448
-
449
- ### Skills
450
- - Not appearing in /skills menu: Check directory structure (.commandcode/skills/ or .agents/skills/), verify SKILL.md exists with valid frontmatter.
451
- - Editor not opening: Check $EDITOR is set and the editor is in PATH.
452
- - Skill not being used: Make description more specific with keywords, ask Command Code explicitly to use the skill.
453
-
454
- ### Performance
455
- - Slow responses: Check internet connection, disconnect unneeded MCP servers, keep prompts focused and specific.
456
- - High token usage: Review usage in Studio, use headless mode for scripted tasks, use plan mode to agree on approach first.
457
-
458
- ### Support
459
- - Discord: https://commandcode.ai/discord
460
- - GitHub: https://github.com/commandcode/command-code
461
- - Email: support@commandcode.ai
462
-
463
- ## PRICING & LIMITS
464
- How it works:
465
- - Monthly reset: Request limits reset at the start of each billing cycle.
466
- - Extra credits: Buy them at model cost any time. Credits roll over and never expire.
467
-
468
- Manage your plan:
469
- - Purchase credits or subscribe: Studio > Billing at https://commandcode.ai/billing
470
- - Track usage: https://commandcode.ai/usage (personal). For an org: https://commandcode.ai/<orgLogin>/settings/usage
471
- - Manage payment methods: Access billing portal from Studio > Billing
472
-
473
- Buying extra credits: Studio > Billing, then Buy Credits. Pick an amount from 5 to 500 credits ($1 of usage each), then pick how to pay: card, Alipay, WeChat Pay or crypto charged in US Dollars plus a processing fee, or UPI charged in Indian Rupees where it is offered. The payment finishes on Stripe's secure page and the credits land on your balance within moments.
474
- Buying credits changes nothing else: it never saves a payment method, never changes your default card, and never turns auto reload on.
475
- Auto reload: A separate opt-in in Studio > Billing that tops your balance up when it runs low. It charges your default card only, so Alipay, WeChat Pay, crypto and UPI cannot be used for it - add a card there first if none is saved.
476
- Premium requests: Any request that uses a premium model (like taste-1) during your coding session.
477
- When you hit your limit: Buy extra credits, or turn on auto reload so a saved card tops you up automatically. Extra credits are purchased at model cost and roll over.
478
- Switch plans: Upgrade or downgrade anytime from Studio > Billing. Changes take effect next billing cycle.
479
- Team billing: Billed per seat. Credits are pooled at the team level.
480
-
481
- Enterprise: Enhanced security, compliance, and control. Contact support@commandcode.ai for Enterprise edition.
482
-
483
- ## PRIVACY & LEGAL
484
- - Taste processing runs on your codebase and stores learning data in your project and on your local machine only.
485
- - Privacy Policy: https://commandcode.ai/privacy
486
- - Terms of Service: https://commandcode.ai/terms
487
-
488
- ## HELPFUL LINKS
489
- - Documentation: https://commandcode.ai/docs
490
- - Discord Community: https://commandcode.ai/discord