Unverified50% confidenceFactExact time
claude -p is a non-interactive execution parameter provided by Anthropic's official Claude CLI, where -p stands for prompt mode, passing text as a single prompt and exiting immediately after receiving output
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
10/12/2026
First Seen
Valid until: 1/10/2027
Sources
Related Entities
Related Claims
Unverifiedclaude -p提示词为无头模式,以单次命令方式执行任务,可嵌入CI/CD流水线、定时任务、Git Hooks等自动化脚本75% similarUnverifiedThe claude -p command is a headless mode that executes a single task directly as a command and outputs the result to the console.69% similarUnverifiedPromptfoo is a PyTest-style tool driven by a command-line interface (CLI) and YAML.61% similarUnverifiedCline can execute terminal commands, read stdout and stderr, and feed the results as new context to the underlying large model to determine the next action, forming a closed-loop perception–reasoning–action iteration.60% similarUnverifiedCommonly used CC commands include: claude -c to resume the last conversation, claude -r to view the history conversation list, claude -p for headless mode, /clear to clear the conversation, and /help to query commands.60% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1004136API
curl https://kongchang.com/api/v1/knowledge/claims/1004136MCP
get_claim(id=1004136)