Files
deepagents/libs/code/COMMANDS.md
T
Mason Daugherty 80719ceee8 feat(code): /context-doctor (#5830)
`dcode` now includes `/context-doctor` for auditing injected context and
token costs.

<img width="719" height="395" alt="Screenshot"
src="https://github.com/user-attachments/assets/0f9411d3-906b-4604-975f-1504e85735cb"
/>

---

Add `/context-doctor` to expose the approximate token cost of base
instructions, memory, skills, built-in tool schemas, MCP tools, and
conversation history. The report degrades honestly for uninspectable
agents and reconciles estimates with provider-reported usage when
available.

Made by [Open
SWE](https://openswe.vercel.app/agents/368aa683-e22c-580f-b04c-7dc490601b5c)

---------

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
2026-08-25 21:36:21 -04:00

3.0 KiB

Slash command catalog

This is the generated reference for deepagents-code slash commands. Command names, aliases, and descriptions come from deepagents_code/command_registry.py. Regenerate this file with make commands-catalog after changing command names, aliases, descriptions, visibility, or hidden-command metadata.

Public (42)

Command Aliases Description
/agents Browse and switch between available agents
/auth /connect Connect and manage provider and service credentials
/auto Switch to Auto approval mode or manage its classifier model
/auto-update Turn automatic updates on or off
/changelog Open the changelog in a browser
/clear Clear the chat and start a new thread
/context Show current context window usage
/context-doctor Audit what a session injects and its estimated token cost
/copy Copy the latest assistant message to clipboard
/cost Show estimated thread cost
/docs Open the docs
/editor Open prompt in an external editor ($EDITOR)
/effort Set reasoning effort for the current model
/feedback Send feedback or report an issue
/force-clear Stop active work, clear the chat, and start a new thread
/goal Set and manage a persistent objective with acceptance criteria
/help Show help and available commands
/install Install an optional integration
/line-numbers Show or hide line numbers in file diffs
/manual Switch to Manual approval mode
/mcp Manage MCP servers and authentication
/model Switch models or edit model settings
/notifications Review notifications and configure warning settings
/offload /compact Summarize and offload older messages to free context
/plugins Manage plugins
/prompts Search and reuse a previous prompt
/quit /q Exit app
/reload Reload environment and config
/remember Save useful context to memory or skills
/restart Restart the agent server
/rubric /criteria Set explicit acceptance criteria for rubric grading
/scrollbar Show or hide the chat scrollbar
/skill-creator Create or refine agent skills
/theme Change color theme
/threads Browse and resume past threads
/timestamps Show or hide message timestamps
/tokens Show token usage
/tools List the tools available to the agent
/trace Open this thread in LangSmith
/update Check for and install updates
/version /about Show version information
/yolo Switch to YOLO approval mode (no review)

Hidden (2)

These commands are intentionally omitted from autocomplete and help. See the HIDDEN_COMMANDS docstring in the registry for context.

  • /debug
  • /debug-error