Here is the complete precedence order from highest to lowest priority: 1. Command-line flag (e.g., claude --model <model-name> ) 2. Environment variable ( ANTHROPIC_MODEL or CLAUDE_MODEL defined in your terminal, ~/.bashrc , or ~/.zshrc ) 3. Project-level settings (a local .claude/settings.json inside your current working directory) 4. User-level global settings ( ~/.claude/settings.json )
command
claude.md
1
/init
session
1 2 3 4 5 6 7 8
# Rename current session /rename [name] # Resume session, --resume, -r claude -r [session] # Resume by ID/name /resume [session]
model
1 2 3 4 5 6 7 8 9 10 11 12
# Launch with a specific model: claude --model sonnet claude --model opus claude --model haiku claude --model openai/gpt-5.6-sol claude --model openai/gpt-5.6-luna
# Type /model inside session. It shows the available models and lets you switch: /model sonnet # Sonnet 5 (default daily driver) /model haiku # Haiku 4.5 (fast, cheap) /model opus # Opus 4.8 (deepest reasoning) /model fable # Fable 5 (newest)
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
best practices
vscode login claude code
If you have ANTHROPIC_API_KEY set in your shell but still see the sign-in prompt, VS Code may not have inherited your shell environment. Launch VS Code from a terminal with code . so it inherits your environment variables, or sign in with your Claude account instead.
troubleshooting
API Error: 400 工具名称过长,请检查: mcp__plugin_everything-claude-code_github__create_pull_request_review