/ask-claude:ask-claudefrom ask-claude
Delegates coding tasks to the local Claude CLI for second opinions, code generation, or debugging. Useful when you need a fresh perspective or parallel assistance.
Ships in ask-claude. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Executes the local claude CLI to get coding assistance.
Note: This skill requires the claude CLI to be installed and available in your system's PATH.
Run a single query with -p (print mode):
claude -p "Your question or task here"
| Option | Description |
|---|---|
-p | Non-interactive print mode (required for scripting) |
--model MODEL | Specify model (e.g., sonnet, opus, haiku) |
--output-format FORMAT | Output format: text, json, stream-json |
-c, --continue | Continue the most recent conversation |
For all available options, run
claude --help
Ask a coding question:
claude -p "How do I implement a binary search in Python?"
Use a specific model:
claude -p --model opus "Review this code for potential issues"
Get JSON output:
claude -p --output-format json "List the main functions in this file"
Continue a previous conversation:
claude -p -c "Now add error handling to that function"
-p flag runs Claude non-interactively and outputs result to stdout--model is not specified, the default model is usedstream-json outputs responses incrementally as they are generated-p flag skips the workspace trust dialog. Only use in directories you trust.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub hiroro-work/claude-plugins --plugin ask-claudeOther plugins' skills for the same job