Use when a Codex or generic local agent needs a focused second opinion from Claude CLI without MCP routing.
Scanned 5/29/2026
Install to Claude Code
npx -y skills add yeaight7/agent-powerups --skill ask-claude --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Ask Claude?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/yeaight7-ask-claude)More formats (shields.io, HTML) on the badges page.
---
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:
```bash
apx ask-claude "Review this patch for correctness"
```
Equivalent nested APX and direct CLI calls:
```bash
apx ask claude "Review this patch for correctness"
```
```bash
claude -p "Review this patch for correctness"
```
If `claude` is missing, stop and ask the user to install/configure Claude Code CLI. Verify with:
```bash
claude --version
```
## Output
APX writes:
```text
.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
```bash
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.
Is this your skill, or is something wrong with this listing? . Author removals are honored within 72 hours.
No comments yet. Be the first to comment!