TipsLesser-known
--bare
Runs a lightweight session with automatic discovery of hooks, skills, plugins, MCP and CLAUDE.md turned off.
Usage
claude -p --bare "..."
When to use it
When you want script results to be reproducible every time.
Source: https://code.claude.com/docs/en/cli-reference
More Claude Code tips
Custom slash commands (.claude/commands)A single markdown file becomes a /name command.TipsHooks (settings.json)Automatically runs commands on events such as before or after a tool runs.TipsHeadless mode (-p)Runs once without a UI and prints only the result.Tips--continue / -cContinues the most recent conversation in the current folder.Tips--resume / -rResumes a session by ID or name.Tips--fork-sessionResumes a session but branches it off under a new session ID.Tips
All Claude Code