Skip to content
Development
Skill

/ask-claude

Use when a Codex or generic local agent needs a focused second opinion from Claude CLI without MCP routing.

From plugin
agent-powerups
6113 skills46 agents54 commands
Install
$ npx -y skills add yeaight7/agent-powerups --skill ask-claude --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/ask-claude

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when a Codex or generic local agent needs a focused second opinion from Claude CLI without MCP routing.

SKILL.md

ask-claude.SKILL.md
name: ask-claude
description: Use when a Codex or generic local agent needs a focused second opinion from Claude CLI without MCP routing.

Ask Claude

Purpose

Use local Claude Code CLI as an external advisor for focused questions, reviews, or design checks. The workflow is local-first and always leaves a Markdown artifact.

When to Use

  • Need a Claude second opinion from Codex App or another shell-capable agent.
  • Want reviewable output from `claude -p` saved for later.
  • Do not use when Claude CLI is missing or unauthenticated.
  • Do not use as an MCP fallback.

Inputs

  • A specific prompt or task.
  • Local `claude` command available in PATH.
  • Optional artifact directory.

Workflow

Run through APX:

apx ask-claude "Review this patch for correctness"

Equivalent nested APX and direct CLI calls:

apx ask claude "Review this patch for correctness"
claude -p "Review this patch for correctness"

If `claude` is missing, stop and ask the user to install/configure Claude Code CLI. Verify with:

claude --version

Output

APX writes:

.apx/artifacts/claude-<slug>-<timestamp>.md

Artifact sections:

  • Original user task
  • Final prompt sent to Claude CLI
  • Claude output (raw)
  • Concise summary
  • Action items / next steps

Verification

apx check ask-claude
apx ask-claude "Return OK only" --json

Confirm JSON includes `provider`, `artifactPath`, `promptLength`, and raw output in `stdout`. Open the artifact before applying advice.

Failure Modes

  • **Missing CLI**: do not use MCP; ask user to install/configure `claude`.
  • **Auth failure**: keep artifact if APX created one, report CLI stderr.
  • **Broad prompt**: narrow the question before running to avoid noisy advice.
Read more
Ships withagent-powerups

Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more

Get the whole plugin

Other skills on agent-powerups.