ldm-skill: Instructions file for Codex

AGENTS.md

ldm-skill AGENTS.md is an instructions file for Codex, OpenCode from Holden323/ldm-skill. It costs 716 tokens per session, scanned A, original, MIT.

A set of AGENTS.md instructions for maintaining a repository of reusable agent skills. It explains the repository layout, writing rules, change process, and completion checks.

In plain words
What is it for?
Use it when creating or changing skills, reviewing their structure, checking references, or validating that instructions do not overreach.
Why use it?
It gives contributors consistent rules for deciding what belongs in a skill and where its instructions, scripts, references, and evaluations should live.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

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

Reuse

Borrowing it

Nothing to install: this file belongs to Holden323/ldm-skill. 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/Holden323/ldm-skill/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Holden323/ldm-skill

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 ldm-skill AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/holden323/ldm-skill/agents-md/github.svg)](https://agentmods.dev/instructions/holden323/ldm-skill/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/holden323/ldm-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/holden323/ldm-skill/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 ldm-skill AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/holden323/ldm-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/holden323/ldm-skill/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 716 This file is loaded in full into every session.
When invoked 716 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.00716 $0.00716
Opus 5.5 $0.00286 $0.00286
Sonnet 5.5 $0.00143 $0.00143
Haiku 4.5 $0.00072 $0.00072

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

Security

Grade A, and why

ldm-skill 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 1mo 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 · 41 lines

What it actually says

ldm-skill 仓库规则

仓库定位

这是李大魔个人 Skill 的公开真源。每个 Skill 必须来自真实、重复发生的工作流,并能在不依赖私人上下文的情况下使用。

目录

  • skills/<skill-name>/SKILL.md:Skill 入口,只放用途、决策标准、核心流程和资源路由。
  • skills/<skill-name>/references/:只在特定场景需要的规则、格式、案例和说明。
  • skills/<skill-name>/scripts/:重复执行且适合确定性实现的操作。
  • skills/<skill-name>/evals/:验证触发边界和关键行为,不校验固定措辞。

编写规则

  • 假设模型已经具备通用能力,只写会改变决策、避免真实错误或提高稳定性的内容。
  • 一个 Skill 聚焦一项可复用工作。相邻能力应在 description 中写清边界,不用包罗万象。
  • Frontmatter 至少包含 name 和 description。名称与目录一致,使用小写字母、数字和连字符。
  • description 说明“做什么、何时使用”,并包含用户实际会说的触发表达。详细流程不要堆在 frontmatter。
  • 用户当前明确指令优先于 Skill 的默认流程。Skill 不得把“推荐步骤”写成阻止用户明确请求的硬卡点。
  • 绝对措辞只用于安全、真实性、不可逆操作或已验证的脆弱流程。风格判断和启发式扫描必须标为候选信号。
  • 主入口保持精简。条件化规则、长案例、平台差异和历史教训放入 references/,并注明何时读取。
  • 同一规则只维护一处。README 面向安装者,SKILL 面向 Agent,不复制整套操作手册。
  • 反复重写的确定性逻辑放进脚本;脚本输出事实或候选项,不冒充需要语境判断的结论。
  • 不写与平台策略、安全机制或全局个人偏好重复的规则。

修改流程

  • 修改前读取目标 SKILL.md 及其直接引用的资源,确认调用关系后再删改。
  • 保留用户选择、公开接口、文件格式和真实业务约束;不要把一次事故扩写成普遍规则。
  • 新增或大改 Skill 时,检查真实使用场景、近邻误触发场景和明确指令覆盖默认流程的场景。
  • 修改脚本后运行语法检查、--help 或最小样例;只改文档时不添加复述实现的测试。

完成标准

  • Frontmatter 可解析,名称与目录一致,描述能准确触发且不会吸引无关任务。
  • SKILL.md 中每个引用路径都存在,并说明读取条件。
  • 没有相互冲突、重复维护或无条件阻塞用户的规则。
  • 相关脚本和行为评测通过,最终 diff 已复查。
  • 不提交凭证、缓存、__pycache__、.pyc、临时文件或备份文件。
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. 1mo ago First seen · 41 lines · 716 tokens per session scan A 68329d05a0f5

Subscribe to this mod's changes

ldm-skill AGENTS.md is an instructions file published in the GitHub repository Holden323/ldm-skill (43 stars, last pushed 1mo ago), licensed MIT. It adds 716 tokens to every session, about $0.0029 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-09-22.

Related

Other instructions, from other repositories