Why use: Half of DisCo's commonly used actions (provider login, mode change, export, resume, compact) are commands typed at the TUI prompt. Pasting them into the terminal is command not found.
What it produces: Produces no files — this is a lookup table.
How to distinguish
| Type | Recognition | Where to type |
|---|---|---|
| Shell command | disco ... |
Terminal |
| Built-in chat command | /settings, /login, /creator… |
DisCo prompt, after running disco |
| Skill invocation | /skill:<tên> |
DisCo prompt or embedded in the prompt string of disco -p "..." |
/skill:<tên> is the only exception that works in both places, because -p passes the string as-is to the agent:
disco --researcher -p "/skill:vllm <task>" # hợp lệ
List of built-in commands (read directly from BUILTIN_SLASH_COMMANDS in core/slash-commands.ts — all 24 commands)
Provider & model
| Command | Effect |
|---|---|
/login <provider> |
Configure provider authentication |
/logout |
Remove provider authentication |
/model <provider/model> |
Select model (opens selection UI) |
/scoped-models |
Enable/disable models for the Ctrl+P loop |
/settings |
Open settings menu |
Mode & session
| Command | Effect |
|---|---|
/creator |
Switch to Creator in a new session |
/researcher |
Switch to Researcher in a new session |
/new |
New session |
/resume |
Continue another session |
/session |
View session information & statistics |
/name |
Set a display name for the session |
/fork |
Create a new branch from a previous user message |
/clone |
Clone the session at the current position |
/tree |
Navigate the session tree (switch branches) |
/compact |
Manually compact context |
In / out
| Command | Effect |
|---|---|
/export |
Export session (HTML by default; .html/.jsonl can be specified) |
/import |
Import & continue a session from a JSONL file |
/share |
Share session as a GitHub gist secret |
/copy |
Copy the agent's last message to the clipboard |
Other
| Command | Effect |
|---|---|
/trust |
Save the project trust decision for later sessions |
/reload |
Reload keybindings, extensions, skills, prompts, themes, context files |
/changelog |
View changelog |
/hotkeys |
View all keyboard shortcuts |
/quit |
Exit |
⚠️ /creator and /researcher open a NEW SESSION
Both warn beforehand then open a new session with a clean context. The old session still exists; get it back with /resume, and export from the new session containing only the new session's activity. Don't expect to switch modes midway while keeping the conversation thread intact.
If a request belongs to the other mode, DisCo stops before doing it and suggests switching — it never silently switches modes on its own.
Invoke skill: /skill:<tên>
In Researcher:
/skill:repo-skills-router <mô tả task>
/skill:vllm determine and verify the highest-throughput configuration for <model and workload>
/skill:<graph-entry> Complete <task> within <constraints>, and verify it with <evaluator>.
In Creator (7 commonly used entry points):
/skill:distill-ml-knowledge identify <source or task anchor>; scope, ground, construct, and verify the operating skill graph.
/skill:create-repo-skill Create and verify a repository skill for /absolute/path/to/repo.
/skill:refresh-repo-skill Refresh /absolute/path/to/existing-skill against the current repository at /absolute/path/to/repo.
/skill:extend-repo-skill Add <capability> coverage to /absolute/path/to/existing-skill using /absolute/path/to/repo as evidence.
/skill:import-repo-skills-to-agent import vllm and sglang to ~/.claude
/skill:create-paper-skills Use Distiller to generate and verify paper-replication skills for each run in this config. config_path: /absolute/path/to/distiller-run-config.toml
/skill:design-meta-skill <lỗ hổng năng lực lặp lại, có bằng chứng>
Router is disabled (disco repo-skills router disable) still lets you invoke manually /skill:repo-skills-router — disabling only removes it from automatic selection.
Pitfalls
/loginhas no equivalent shell command. For non-interactive use, use the environment variable (OPENAI_API_KEY,ANTHROPIC_API_KEY,GEMINI_API_KEY,OPENROUTER_API_KEY,MISTRAL_API_KEY)./sharepushes the session to a GitHub gist. A secret gist is still "anyone with the link can view it." Check the content first.- After installing/updating a skill you must
/newor opendiscoa new — a running session won't see the new skill. - Extensions can register additional chat commands and even CLI flags (e.g.
--planfrom the plan-mode extension);disco --helpwill list those flags under Extension CLI Flags.
Next steps
09-contributor-phat-trien-cli.md if you plan to modify DisCo itself.