omdp AGENTS.md

omdp AGENTS.md is an instructions file for Codex, OpenCode from XJungit/omdp. It costs 910 tokens per session, scanned A, original, MIT.

A repository instruction file for OMDP, a collection of JavaScript DSH plugins kept in one monorepo, meaning one repository containing several related projects. It sets rules for research, documentation, deletion, testing, and publishing.

In plain words
What is it for?
Maintaining OMDP plugins, checking DSH compatibility, updating bilingual and project documentation, recording development notes, and following safe release practices.
Why use it?
It prevents plugin changes from being made on guessed APIs and requires related documentation and lessons to stay up to date.

Instructions file for CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/xjungit/omdp/agents-md
Clone the repo
git clone --depth 1 https://github.com/XJungit/omdp

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/xjungit/omdp/agents-md.svg)](https://agentmods.dev/instructions/xjungit/omdp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/xjungit/omdp/agents-md"><img src="https://agentmods.dev/badge/instructions/xjungit/omdp/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 910 This file is loaded in full into every session.
When invoked 910 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00910 $0.00910
Opus 5 $0.00455 $0.00455
Sonnet 5 $0.00182 $0.00182
Haiku 4.5 $0.00091 $0.00091

Measured 3d ago against content hash 66519e0fa5d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

omdp 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 3d 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 · 58 lines

What it actually says

AGENTS.md — OMDP 仓库开发规范

本文档约束任何在 D:\WorkSpace\omdp 仓库内工作的 agent(含后续会话)。 仓库 = @omdp/* 系列 DSH 插件 monorepo(当前活跃:dsh-connectordsh-vision-bridgedsh-key-fallback;历史归档在 archive/)。

工作前提(先读再做)

  • 动手改动任何 DSH 插件前,先研读 DSH 源码/官方文档/相关插件真实实现, 禁止凭印象或猜 API(维护/优化/编写插件铁律)。
  • 删除任何文件前,逐条列出完整绝对路径核对;有价值先备份;删后立即验证。
  • 本仓库是普通 JavaScript(无构建步骤),本地优先用 link: 安装调试。

规范 1:文档随插件同步更新

插件有任何更新(源码、配置、版本号、行为变化、发布动作)时,必须主动同步更新所有相关文档

  • 对应插件自己的 README.md(及双语 README.zh-CN.md)——功能、版本、Requirements;
  • README.md——插件列表/版本号/目录树有变化时;
  • docs/ 下相关文档——plugin-compatibility.md(兼容性矩阵)、npm-publish.md(发布流程)等;
  • 若改动产生了新的坑或经验,同时遵守规范 2 追加笔记。

判定标准:一次插件改动完成后,git 提交里应同时包含「代码/配置改动」与 「所有受影响文档更新」,不允许只改代码不带文档提交。

规范 2:教训经验主动沉淀为文档笔记

在维护、创建、修改插件过程中产生的教训、经验、坑、决策依据、可复用结论, 都要在工作完成后主动写入文档笔记,结构为三层:

notes/                        # 第一层:文档笔记
  └── <yyyy-MM-dd>/           # 第二层:时间(按日期排序)
      └── <category>/           # 第三层:按功能/主题分类
          └── <描述性名称>.md    # 一篇笔记一个主题
  • 时间层YYYY-MM-DD 格式(如 2026-08-28/),自然排序即时间线。
  • 分类层(第三层),按主题归类,先有稳定分类再用新分类:
    • dsh-compat/ — DSH 版本适配/兼容性排查
    • plugin-dev/ — 插件开发/重构/架构
    • dsh-internals/ — DSH 源码研究(API 契约、事件载荷)
    • deploy/ — 部署、发布、npm
    • debug/ — 排障记录(根因→修复→验证)
    • tooling/ — 环境、工具链、git/npm/sandbox 坑
  • 一篇笔记一个主题,文件名用简短描述(kebab 或直接中文皆可); 内容至少含:背景/问题 → 结论或根因 → 可复用要点(含相关文件或命令)。
  • 写完笔记在当次回复中提一句,随同一提交入库。

笔记索引

notes/README.md 维护目录结构与命名约定(见上)。笔记不需要全局索引—— 按「时间 → 分类」定位即可,必要时在 docs/ 里放跨笔记的汇总文档。

提交约定

  • 一次完成的工作(含文档 + 笔记)建议一次提交;
  • 提交信息写明:做了什么 + 涉及哪些文档/笔记。
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. 3d ago First seen · 58 lines · 910 tokens per session scan A 66519e0fa5d3

Subscribe to this mod's changes

omdp AGENTS.md is an instructions file published in the GitHub repository XJungit/omdp (2 stars, last pushed 3d ago), licensed MIT. It adds 910 tokens to every session, about $0.0046 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.