ask-claude
SKILL.md
Ask Claude (Local CLI)
Use the locally installed Claude CLI as a direct external advisor for focused questions, reviews, or second opinions.
Usage
/ask-claude <question or task>
Routing
Preferred: Local CLI execution
Run Claude through the canonical OMX CLI command path (no MCP routing):
omx ask claude "{{ARGUMENTS}}"
Exact non-interactive Claude CLI command from claude --help:
claude -p "{{ARGUMENTS}}"
# equivalent: claude --print "{{ARGUMENTS}}"
If needed, adapt to the user's installed Claude CLI variant while keeping local execution as the default path.
Legacy compatibility entrypoints (./scripts/ask-claude.sh, npm run ask:claude -- ...) are transitional wrappers.
Missing binary behavior
If claude is not found, do not switch to MCP.
Instead:
- Explain that local Claude CLI is required for this skill.
- Ask the user to install/configure Claude CLI.
- Provide a quick verification command:
claude --version
Artifact requirement
After local execution, save a markdown artifact to:
.omx/artifacts/claude-<slug>-<timestamp>.md
Minimum artifact sections:
- Original user task
- Final prompt sent to Claude CLI
- Claude output (raw)
- Concise summary
- Action items / next steps
Task: {{ARGUMENTS}}
Weekly Installs
1
Repository
yeachan-heo/oh-my-codexGitHub Stars
2.0K
First Seen
12 days ago
Security Audits
Installed on
codex1