ask-gemini

ask-gemini is a skill for Codex from Orinks/AccessiWeather. It costs 19 tokens per session (352 once invoked), scanned A, a copy of ask-gemini, MIT.

A skill that asks a locally installed Gemini command-line tool for brainstorming, design feedback, or a second opinion. It sends the question through the local command and saves the result as a Markdown file.

In plain words
What is it for?
Use it for focused design questions, reviews, brainstorming, and external opinions when Gemini CLI is installed and configured.
Why use it?
It gives you another model’s perspective without switching away from the local development workflow. It also makes the consultation result available as a saved artifact.

Skill for Codex

Written for Codex: installed under .codex/. Also seen: mentions Gemini CLI.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/orinks/accessiweather/ask-gemini
Any agent
npx skills add Orinks/AccessiWeather --skill ask-gemini
Clone the repo
git clone --depth 1 https://github.com/Orinks/AccessiWeather

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ask-gemini

README.md
[![agentmods](https://agentmods.dev/badge/skills/orinks/accessiweather/ask-gemini.svg)](https://agentmods.dev/skills/orinks/accessiweather/ask-gemini)
Your own site
<a href="https://agentmods.dev/skills/orinks/accessiweather/ask-gemini"><img src="https://agentmods.dev/badge/skills/orinks/accessiweather/ask-gemini.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 352 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 94% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.00352
Opus 5 $0.00010 $0.00176
Sonnet 5 $0.00004 $0.00070
Haiku 4.5 $0.00002 $0.00035

Measured 6d ago against content hash 91c148184d9a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

ask-gemini scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

94% identical to ask-gemini — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.codex/skills/ask-gemini/SKILL.md · 62 lines

What it actually says

Ask Gemini (Local CLI)

Use the locally installed Gemini CLI as a direct external advisor for brainstorming, design feedback, and second opinions.

Usage

/ask-gemini <question or task>

Routing

Preferred: Local CLI execution

Run Gemini through the canonical OMX CLI command path (no MCP routing):

omx ask gemini "{{ARGUMENTS}}"

Exact non-interactive Gemini CLI command from gemini --help:

gemini -p "{{ARGUMENTS}}"
# equivalent: gemini --prompt "{{ARGUMENTS}}"

If needed, adapt to the user's installed Gemini CLI variant while keeping local execution as the default path.

Legacy compatibility entrypoints (./scripts/ask-gemini.sh, npm run ask:gemini -- ...) are transitional wrappers.

Missing binary behavior

If gemini is not found, do not switch to MCP. Instead:

  1. Explain that local Gemini CLI is required for this skill.
  2. Ask the user to install/configure Gemini CLI.
  3. Provide a quick verification command:
gemini --version

Artifact requirement

After local execution, save a markdown artifact to:

.omx/artifacts/gemini-<slug>-<timestamp>.md

Minimum artifact sections:

  1. Original user task
  2. Final prompt sent to Gemini CLI
  3. Gemini output (raw)
  4. Concise summary
  5. Action items / next steps

Task: {{ARGUMENTS}}

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 62 lines · 19 tokens per session scan A 91c148184d9a

Subscribe to this mod's changes

ask-gemini is a skill published in the GitHub repository Orinks/AccessiWeather (24 stars, last pushed 12d ago), licensed MIT. It adds 19 tokens to every session and 352 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to ask-gemini, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens