Borrowing it
Nothing to install: this file belongs to zzxCoding/Flydb. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/zzxCoding/Flydb/main/AGENTS.mdgit clone --depth 1 https://github.com/zzxCoding/FlydbWrote 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.
[](https://agentmods.dev/instructions/zzxcoding/flydb/agents-md)<a href="https://agentmods.dev/instructions/zzxcoding/flydb/agents-md"><img src="https://agentmods.dev/badge/instructions/zzxcoding/flydb/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.
<a href="https://agentmods.dev/instructions/zzxcoding/flydb/agents-md"><img src="https://agentmods.dev/badge/instructions/zzxcoding/flydb/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01778 | $0.01778 |
| Opus 5.5 | $0.00711 | $0.00711 |
| Sonnet 5.5 | $0.00356 | $0.00356 |
| Haiku 4.5 | $0.00178 | $0.00178 |
Grade A, and why
Flydb 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flydb 仓库 Agent 指引
本文件适用于整个 Flydb 仓库,记录所有开发 Agent 都必须遵守的稳定约束。
模块专属规则应放在对应子目录的 AGENTS.md;命令参数、配置项和安装步骤应留在
各自的参考文档中,不在本文件重复维护。
1. 开始工作前
- 先阅读根目录
README.md,再按任务读取相关设计或参考文档。 - 涉及 Flydb CLI、
flydb.conf、drivers/、JDBC 迁移或 Schema 变更时,必须先读flydb-cli/SKILL.md。只有当前 Agent 必须安装 Skill 才能发现它时,才按flydb-skills/README.md操作;无法自动发现时直接读取仓库内的SKILL.md。 - CLI 命令、配置、错误码和
--json机器输出分别以commands.md、configuration.md、errors.md和json-output.md为准。不要凭记忆重构选项、错误语义或输出 schema。 - 涉及 MCP Adapter(
flydb-skills/mcp/、mcp.json或 MCP tools)时,以mcp-tools.md和11-plan-artifact.md为准;TypeScript 侧不得新增领域逻辑或第二套计划模型。 - 接入新 JDBC 数据库、厂商数据库或信创数据库前,先读
jdbc-integration.md及对应数据库指南。 - 纯文档任务只需读取本文件和相关源文档,不要求安装 Skill,也不要求连接数据库。
2. 仓库结构与版本边界
| 路径 | 职责 | Java 边界 |
|---|---|---|
flydb-core |
公共 API、迁移引擎、方言 SPI | Java 8,零第三方运行时依赖 |
flydb-cli |
picocli CLI 与发行包 | Java 8 |
flydb-spring-boot-2-starter |
Spring Boot 2.7 自动装配 | Java 8 |
flydb-spring-boot-3-starter |
Spring Boot 3 自动装配 | Java 17 |
flydb-integration-tests |
Testcontainers 与数据库契约测试 | Java 17 |
examples |
Boot 2/3 可运行示例 | 跟随对应 starter |
docs/design |
已确认的架构、领域与实现契约 | 不适用 |
docs/reference |
CLI、配置和错误码的事实来源 | 不适用 |
flydb-skills |
迁移与独立分析 Agent Skill、MCP 适配与评测 | 不适用 |
完整模块关系和依赖边界见 01-modules.md。
3. 修改规则
docs/design中标记为“契约”或“决策”的内容不能静默偏离。设计与实现冲突时, 先说明冲突及影响,再决定是修代码还是更新设计。- 修改公共 API、CLI 行为、配置键、错误码、驱动加载或数据库支持范围时,必须同步
更新对应测试和源文档;随后检查
flydb-cli/SKILL.md是否仍保持薄引用而未复制手册。 flydb-core不得新增非test作用域依赖。core、CLI、Boot 2 starter 不得使用 Java 9+ 语法或 API;Boot 3 专属代码不得下沉到 Java 8 模块。- 优先在公共边界补回归测试,再修改实现。迁移发现、版本选择、状态推导等共享语义 应复用既有领域对象,不能在 CLI、starter 或方言中另写一套规则。
- 不下载、提交或重新分发厂商 JDBC 驱动。测试依赖和真实数据库验证必须符合厂商 许可证及当前环境授权。
- 不改动与当前任务无关的用户工作区变更,也不要为了通过检查删除或重写已有产物。
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.
- 2mo ago Changed · +8 tokens per session 7a3c61a0deac
- 2mo ago First seen · 102 lines · 1,770 tokens per session scan A a219df2a203a
Flydb AGENTS.md is an instructions file published in the GitHub repository zzxCoding/Flydb (11 stars, last pushed 8d ago), licensed Apache-2.0. It adds 1,778 tokens to every session, about $0.0071 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.
Flydb AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Flydb AGENTS.mdzzxCoding/Flydb | Instructions file | 11 | 8d ago | Apache-2.0 | A | 1,778 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |