Terminal
Terminal/Skill
Sends a prompt from one agent to Claude's non-interactive mode and returns the full answer, for second opinions or parallel work.
By Stably
Works with
npx skills add stablyai/call-claude --skill call-claudeDelegate an arbitrary prompt to Claude and return the output.
Required: a prompt.
Optional flags (parsed from the user's message):
| Flag | Values | Default |
|---|---|---|
--model | opus, sonnet, haiku, or a full model ID | opus |
--effort | low, medium, high, xhigh, max | (omitted) |
--model / --effort overrides."$(dirname "$0")/call-claude.sh" [--model <alias>] [--effort <level>] "<prompt>"
For multi-line prompts, pipe via stdin:
echo "<prompt>" | "$(dirname "$0")/call-claude.sh" --model opus
claude -p is non-interactive and prints the final answer to stdout, so the wrapper output can be captured directly.
Claude Code must be installed — verify with claude --version.
# Default (opus)
./call-claude.sh "explain what this repo does"
# Override model
./call-claude.sh --model sonnet "summarize the README"
# Override model + effort
./call-claude.sh --model opus --effort high "design a caching layer"