Updated
On this page
Reference for the claudestream ask command — usage, flags, arguments, and examples for the ask subcommand of the claudestream CLI.
#claudestream ask
Send a prompt to Claude and print only the final response text
Effect: mutating
#Flags
| Name | Short | Type | Default | Env | Description |
|---|---|---|---|---|---|
--model | -m | str | Claude model identifier to use for this session (e.g. sonnet) | ||
--profile | str | Name of the claudewheel profile for authentication | |||
--cwd | str | Working directory path for the Claude Code process to operate in | |||
--skip-permissions | bool | Bypass all tool permission prompts via --dangerously-skip-permissions | |||
--system-prompt | -s | str | Custom system prompt text to prepend to the session context | ||
--stdin | bool | Read the prompt text from standard input instead of an argument | |||
--json-output | bool | Serialize the AskResult response object as a JSON line on stdout | |||
--color | bool | True | Enable ANSI colored output for terminal display and formatting | ||
--from-pr | str | Load context from a GitHub pull request identifier to resume |
#Arguments
| Name | Required | Description |
|---|---|---|
prompt | no | The text prompt to send to the Claude Code session |