Claude Code command reference

Claude Code ships with 60+ commands to manage sessions, integrations, and context. Core tools break down into slash commands, CLI flags, and skills to automate tasks.
Key slash commands include /clear to reset context, /effort to adjust model reasoning levels, and /mcp to manage external data sources. Power users can tap keyboard shortcuts like Option+T to activate Extended Thinking and Option+P for quick model switching.
For deeper customization, use CLI flags like --worktree to isolate Git branches. Users can also craft custom skills in .claude/skills. When issues arise, run /doctor to diagnose the setup or /context to analyze token usage.
Up next
Leading AI labs call for bioweapon prevention measures
Anthropic and OpenAI are among labs urging US lawmakers to tighten controls on DNA synthesis. The goal is to prevent AI misuse in bioweapon development by tracking orders for potentially risky synthetic sequences.
Related stories
- Low effort in Claude Code keeps you in the loop
- Enforce your CLAUDE.md rules in CI, not in a markdown file
- Claude Code 2.1.318: login expiry warning, runner log change
- Intent-lens spells out Claude Code calls before they run
- Codedict cuts Claude Code tokens 63%, but cost only 26%
- claude-files-pane shows Claude Code’s file reads live
Comments
No comments yet. Be the first.
Join the conversation
Sign in to leave a comment. It appears after moderation.

