Gemini Framework

Gemini Framework is a skill for Claude Code from nxtg-ai/forge-plugin. It costs 113 tokens per session (1,988 once invoked), scanned B, original, MIT.

Reference material for using Google Gemini CLI alongside a Claude Code project. It explains how Gemini CLI reads project instructions from GEMINI.md files and configures its settings.

In plain words
What is it for?
Use it when setting up or troubleshooting a project that uses both Claude Code and Gemini CLI, including GEMINI.md files, imported rules, and settings.json.
Why use it?
It helps developers understand where Gemini CLI gets its instructions and how it can coexist with another coding-agent setup. It also prevents confusing Gemini's files and rules with the project's main agent configuration.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

Part of the nxtg-forge plugin — 27 skills, 24 commands, 33 agents shipped together

Good fit Use it when setting up or troubleshooting a project that uses both Claude Code and Gemini CLI, including GEMINI.md files, imported rules, and settings.json.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nxtg-ai/forge-plugin/gemini-framework
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.

Any agent
npx skills add nxtg-ai/forge-plugin --skill gemini-framework
Clone the repo
git clone --depth 1 https://github.com/nxtg-ai/forge-plugin

Made for: Claude Code.

Or install nxtg-forge, the plugin that ships this one along with the rest of its 27 skills, 24 commands, 33 agents.

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 Gemini Framework

README.md
[![agentmods](https://agentmods.dev/badge/skills/nxtg-ai/forge-plugin/gemini-framework/github.svg)](https://agentmods.dev/skills/nxtg-ai/forge-plugin/gemini-framework)
Your own site
<a href="https://agentmods.dev/skills/nxtg-ai/forge-plugin/gemini-framework"><img src="https://agentmods.dev/badge/skills/nxtg-ai/forge-plugin/gemini-framework/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Gemini Framework

Your own site · 80×15
<a href="https://agentmods.dev/skills/nxtg-ai/forge-plugin/gemini-framework"><img src="https://agentmods.dev/badge/skills/nxtg-ai/forge-plugin/gemini-framework.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,988 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00113 $0.01988
Opus 5.5 $0.00045 $0.00795
Sonnet 5.5 $0.00023 $0.00398
Haiku 4.5 $0.00011 $0.00199

Measured 12d ago against content hash e68e5988eebe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

Gemini Framework scanned grade B with 1 finding 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 12d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Project-level config (global variant: `~/.gemini/settings.json`). Later versions of the old client group keys under **nested categories** — `general`, `ui`, `model`, `context`, `tools`, `mcpServers`:
plugins/nxtg-forge/skills/gemini-framework/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Gemini CLI — Reference Knowledge

BEING REPLACED. Google is moving Gemini CLI users to Antigravity CLI, whose executable is agy (Google's notice: https://github.com/google-gemini/gemini-cli/discussions/27274). Since 2026-06-18 Gemini CLI no longer serves Google AI Pro, Ultra or free-of-charge use; Gemini Code Assist Standard or Enterprise licences, Google Cloud and paid API keys still work, and Google still maintains the repository. Do not tell a user to install Gemini CLI for Forge: for Google-model agents, Forge's orchestrator runs agy (its agent id stays gemini). This page records how Gemini CLI works, for projects that have GEMINI.md or .gemini/ files. It does not describe which files agy reads.

REFERENCE ONLY. Do NOT create GEMINI.md, .gemini/, playbooks, or rules files in the user's project. NXTG-Forge delivers all agent functionality through the Claude Code plugin system.

How the Old Client Discovers Context

The old client builds its instructional context ("memory") by concatenating (not overriding) every GEMINI.md it finds, from broadest to most specific:

  1. ~/.gemini/GEMINI.md — global user instructions
  2. Current directory and each parent up to the .git root — project instructions
  3. Subdirectories under CWD — module-specific instructions

It respects .gitignore and .geminiignore when scanning. The context filename is configurable via context.fileName (see below), so it is not always literally GEMINI.md.

Modular Imports

GEMINI.md supports @path/to/file.md imports (relative or absolute), which pull in:

  • @.gemini/rules/coding-standards.md — always-on rules
  • @.gemini/playbooks/feature-planning.md — on-demand skill-equivalents

Memory Commands

  • /memory show — inspect the fully-assembled loaded context
  • /memory refresh — rescan after editing any GEMINI.md
  • /memory add <text> — append to ~/.gemini/GEMINI.md

.gemini/settings.json

Project-level config (global variant: ~/.gemini/settings.json). Later versions of the old client group keys under nested categories — general, ui, model, context, tools, mcpServers:

Read the full file on GitHub · 115 lines

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. 12d ago Changed · +3 lines · +15 tokens per session e68e5988eebe
  2. 3mo ago First seen · 112 lines · 98 tokens per session scan B 73bc55d85a8f

Subscribe to this mod's changes

Gemini Framework is a skill published in the GitHub repository nxtg-ai/forge-plugin (7 stars, last pushed 2d ago), licensed MIT. It adds 113 tokens to every session and 1,988 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Gemini Framework compared with skills from other repositories

Gemini Framework next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Gemini Frameworknxtg-ai/forge-pluginSkill72d agoMITB113Claude Code
rag-retrievalyonatangross/orchestkitSkill313todayMITA58Claude Code
error-analysisyonatangross/orchestkitSkill313todayMITA48Claude Code
devyonatangross/orchestkitSkill313todayMITA45Claude Code
accessibilityyonatangross/orchestkitSkill313todayMITA51Claude Code
testing-llmyonatangross/orchestkitSkill313todayMITA55Claude Code
manage-schemasjpicklyk/task-orchestratorSkill215todayMITA207Claude Code