awesome-claude-code: Instructions file for Gemini CLI

GEMINI.md

awesome-claude-code GEMINI.md is an instructions file for Gemini CLI from xilu0/awesome-claude-code. It costs 680 tokens per session, scanned C, original, MIT.

A set of Gemini CLI instructions for maintaining Awesome Claude Code, a Chinese-language documentation site built with Next.js and Nextra.

In plain words
What is it for?
Use it when editing the site's MDX pages, navigation metadata, React components, public assets, or when running its development, build, and lint commands.
Why use it?
It explains the project's tools, folders, package manager, development commands, and documentation conventions so changes follow the repository's rules.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions Gemini CLI.

This is xilu0/awesome-claude-code's own configuration. It tells Gemini CLI how to work on awesome-claude-code itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything awesome-claude-code configures →

Reuse

Borrowing it

Nothing to install: this file belongs to xilu0/awesome-claude-code. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/xilu0/awesome-claude-code/main/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/xilu0/awesome-claude-code

Made for: Gemini CLI.

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 awesome-claude-code GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/xilu0/awesome-claude-code/gemini-md/github.svg)](https://agentmods.dev/instructions/xilu0/awesome-claude-code/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/xilu0/awesome-claude-code/gemini-md"><img src="https://agentmods.dev/badge/instructions/xilu0/awesome-claude-code/gemini-md/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 awesome-claude-code GEMINI.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/xilu0/awesome-claude-code/gemini-md"><img src="https://agentmods.dev/badge/instructions/xilu0/awesome-claude-code/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 680 This file is loaded in full into every session.
When invoked 680 The same file — it is already loaded in full.
Security scan C 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.00680 $0.00680
Opus 5.5 $0.00272 $0.00272
Sonnet 5.5 $0.00136 $0.00136
Haiku 4.5 $0.00068 $0.00068

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

Security

Grade C, and why

awesome-claude-code GEMINI.md scanned grade C 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 2mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

* **Cache Issues:** If changes aren't reflecting, remove the `.next` directory: `rm -rf .next && pnpm dev`.
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

GEMINI.md · 80 lines

How it starts

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

GEMINI.md

Project Overview

Awesome Claude Code (Claude Code Academy) is a comprehensive, open-source learning resource hub for Claude Code developers, catering specifically to the Chinese-speaking community. It serves as a documentation site built with Next.js and Nextra.

Key Technologies

  • Framework: Next.js 14
  • Documentation Theme: Nextra 3 (Docs Theme)
  • Styling: Tailwind CSS (via Nextra)
  • Language: TypeScript / JavaScript / MDX
  • Package Manager: pnpm (Preferred over npm/yarn per CLAUDE.md)

Building and Running

This project prefers pnpm. Ensure you have Node.js 18+ installed.

Core Commands

  • Install Dependencies:
    pnpm install
    
  • Start Development Server:
    pnpm dev
    
    Access at http://localhost:3000.
  • Build for Production:
    pnpm build
    
    This generates a static export (configured in next.config.mjs).
  • Preview Production Build:
    pnpm start
    
  • Lint Code:
    pnpm lint
    

Development Conventions

File Structure

  • pages/: Contains the content as .mdx files.
    • _meta.js: Configuration file in each directory defining the navigation order and titles.
  • components/: Custom React components.
  • public/: Static assets (images, global CSS).
  • theme.config.jsx: Global configuration for the Nextra theme.

Content Management (MDX)

  • Frontmatter: Every .mdx file should include title and description.
    ---
    title: Page Title
    description: Brief description for SEO
    ---
    
  • Navigation: When adding a new page, update the _meta.js in the same directory to include the filename (without extension) and its display title.

UI Components

Use built-in Nextra components imported from nextra/components:

  • <Callout type="info|warning|error|success">Content</Callout>
  • <Cards><Cards.Card ... /></Cards>
  • <Tabs><Tabs.Tab ... /></Tabs>
  • <Steps>...</Steps> (for tutorials)

Read the full file on GitHub · 80 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. 2mo ago First seen · 80 lines · 680 tokens per session scan C ac9907080184

Subscribe to this mod's changes

awesome-claude-code GEMINI.md is an instructions file published in the GitHub repository xilu0/awesome-claude-code (4 stars, last pushed 8mo ago), licensed MIT. It adds 680 tokens to every session, about $0.0027 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

awesome-claude-code GEMINI.md compared with instructions from other repositories

awesome-claude-code GEMINI.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
awesome-claude-code GEMINI.mdxilu0/awesome-claude-codeInstructions file48mo agoMITC680Gemini CLI
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode