Cli Reference
Comprehensive reference for Claude Code CLI commands, flags, headless mode, and automation patterns with subagent definitions.
- CCM score
- 51 of 100
- skills.sh installs
- 493
- GitHub stars
- 4K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers core commands, session control, headless mode, tool control, model selection, MCP configuration, and output formats
- Includes flag tables with examples, JSON subagent definitions via
--agents, and CI/CD and piped-input patterns - Enforces a headless spawn checklist:
--session-id,--dangerously-skip-permissions, and--max-turnsprevent hangs - Designed for developers scripting Claude Code in automation, CI pipelines, or multi-agent workflows
Install
$ npx -y skills add parcadei/continuous-claude-v3 --skill cli-reference -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
CLI Reference
Complete reference for Claude Code command-line interface.
When to Use
- "What CLI flags are available?"
- "How do I use headless mode?"
- "Claude in automation/CI/CD"
- "Output format options"
- "System prompt via CLI"
- "How do I spawn agents properly?"
Core Commands
| Command | Description | Example |
|---|---|---|
claude | Start interactive REPL | claude |
claude "query" | REPL with initial prompt | claude "explain this project" |
claude -p "query" | Headless mode (SDK) | claude -p "explain function" |
cat file | claude -p | Process piped content | cat logs.txt | claude -p "explain" |
claude -c | Continue most recent | claude -c |
claude -c -p "query" | Continue via SDK | claude -c -p "check types" |
claude -r "id" "query" | Resume session | claude -r "auth" "finish PR" |
claude update | Update version | claude update |
claude mcp | Configure MCP servers | See MCP docs |
Session Control
Details
- Repository
- github.com/parcadei/continuous-claude-v3
- Categories
- CLI & Terminal, Agent Workflow & Planning
- First seen
- Jun 3, 2026
More from parcadei/continuous-claude-v3
All 108- Completion Check493
- Idempotent Redundancy493
- Morph Search493
- Skill Upgrader493
- Build492
- Search Tools492
- Slash Commands492
- Skill Developer491
- Skill Development491
- Braintrust Analyze490
- Fix490
- Morph Apply490
- Complete Skill489
- Loogle Search489
- Onboard489
- Research489
- Tldr Overview489
- Search Router488
- Agentica Claude Proxy487
- Qlty Check487
- Wiring487
- No Polling Agents486
- Pint Compute486
- Resume Handoff486
Similar to Cli Reference
More CLI & Terminalsub-agentsSkillparcadei/continuous-claude-v3539 installsReference guide for creating Claude Code sub-agents with custom prompts, tool restrictions, and model choices.
cli-for-agentsSkillcursor/plugins1.4K installsNon-interactive CLI design guide that helps coding agents run commands reliably without prompts or manual dumps.
agent-deckPluginasheshgoplani/agent-deck1.3K starsComplete guide for managing AI coding agent sessions via agent-deck CLI - session lifecycle, MCP management, groups, profiles, and automation
slash-commandsSkillparcadei/continuous-claude-v3492 installsReference guide for creating Claude Code slash commands with arguments, bash execution, and file references.
claude-code-expertSkillsickn33/agentic-awesome-skills132 installsDeep reference guide for configuring Claude Code CLI, covering shortcuts, hooks, MCPs, permissions, and memory.