Claude Code¶
Curupira runs Claude Code in print mode with streaming JSON output:
Install and sign in¶
Claude Code owns authentication (an Anthropic account or ANTHROPIC_API_KEY). Curupira
never reads or stores credentials.
Profile options¶
| Option | Native argument | Notes |
|---|---|---|
model |
--model <model> |
An alias such as sonnet or a full model id. |
agent |
--agent <agent> |
A custom agent defined in Claude Code. |
effort |
--effort <level> |
Reasoning effort level. |
permission_mode |
--permission-mode <mode> |
For example acceptEdits or plan. Unset keeps Claude Code's default. |
permission_prompts |
--permission-prompts <value> |
Passed through unchanged. |
Unset options add no argument. The prompt always follows --, so a prompt that starts
with - is not read as a flag.
Example¶
Sessions¶
The session id from the JSON stream is saved with the task. An interrupted task resumes
with --resume <session_id>.