Unverified50% confidenceFactExact time
Headless mode (`claude -p`) means running Claude Code without entering the interactive conversation interface, executing a single command and returning the result directly, suitable for scripting and automation scenarios.
1
Sources
50%
Confidence
Long-term
Relevance
11/11/2026
First Seen
Sources
Claude Code in Practice: A Complete Guide from Installation to Project Development
bilibili图灵程序员-诸葛11/11/2026
Related Entities
Related Claims
UnverifiedRoutine is a mechanism in Claude Code for tasks triggered automatically on a schedule; it is not bound to the main conversation and does not require real-time user participation, making it suitable for periodic, no-conversation monitoring work.73% similarUnverifiedSlash commands (such as /context, /rewind, /branch) are built-in Claude Code directives parsed and executed directly by the client rather than being sent to the model.69% similarUnverifiedIn terms of technical architecture, Claude's custom instructions are equivalent to a user-side version of the system prompt, and are automatically inserted at the very beginning of the conversation context before each conversation starts.68% similarUnverifiedThe claude -p headless mode can directly execute a single conversation in command form, suitable for embedding into scripts or pipelines; claude -r is used to resume the last conversation; claude commit directly invokes a Git commit.68% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1159351API
curl https://kongchang.com/api/v1/knowledge/claims/1159351MCP
get_claim(id=1159351)