gugu-docs: Instructions file for Codex

AGENTS.md

gugu-docs AGENTS.md is an instructions file for Codex, OpenCode from shuxueshuxue/gugu-docs. It costs 780 tokens per session, scanned A, original, MIT.

Project-specific instructions for agents working on Gugu Docs, documentation for a chat app where people can assign work to AI agents on their computers.

In plain words
What is it for?
Use them when writing or editing Gugu documentation, especially to verify domains, distinguish working features from placeholders, and keep the prose understandable.
Why use it?
They help an agent use verified product facts, avoid unsupported claims and internal terms, and follow the project's writing checks.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is shuxueshuxue/gugu-docs's own configuration. It tells Codex and OpenCode how to work on gugu-docs 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 gugu-docs configures →

Reuse

Borrowing it

Nothing to install: this file belongs to shuxueshuxue/gugu-docs. 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/shuxueshuxue/gugu-docs/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/shuxueshuxue/gugu-docs

Made for: Codex, OpenCode.

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 gugu-docs AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/shuxueshuxue/gugu-docs/agents-md/github.svg)](https://agentmods.dev/instructions/shuxueshuxue/gugu-docs/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/shuxueshuxue/gugu-docs/agents-md"><img src="https://agentmods.dev/badge/instructions/shuxueshuxue/gugu-docs/agents-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 gugu-docs AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/shuxueshuxue/gugu-docs/agents-md"><img src="https://agentmods.dev/badge/instructions/shuxueshuxue/gugu-docs/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 780 This file is loaded in full into every session.
When invoked 780 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.
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.00780 $0.00780
Opus 5.5 $0.00312 $0.00312
Sonnet 5.5 $0.00156 $0.00156
Haiku 4.5 $0.00078 $0.00078

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

Security

Grade A, and why

gugu-docs AGENTS.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 17d 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.

AGENTS.md · 37 lines

What it actually says

给写这份文档的 Agent

产品与读者

这是咕咕的中文用户文档,读者需要知道从哪里开始、操作后得到什么、遇到问题怎么办。面向科研、开发和日常工作,正文不解释内部实现协议。

咕咕支持任务、项目、个人助理、人和 Agent 的群协作及 App。桌面支持 macOS、Windows、Linux,手机是 Android。登录使用邮箱验证码;模型连接与产品账号登录分别说明。会员交易在官网面板进行。

事实来源

  1. 产品仓库 nmhjklnm/gugu 的当前 behavior/:已获确认的产品预期。
  2. 当前界面源码和实际可用入口:确认名称、操作路径及功能是否接通。.spec/project/ 帮助定位实现和边界。
  3. 在匹配版本的真实产品中操作,确认可观察结果。
  4. 官网、设计稿和历史 README 只用作线索。演示动画不能代替功能验收。

本仓 .spec/ 描述文档职责,不能覆盖产品的更新事实。按实际版本核对;Beta 新功能注明范围。代码与产品预期冲突且无法确定时,提出具体冲突,等待裁决。

内容

  • 每个功能必须有出处。不把占位按钮、计划或设计稿写成已交付功能。
  • 保留已有页面地址,新增或更名时同步 docs.json,需要时配置重定向。
  • 先确定页面类型。入门教程给自包含材料、一个产物、每步可见结果和最终检查点;操作指南围绕目标串起功能;概念说明解释关系;参考页保留选择、后果和边界。不要把四类内容全压成菜单清单。
  • 新增产品说明同时更新 maintenance/content-map.md,记录用户问题、behavior/.spec 来源和代码查证入口。区分设计预期、代码核对和真实操作证据;遇到过时说明或未裁决段落不要照搬。
  • 模型名单与价格会变化。写选择方法,链接到当前页面,不维护第二份完整名单或价格快照。
  • 正文不出现 ACP、provision、RLS、harness 等内部术语,不记录个人机器、私有路径或凭据。
  • 使用已核实的官方域名:gugu.nextmind.space、download.gugu.nextmind.space 和当前 Mintlify 站点。不能自行创造产品域名。

视频与排版

视频配封面、字幕和文字步骤,用原生播放控件,按需加载。动画、虚构任务和真实产品录屏要清楚区分。画面与文字、字幕必须一致,不用动画证明真实执行成功。

文案短,每句承载信息。中文破折号和对偶反转均保持零;工具命中的词逐项看语义,不为清零机械替换真实界面操作。文风检查可使用 deslop 当前的 tools/measure.py,旧 scan.py 已非当前入口。

检查与交付

运行 mint validate、mint broken-links;在实际 Mintlify 预览查看桌面与手机宽度,播放视频并检查字幕、拖动与全屏。用户先看可运行预览,最终 CI 和合并按本次授权执行。不要把本地修改说成已上线。

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. 17d ago Changed · -11 lines · +5 tokens per session 4913dbc6a880
  2. 2mo ago First seen · 48 lines · 775 tokens per session scan A 833e277e19e8

Subscribe to this mod's changes

gugu-docs AGENTS.md is an instructions file published in the GitHub repository shuxueshuxue/gugu-docs (2 stars, last pushed 16d ago), licensed MIT. It adds 780 tokens to every session, about $0.0031 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

gugu-docs AGENTS.md compared with instructions from other repositories

gugu-docs AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gugu-docs AGENTS.mdshuxueshuxue/gugu-docsInstructions file216d agoMITA780Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k3d agoMITA4,313Codex, OpenCode