Borrowing it
Nothing to install: this file belongs to KowL/luoome. 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/KowL/luoome/main/AGENTS.mdgit clone --depth 1 https://github.com/KowL/luoomeWrote 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/kowl/luoome/agents-md)<a href="https://agentmods.dev/instructions/kowl/luoome/agents-md"><img src="https://agentmods.dev/badge/instructions/kowl/luoome/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/kowl/luoome/agents-md"><img src="https://agentmods.dev/badge/instructions/kowl/luoome/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.01588 | $0.01588 |
| Opus 5.5 | $0.00635 | $0.00635 |
| Sonnet 5.5 | $0.00318 | $0.00318 |
| Haiku 4.5 | $0.00159 | $0.00159 |
Grade A, and why
luoome 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 — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — luoome 编码 Agent 开发规范
本文件面向在仓库内修改代码的 Claude Code、Codex、Cursor 等编码 Agent。 如果要让外部 Agent 调用 luoome,请安装 luoome Skill,不要把本文件当作 MCP 接入手册。
权威资料
| 主题 | 事实来源 |
|---|---|
| 项目入口与环境变量 | README.md |
| 文档导航 | docs/README.md |
| 领域语言 | CONTEXT.md |
| 模块边界、数据流、Tool/Workflow 契约 | docs/ARCHITECTURE.md |
| 开发环境、代码规范、扩展与 PR 流程 | docs/CONTRIBUTING.md |
| 副作用、鉴权与投资建议边界 | docs/SECURITY.md |
| 命令和测试入口 | package.json |
不要在本文件复制完整 tool 清单、测试数量或版本快照。运行时 tool 库存以 packages/tools/src/registry.ts、MCP discovery 和 luoome tools list --json 为准。
开始修改前
- 查看当前分支和工作树,区分用户已有改动与本任务改动。
- 读取目标文件及相邻测试,确认现有模式后再写代码。
- 涉及领域概念时先读
CONTEXT.md;涉及跨包契约时读docs/ARCHITECTURE.md对应章节。 - 只实现明确需求,不顺手加功能、兼容层、抽象或无关重构。
- 优先编辑已有文件;除需求确实需要外,不新建文档、配置或 helper。
架构硬约束
cli / tui / mcp / web ──► tools ──► core
│
└─► { db, adapters } ──► core
workflows ──► tools ──► core
packages/core是纯领域层,零 IO,不反向依赖其它包。db与adapters可依赖core,不可依赖tools、workflows或 surface。- CLI、TUI、MCP、Web 统一通过 tools 使用业务能力,不复制领域逻辑。
- Tool 的 input/output 由 Zod schema 定义,并派生 TypeScript、MCP 与 OpenAI schema。
- Tool 对调用方永远返回
ToolResult;失败使用既有ToolError.kind,不把异常泄漏为调用协议。 - Workflow 只通过
ctx.tools.*编排能力,不直接绕过 tool 调 repository 或 adapter。 - 新 repository 必须同时提供 drizzle 与 in-memory 实现,并复用 contract tests 验证一致性。
- Drizzle schema 与
ensureSchema的 SQLite DDL 必须同步;存量库变更要保持启动迁移幂等。
实现约定
- 使用 Bun workspace、TypeScript strict、ESM 与
.jsimport 后缀;格式和 lint 以 Biome 为准。 - 信任内部类型和框架保证,只在用户输入、HTTP、MCP、外部 API 等系统边界校验。
- 不变量放在 core 的 schema/assertion 中,不在各 surface 重复实现。
- 不新增自动交易路径;
Watchlist、AlertPlan、WatchTrigger等产品语义以CONTEXT.md为准。 - Web 保持 Hono + 原生 HTML/CSS/JS 的现有技术栈;UI 改动除自动测试外必须实际启动并用浏览器验证。
- 默认不写解释代码“做什么”的注释;仅在隐藏约束、非显然原因或必要 workaround 处说明“为什么”。
- 不为无法发生的内部状态增加 fallback;外部依赖失败按已有错误模型处理。
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 First seen · 97 lines · 1,588 tokens per session scan A f6738c276feb
luoome AGENTS.md is an instructions file published in the GitHub repository KowL/luoome (0 stars, last pushed 2d ago), licensed MIT. It adds 1,588 tokens to every session, about $0.0064 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.
luoome AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| luoome AGENTS.mdKowL/luoome | Instructions file | 0 | 2d ago | MIT | A | 1,588 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |