ask-claude

Run Claude CLI locally and save responses as markdown artifacts.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/pextacy/stellar --skill ask-claude-pextacy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ask-claude
Source: https://github.com/pextacy/stellar/tree/main/skills/ask-claude
Command: npx skills add https://github.com/pextacy/stellar --skill ask-claude-pextacy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Locally run Claude via the CLI to get expert advice and capture a reusable artifact for auditing and reference.

Core Features & Use Cases

  • Local Claude CLI execution for focused questions and reviews.
  • Artifact generation by saving a markdown file to .omx/artifacts/claude-<slug>-<timestamp>.md containing the task, prompt, output, and summary.
  • Graceful fallback when Claude CLI is unavailable, with clear installation and verification steps.

Quick Start

Run the Claude CLI locally to answer your question and save the artifact to .omx/artifacts/claude-<slug>-<timestamp>.md.

Frequently Asked Questions about ask-claude

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Claude locally and save the output as a file?

Run Claude locally via the CLI to answer focused questions and save the output as a markdown artifact. This artifact is written to .omx/artifacts/ with a timestamp, preserving a reproducible record of the prompt and response.

Do I need the Claude CLI installed locally to use AI assistance for code reviews?

Yes, local execution requires the Claude CLI binary installed locally. If the CLI is unavailable, the process provides a graceful fallback with clear installation and verification steps to ensure you can get AI input.

What is the best way to capture AI prompts and responses for auditing?

Capturing AI prompts for auditing is done by generating a markdown artifact after querying the local Claude CLI. This file contains the task, prompt, output, and summary, ensuring a reproducible record for future reference.

Where are Claude CLI artifacts saved when running local AI queries?

Claude CLI artifacts are saved locally in the .omx/artifacts/ directory. The markdown files are named using a slug and timestamp convention, ensuring each AI query result is organized and traceable.

Can I execute Claude locally without an internet connection for prompt management?

Local execution of the Claude CLI allows for focused questions and reviews. The skill handles prompt management locally and generates a markdown artifact, though the specific connectivity requirements of the Claude binary itself are not specified.

What happens if the Claude CLI is not found during local execution?

If the Claude CLI is not found, the local execution fails gracefully. It provides clear installation and verification steps so you can set up the required binary and successfully generate your markdown artifacts.