claude-exec
Installation
SKILL.md
Claude Code CLI Sub-Agent
A skill for invoking the Claude Code CLI as a sub-agent in non-interactive mode (-p / --print).
When to use
- You want to hand off an investigation or task to a separate Claude session and only receive the result.
- You want to run a side task in parallel without polluting the current conversation's context.
- You want structured output (JSON) so the result can be processed in a pipeline.
How to run
Run non-interactively with claude -p via the Bash tool.