GEMINI

GEMINI is an agent for coding agents from camellia2077/FlipBits. It costs 0 tokens per session (770 once invoked), scanned A, a copy of AGENTS, Apache-2.0.

A set of repository instructions for an agent named GEMINI, covering terminal commands, builds, tests, verification, Android translation, and project tools. It also specifies that PowerShell should be used in that repository.

In plain words
What is it for?
Use it when working in the FlipBits repository to inspect the command-line interface, build the project, run tests or verification, and add Android string resources.
Why use it?
It gives the coding agent a consistent project workflow and helps it choose the intended commands for building, testing, and changing localized text.

Agent

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 agents/camellia2077/flipbits/gemini
Clone the repo
git clone --depth 1 https://github.com/camellia2077/FlipBits

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/camellia2077/flipbits/gemini.svg)](https://agentmods.dev/agents/camellia2077/flipbits/gemini)
Your own site
<a href="https://agentmods.dev/agents/camellia2077/flipbits/gemini"><img src="https://agentmods.dev/badge/agents/camellia2077/flipbits/gemini.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 770 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 95% 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.00000 $0.00770
Opus 5 $0.00000 $0.00385
Sonnet 5 $0.00000 $0.00154
Haiku 4.5 $0.00000 $0.00077

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

Security

Grade A, and why

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 4d 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

95% identical to AGENTS — 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.

agents/GEMINI.md · 33 lines

What it actually says

Terminal

  • 在这个仓库执行终端命令时,统一使用 pwsh 作为 shell 入口。
  • 在这个仓库执行终端命令、编译或验证时,默认不要使用沙盒环境;尤其是 CMake / Ninja / Gradle / python tools/run.py verify 相关命令,必须在非沙盒环境执行。

Tooling

  • 这个项目的 Python CLI 采用“主命令 / 子命令”分层形式。
  • 先用 python tools/run.py --help 查看主命令组;需要具体参数时,再用 python tools/run.py <command> --helppython tools/run.py <command> <subcommand> --help 下钻。
  • 常用命令组优先记这几个:buildtesttest-libverifycliwindowsandroidandroid-translateartifacthistorymessage
  • 修改代码后,如需开始编译,优先使用 python tools/run.py build --build-dir build/dev
  • 修改代码后,如需完整验证,优先使用 python tools/run.py verify --build-dir build/dev
  • 修复 review findings 或小批量跨层改动后,可先跑较短验证:python tools/run.py verify review-fixes --build-dir build/dev
  • 如需只跑库级单测,优先使用 python tools/run.py test-lib <audio_runtime|audio_api|audio_io> --build-dir build/dev
  • 新增 Android XML 文案 key 时,优先用 python tools/run.py android strings-add --file <strings_*.xml> --key <name> --en "<English text>",避免漏掉本地化目录。
  • 不再依赖根层 ctest -R runtime_tests|api_tests|unit_tests 作为正式工作流。
  • Python CLI 的 --help 保持分层:根命令只展示主要子命令与简短摘要,详细参数放到 python tools/run.py <command> --help,不要把所有选项堆到顶层帮助里。
  • 如需生成或导出可见产物,优先先看 python tools/run.py artifact --help
  • 如需处理 release history,优先先看 python tools/run.py history --help
  • 如需准备 git commit message,优先先看 python tools/run.py message --help,并默认走“先 history、后 message”的链路。
  • agents/AGENTS.md 只保留总原则与高频入口;工具细节统一看 <repo-root>/tools/README.md,专题流程统一看 <repo-root>/docs/notes/tooling-overview.md

Subsystems

  • Android 相关入口与编译/测试命令看 <repo-root>/apps/audio_android/AGENTS.md
  • CLI 相关入口与编译/测试命令看 <repo-root>/apps/audio_cli/AGENTS.md
  • libs/ 相关入口、扫描策略与模块级文档指向看 <repo-root>/libs/AGENTS.md

Temp Files

  • 根目录 temp/ 是临时文件夹,默认不会被 Git 跟踪。
  • 如需生成临时分析、草稿、阶段文档或中间产物,统一放到仓库根目录的 temp/ 下,不要散落到其他目录。
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. 4d ago First seen · 33 lines · 0 tokens per session scan A 447cb254e7cc

Subscribe to this mod's changes

GEMINI is an agent published in the GitHub repository camellia2077/FlipBits (46 stars, last pushed 25d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 770 tokens. A static security scan graded it A with 0 findings. It is 95% identical to AGENTS, differing in 2 lines, and is treated as a copy.