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.
npx agentmods add instructions/kowl/luoome/agents-mdgit clone --depth 1 https://github.com/KowL/luoomeWhat 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 | $0.01588 | $0.01588 |
| Opus 5 | $0.00794 | $0.00794 |
| Sonnet 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 2d 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.
- 2d 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.0079 per session on Opus 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.
Other instructions, from other repositories
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).
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.
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.
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.
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).
next.js AGENTS.md
Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.