Prompt Command
Thechucky prompt command lets you send prompts to any project in your account directly from the terminal. It supports streaming responses, structured output, and custom tools.
Basic Usage
.chucky.json file (created by chucky init), the --project flag is optional.
Options
| Option | Description | Default |
|---|---|---|
--project <name|id> | Project to run against | From .chucky.json |
--token <jwt> | Use a pre-generated JWT token | Auto-generated |
--output-format <format> | Output format: text, json, stream-json | text |
--json-schema <schema> | JSON Schema for structured output | - |
--model <model> | Model: sonnet, opus, haiku, or full name | sonnet |
--system-prompt <prompt> | System prompt for the session | - |
--allowed-tools <tools> | Comma-separated list of allowed tools | - |
--disallowed-tools <tools> | Comma-separated list of disallowed tools | - |
--permission-mode <mode> | Permission mode for tools | default |
--dangerously-skip-permissions | Bypass all permission checks | false |
--max-turns <n> | Maximum conversation turns | - |
--allow-possession | Enable host tools (Claude controls your machine) | false |
Examples
Simple Prompt
Use a Different Model
Structured JSON Output
Custom System Prompt
Streaming JSON Output
For programmatic use, get each event as JSON:Reading from Stdin
Pipe content into the prompt:Output Formats
Text (Default)
Human-readable streaming output with tool calls highlighted:JSON
Full result object at the end:Stream JSON
Each message as a separate JSON line (NDJSON):Using Pre-Generated Tokens
For integration with your backend, you can use a pre-generated JWT token:Next Steps
Possession Mode
Learn how to let Claude execute commands on your machine