mirror of
https://github.com/instructkr/claw-code.git
synced 2026-04-27 04:55:00 +08:00
docs(#155): add missing slash command documentation to USAGE.md
Pinpoint #155: USAGE.md was missing documentation for three interactive commands that appear in `claw --help`: - /ultraplan [task] - /teleport <symbol-or-path> - /bughunter [scope] Also adds full documentation for other underdocumented commands: - /commit, /pr, /issue, /diff, /plugin, /agents Converts inline sentence list into structured section 'Interactive slash commands (inside the REPL)' with brief descriptions for each command. Closes #155 gap: discovered during dogfood probing of help/USAGE parity. No code changes. Pure documentation update.
This commit is contained in:
22
USAGE.md
22
USAGE.md
@@ -571,7 +571,27 @@ cd rust
|
|||||||
./target/debug/claw --resume latest /status /diff
|
./target/debug/claw --resume latest /status /diff
|
||||||
```
|
```
|
||||||
|
|
||||||
Useful interactive commands include `/help`, `/status`, `/cost`, `/config`, `/session`, `/model`, `/permissions`, and `/export`.
|
### Interactive slash commands (inside the REPL)
|
||||||
|
|
||||||
|
Useful interactive commands include:
|
||||||
|
|
||||||
|
- `/help` — Show help for all available commands
|
||||||
|
- `/status` — Display current session and workspace status
|
||||||
|
- `/cost` — Show token usage and cost estimates for the session
|
||||||
|
- `/config` — Display current configuration and environment state
|
||||||
|
- `/session` — Show session ID, creation time, and persisted metadata
|
||||||
|
- `/model` — Display or switch the active model
|
||||||
|
- `/permissions` — Check sandbox permissions and capability grants
|
||||||
|
- `/export [file]` — Export the current conversation to a file (or resume from backup)
|
||||||
|
- `/ultraplan [task]` — Run a deep planning prompt with multi-step reasoning (good for complex refactoring tasks)
|
||||||
|
- `/teleport <symbol-or-path>` — Jump to a file or symbol by searching the workspace (IDE-like navigation)
|
||||||
|
- `/bughunter [scope]` — Inspect the codebase for likely bugs in an optional scope (e.g., `src/runtime`)
|
||||||
|
- `/commit` — Generate a commit message and create a git commit from the conversation
|
||||||
|
- `/pr [context]` — Draft or create a pull request from the conversation
|
||||||
|
- `/issue [context]` — Draft or create a GitHub issue from the conversation
|
||||||
|
- `/diff` — Show unified diff of changes made in the current session
|
||||||
|
- `/plugin [list|install|enable|disable|uninstall|update]` — Manage Claw Code plugins
|
||||||
|
- `/agents [list|help]` — List configured agents or get help on agent commands
|
||||||
|
|
||||||
## Config file resolution order
|
## Config file resolution order
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user