ask-gemini

Query Gemini via a local CLI and save a markdown artifact.

1|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/Linnanli/xClaw --skill ask-gemini-linnanli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ask-gemini
Source: https://github.com/Linnanli/xClaw/tree/main/.codex/skills/ask-gemini
Command: npx skills add https://github.com/Linnanli/xClaw --skill ask-gemini-linnanli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables you to query Gemini using a locally installed CLI and capture a portable, reusable artifact for later reference and accountability.

Core Features & Use Cases

  • Local Gemini CLI integration for brainstorming, design feedback, and second opinions.
  • Automatic artifact generation and storage under the .omx/artifacts path with standardized sections for traceability.
  • Compatibility with legacy wrappers (e.g., scripts/ask-gemini.sh) to ease adoption and transitions.

Quick Start

Ask Gemini a question locally using the CLI and review the generated artifact.

Frequently Asked Questions about ask-gemini

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

FAQPage Schema
How do I save Gemini brainstorming output to a local markdown file?

To save Gemini brainstorming output locally, query Gemini via the CLI and the tool automatically generates a markdown artifact. This artifact stores the original task, final prompt, Gemini output, summary, and next steps in the .omx/artifacts directory.

Can I get design feedback from Gemini without sending my data to a remote server?

You can get private design feedback by querying a locally installed Gemini CLI. This local workflow processes your brainstorming and second opinions privately, then saves the generated guidance as a reusable artifact on your machine.

How does local CLI integration work for capturing AI generated design feedback?

Local CLI integration for design feedback works by executing your query through a locally installed Gemini CLI wrapper. It captures the AI output and automatically saves a structured markdown artifact with standardized sections for traceability and later reference.

Does this workflow support legacy shell scripts like ask-gemini.sh?

Yes, the workflow supports legacy wrappers like scripts/ask-gemini.sh to ease adoption and transitions. This compatibility ensures existing local CLI automation for querying Gemini continues to function while generating the standardized markdown artifacts.

What is included in the generated artifact when querying Gemini for a second opinion?

When querying Gemini for a second opinion, the generated artifact includes the original task, final prompt, Gemini output, a concise summary, and next steps. It is saved as a markdown file at .omx/artifacts/gemini-<slug>-<timestamp>.md for accountability.

When should I use a local Gemini workflow for brainstorming instead of a standard chat interface?

Use a local Gemini workflow for brainstorming when you need portable, reusable artifacts for later reference and accountability. It is ideal for private environments requiring automated markdown generation and standardized traceability of design feedback and prompts.