init-deep GEMINI.md

A guide for init-deep, a Python tool that reads project information and creates documentation tailored to different AI coding assistants.

In plain words
What is it for?
Use it when setting up init-deep development, checking that generated adapters match their source, linting documentation, or diagnosing workspace problems.
Why use it?
It gives developers the exact commands for rebuilding generated files, checking source metadata, validating configuration, and running tests.

Instructions file for 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 instructions/mzored/init-deep/gemini-md
Clone the repo
git clone --depth 1 https://github.com/mzored/init-deep

Made for: Gemini CLI.

Per session 1,135 This file is loaded in full into every session.
When invoked 1,135 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin 89% 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 $0.01135 $0.01135
Opus 5 $0.00567 $0.00567
Sonnet 5 $0.00227 $0.00227
Haiku 4.5 $0.00113 $0.00113

Measured 2d ago against content hash c2b224e6421a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

init-deep GEMINI.md 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 2d 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

89% identical to init-deep AGENTS.md — 3 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.

GEMINI.md · 113 lines

How it starts

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

GEMINI.md

Overview

Multi-platform AI documentation generator. It analyzes codebases and produces platform-native docs so AI coding assistants understand the project. Built with Python 3.11+ and the standard library only.

Setup

python3 --version   # requires 3.11+
node --version      # required only for markdownlint

No install step is required for local development.

Commands

# Build: regenerate all platform adapters from source/commands/init-deep
python3 scripts/build_init_deep.py

# Validate: check checked-in generated artifacts match source
python3 scripts/check_init_deep.py
python3 -m src.init_deep.cli check

# Lint/doctor source metadata
python3 -m src.init_deep.cli lint
python3 -m src.init_deep.cli doctor

# Test
python3 -m unittest discover -s tests -v

# Lint markdown
npx -y markdownlint-cli2 "README.md" "skills/**/*.md" "adapters/**/*.md" "adapters/**/*.mdc"

# Validate configs
python3 -c "from pathlib import Path; import tomllib; tomllib.loads(Path('adapters/gemini/commands/init-deep.toml').read_text(encoding='utf-8'))"
jq . .claude-plugin/plugin.json > /dev/null
jq . .claude-plugin/marketplace.json > /dev/null
jq . .codex-plugin/plugin.json > /dev/null
jq . .agents/plugins/marketplace.json > /dev/null

# Full CI locally
python3 scripts/check_init_deep.py && python3 scripts/build_init_deep.py && git diff --exit-code && python3 -m src.init_deep.cli check && python3 -m unittest discover -s tests -v

Architecture

Primary pipeline:

source/commands/init-deep/spec.toml    # typed manifest: flags, metadata, intent
source/commands/init-deep/body.md      # markdown workflow body
    |
    v
src/init_deep/manifest.py              # spec.toml -> CommandSpec
src/init_deep/compiler.py              # CommandSpec + body -> CommandIR
src/init_deep/targets/registry.py      # registry with 9 built-in targets
src/init_deep/targets/                 # target plugins: plan() + render()
    |
    v
src/init_deep/build.py                 # build_v2(): renders artifacts
scripts/build_init_deep.py             # writes generated artifacts
scripts/check_init_deep.py             # byte-for-byte sync validation

Read the full file on GitHub · 113 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. 2d ago First seen · 113 lines · 1,135 tokens per session scan A c2b224e6421a

Subscribe to this mod's changes

init-deep GEMINI.md is an instructions file published in the GitHub repository mzored/init-deep (6 stars, last pushed 2mo ago), licensed MIT. It adds 1,135 tokens to every session, about $0.0057 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to init-deep AGENTS.md, differing in 3 lines, and is treated as a copy.

Related

Other instructions, from other repositories

Skill_Seekers CLAUDE.md

Instructions for yusufkaraaslan/Skill_Seekers, covering claude.md, project overview, essential commands, required before running tests or cli (src/ layout) and run all tests (never skip - all must pass before commits).

yusufkaraaslan/Skill_Seekers · 5,387 tokens

Skill_Seekers AGENTS.md

Instructions for yusufkaraaslan/Skill_Seekers, covering agents.md - skill seekers, project overview, key capabilities, setup and with dev tools (pytest, ruff, mypy, coverage).

yusufkaraaslan/Skill_Seekers · 3,471 tokens

ungate AGENTS.md

Instructions for orchidfiles/ungate, covering ungate — architecture and project structure, purpose, monorepo (pnpm workspace), data flow and apps/api — proxy server.

orchidfiles/ungate · 3,240 tokens

rag-code-mcp copilot-instructions.md

Instructions for doITmagic/rag-code-mcp, covering copilot instructions - ragcode mcp, ⚖️ the golden rule, project overview, architecture & patterns and developer workflows.

doITmagic/rag-code-mcp · 568 tokens

pbi-context CLAUDE.md

Instructions for Osc2405/pbi-context, covering estado actual (actualizado 2026-07-15), actualización 2026-08-03 — rename pbi-docs → pbi-context, 0. contexto del proyecto (no re-investigar, ya validado), 1. feature obligatoria: soporte .pbip / tmdl and por qué es obligatoria (contexto de mercado, no opinable).

Osc2405/pbi-context · 16,088 tokens

pitchdocs copilot-instructions.md

Instructions for littlebearapps/pitchdocs, covering pitchdocs — copilot instructions, project structure, conventions, sync points and protected files.

littlebearapps/pitchdocs · 582 tokens