luoome: Instructions file for Codex

AGENTS.md

luoome AGENTS.md is an instructions file for Codex, OpenCode from KowL/luoome. It costs 1,588 tokens per session, scanned A, original, MIT.

Repository instructions for developing the luoome coding agent and its related command-line, web, terminal, and MCP interfaces.

In plain words
What is it for?
They help agents inspect the right files, preserve package boundaries, follow the project's tool and schema contracts, and avoid unrelated changes when modifying luoome.
Why use it?
They give coding agents the project's authoritative rules, boundaries, documentation sources, and development conventions before changes are made.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

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

View source ↗ KowL/luoome
Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/KowL/luoome/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/KowL/luoome

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 luoome AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kowl/luoome/agents-md/github.svg)](https://agentmods.dev/instructions/kowl/luoome/agents-md)
Your own site
<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.

agentmods 80×15 button for luoome AGENTS.md

Your own site · 80×15
<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>
Per session 1,588 This file is loaded in full into every session.
When invoked 1,588 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.01588 $0.01588
Opus 5.5 $0.00635 $0.00635
Sonnet 5.5 $0.00318 $0.00318
Haiku 4.5 $0.00159 $0.00159

Measured 2mo ago against content hash f6738c276feb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

AGENTS.md · 97 lines

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 为准。

开始修改前

  1. 查看当前分支和工作树,区分用户已有改动与本任务改动。
  2. 读取目标文件及相邻测试,确认现有模式后再写代码。
  3. 涉及领域概念时先读 CONTEXT.md;涉及跨包契约时读 docs/ARCHITECTURE.md 对应章节。
  4. 只实现明确需求,不顺手加功能、兼容层、抽象或无关重构。
  5. 优先编辑已有文件;除需求确实需要外,不新建文档、配置或 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 与 .js import 后缀;格式和 lint 以 Biome 为准。
  • 信任内部类型和框架保证,只在用户输入、HTTP、MCP、外部 API 等系统边界校验。
  • 不变量放在 core 的 schema/assertion 中,不在各 surface 重复实现。
  • 不新增自动交易路径;Watchlist、AlertPlan、WatchTrigger 等产品语义以 CONTEXT.md 为准。
  • Web 保持 Hono + 原生 HTML/CSS/JS 的现有技术栈;UI 改动除自动测试外必须实际启动并用浏览器验证。
  • 默认不写解释代码“做什么”的注释;仅在隐藏约束、非显然原因或必要 workaround 处说明“为什么”。
  • 不为无法发生的内部状态增加 fallback;外部依赖失败按已有错误模型处理。

Read the full file on GitHub · 97 lines

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. 2mo ago First seen · 97 lines · 1,588 tokens per session scan A f6738c276feb

Subscribe to this mod's changes

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.

Related

luoome AGENTS.md compared with instructions from other repositories

luoome AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
luoome AGENTS.mdKowL/luoomeInstructions file02d agoMITA1,588Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot