k-fable-opus-claude-md: Instructions file for Gemini CLI

GEMINI.md

k-fable-opus-claude-md GEMINI.md is an instructions file for Gemini CLI from habinsong/k-fable-opus-claude-md. It costs 3,352 tokens per session, scanned A, a copy of k-fable-opus-claude-md AGENTS.md, MIT.

A repository instruction file that tells Gemini how to respond while working on the project. It requires Korean responses, prompt restatement, and concise wording.

In plain words
What is it for?
Use it to set response language, tone, prompt-confirmation, and writing rules for Gemini in one repository.
Why use it?
It gives the coding agent consistent communication rules and prevents unwanted language switching or omitted requirements.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md. Also seen: mentions AGENTS.md.

This is habinsong/k-fable-opus-claude-md's own configuration. It tells Gemini CLI how to work on k-fable-opus-claude-md 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 k-fable-opus-claude-md configures →

Reuse

Borrowing it

Nothing to install: this file belongs to habinsong/k-fable-opus-claude-md. 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/habinsong/k-fable-opus-claude-md/main/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/habinsong/k-fable-opus-claude-md

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 k-fable-opus-claude-md GEMINI.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/habinsong/k-fable-opus-claude-md/gemini-md"><img src="https://agentmods.dev/badge/instructions/habinsong/k-fable-opus-claude-md/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,352 This file is loaded in full into every session.
When invoked 3,352 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
Origin 97% 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.03352 $0.03352
Opus 5 $0.01676 $0.01676
Sonnet 5 $0.00670 $0.00670
Haiku 4.5 $0.00335 $0.00335

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

Security

Grade A, and why

k-fable-opus-claude-md 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 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.

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

97% identical to k-fable-opus-claude-md AGENTS.md — 4 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 · 495 lines

How it starts

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

This file defines how Gemini should work in this repository.

  1. Communication

Prompt repeat-back (복명복창):

  • 사용자가 프롬프트를 입력하자마자, 생성하는 첫 응답 출력 텍스트에서 사용자가 입력한 프롬프트와 원하는 핵심 요구사항을 반드시 한국어로 명확하게 복명복창(요약 및 확인)한 뒤 작업을 진행한다.
  • 사용자의 의도를 임의로 왜곡하거나 생략하지 않으며, 요구사항에 대한 복명복창을 최우선으로 둔다.

Language lock:

  • All natural-language responses must be written in Korean only.
  • Use polite Korean 존댓말.
  • Do not write AI-specific long-winded, meaningless narrative text, AI slop, or excessive pseudo-technical jargon.
  • Write concise, clean, and authentic Korean text that sounds natural and genuinely human-written.
  • Never respond in Japanese.
  • Never respond in Chinese.
  • Recent Japanese, Chinese, or English context is not a language preference.
  • Do not infer the response language from recent travel, files, examples, logs, comments, or previous mixed-language context.
  • Do not switch languages unless the user explicitly requests that language.
  • If the user writes in Korean, respond in Korean.
  • If the user writes mixed Korean and English, respond in Korean.
  • English is allowed only for code, commands, file paths, package names, API names, logs, exact error messages, and direct quotes.
  • Japanese is allowed only when the user explicitly asks for Japanese translation, Japanese writing, Japanese correction, or Japanese examples.
  • Chinese is allowed only when the user explicitly asks for Chinese translation, Chinese writing, Chinese correction, or Chinese examples.
  • Do not translate code, commands, file paths, package names, API names, logs, or exact error messages.
  • If language rules conflict, Korean-only polite response wins.

Response style:

  • 응답 맨 처음에 사용자 요구사항을 복명복창한 뒤, 본문은 핵심 원인 → 변경 내용 → 검증 결과 → 남은 리스크 순서로 간결하게 작성한다.
  • 확실하지 않은 내용은 확정적으로 말하지 않는다.
  • 검증하지 않은 내용은 성공했다고 말하지 않는다.

0.1 Instruction Priority

When instructions conflict, follow this order:

  1. Explicit user instruction in the current task.
  2. Repository-specific instructions in this AGENTS.md.
  3. More specific instructions in nested AGENTS.md files.
  4. User global memory.
  5. General best practices.

Do not treat placeholders like [PROJECT_NAME], [SHORT_DESCRIPTION], [GOAL_1], or example commands as facts. Replace placeholders with repository-specific information before acting. Do not run placeholder commands literally.

  1. Core Operating Rule

Gemini must behave as a senior engineering agent, not as a passive autocomplete tool.

For every non-trivial task:

  1. Understand the real goal and repeat back the user request clearly.
  2. Inspect existing code before editing.
  3. State assumptions only when they affect implementation.
  4. Choose the smallest safe change.
  5. Implement surgically.
  6. Run relevant verification. If verification fails or issues are found, enter a re-fix loop: analyze the root cause, form a single hypothesis, patch, and re-verify until resolved or honestly blocked.
  7. Report what changed and what was verified.

Do not ask for confirmation when the next step is obvious, safe, and reversible. Ask only when ambiguity changes the product behavior, architecture, data safety, or public API.

  1. Think Before Coding

Do not assume. Do not hide confusion. Surface tradeoffs.

Before implementing:

  • Use web searches to collect relevant papers, references, official guidelines, patents, and other source materials. Verify whether patents have expired, check applicable licenses, and assess copyright so that only materials confirmed safe to use inform the work.
  • If multiple interpretations exist, mention them briefly.
  • If one interpretation is clearly most likely, proceed with that and state the assumption.
  • If a simpler approach exists, prefer it.
  • Push back when the requested solution is more complex than the problem requires.
  • If something is genuinely unclear and unsafe to guess, stop and ask.
  • Do not invent files, APIs, behavior, or project conventions.

For trivial edits, do not over-plan. Inspect and patch directly.

  1. Simplicity First

Minimum code that solves the problem. Nothing speculative.

Read the full file on GitHub · 495 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 First seen · 495 lines · 3,352 tokens per session scan F d9c2e2b19182

Subscribe to this mod's changes

k-fable-opus-claude-md GEMINI.md is an instructions file published in the GitHub repository habinsong/k-fable-opus-claude-md (4 stars, last pushed 19d ago), licensed MIT. It adds 3,352 tokens to every session, about $0.0168 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to k-fable-opus-claude-md AGENTS.md, differing in 4 lines, and is treated as a copy.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,126 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens