ask-gemini

Run local Gemini CLI sessions and save markdown advisory artifacts.

1|Updated Mar 17, 2025
One-click install
npx skills add https://github.com/ozby/node-pubsub --skill ask-gemini-ozby
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ask-gemini
Source: https://github.com/ozby/node-pubsub/tree/main/.codex/skills/ask-gemini
Command: npx skills add https://github.com/ozby/node-pubsub --skill ask-gemini-ozby

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Gemini-based advisory on the user's local machine enables rapid brainstorming and design feedback without routing through external agents, and it provides a structured artifact for future reference.

Core Features & Use Cases

  • Local Gemini CLI execution: Run Gemini directly on the host to obtain prompts, ideas, and critiques without leaving the local environment.
  • Direct advisory for brainstorming and design feedback: Use Gemini for quick ideation, critique, and alternative perspectives during early design or problem framing.
  • Artifact capture: Save a markdown artifact to .omx/artifacts/gemini-ask-gemini-<timestamp>.md containing the original task, final prompt sent to Gemini, output, concise summary, and next steps.
  • Legacy wrappers support: Transitional wrappers (e.g., ./scripts/ask-gemini.sh) may exist to ease adoption in existing projects.
  • Graceful missing-binary handling: If Gemini CLI is not found, provide guidance to install and verify the CLI before retrying.

Quick Start

Invoke Gemini locally with omx ask gemini "<your task>" to start an advisory session and generate an artifact.

Frequently Asked Questions about ask-gemini

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

FAQPage Schema
How do I run Gemini locally for brainstorming and design feedback?

Run Gemini locally by invoking the Gemini CLI directly on your host machine to obtain prompts, ideas, and critiques. This enables rapid advisory without routing through external agents.

Can I save Gemini output as a markdown artifact for future reference?

Yes, artifact capture saves a markdown file to .omx/artifacts/gemini-ask-gemini-<timestamp>.md. This artifact contains the original task, final prompt, output, summary, and next steps.

Do I need a Gemini CLI installation to use local advisory commands?

Yes, local Gemini-based reasoning requires a local Gemini CLI installation. The command handles missing-binary cases gracefully by providing guidance to install and verify the CLI before retrying.

What is the best way to get design feedback without routing through centralized MCP?

Use a local CLI execution to run Gemini directly on your host for advisory tasks. This approach bypasses centralized MCP routing and provides structured artifacts for decision-support.

Why does my local Gemini advisory session fail to execute?

Execution fails when the Gemini CLI binary is missing from your local environment. The command detects this and provides specific guidance to install and verify the CLI before retrying your task.

Are legacy shell wrappers supported for local Gemini CLI execution?

Yes, transitional legacy wrappers like ./scripts/ask-gemini.sh may exist to ease adoption in existing projects. These wrappers facilitate invoking the Gemini CLI for advisory sessions.