Ask Claude

SkillProductivity

Asks Claude CLI for coding assistance. Use for getting a second opinion, code generation, debugging, or delegating coding tasks.

Available today. Use it from your connected AI after setup.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the Ask Claude skill

What this skill tells your AI

The instructions your AI receives, as published by hiroro-work/claude-plugins in skills/ask-claude/SKILL.md and read by ahel’s review.

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.

Quick start

Run a single query with -p (print mode):

claude -p "Your question or task here"

Common options

OptionDescription
-pNon-interactive print mode (required for scripting)
--model MODELSpecify model (e.g., sonnet, opus, haiku)
--output-format FORMATOutput format: text, json, stream-json
-c, --continueContinue the most recent conversation

For all available options, run claude --help

Examples

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"

Notes

  • The -p flag runs Claude non-interactively and outputs result to stdout
  • If --model is not specified, the default model is used
  • stream-json outputs responses incrementally as they are generated
  • Warning: The -p flag skips the workspace trust dialog. Only use in directories you trust.
  • The command inherits the current working directory

Signals

GitHub stars
47
Forks
3
Last commit
Sep 2026
Advanced
Item type
skill
Key
ask-claude
Source
github.com/hiroro-work/claude-plugins