AGENTS.md@skills/tighten-doc/scriptsA

AGENTS.md@skills/tighten-doc/scripts from ccoalm/ccl-skills is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add ccoalm/ccl-skills/skills/tighten-doc/scripts/AGENTS.md@git:20260825.5f2e4f2

Pins git:20260825.5f2e4f2 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
ccoalm/ccl-skills
Path
skills/tighten-doc/scripts/AGENTS.md
Versions recorded
1
Latest version
git:20260825.5f2e4f2, committed Aug 25, 2026
Size
4,191 bytes
Repository stars
6
License
Apache-2.0

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# skills/tighten-doc/scripts Agent Contract

这里的脚本对交付文档的**图与表**做起草期确定性检查:`figure-lint.py` 查 SVG,
`doc-lint.py` 查 Markdown 的表格与结构。判据与其依据档位定义在
`../references/figure-and-table-craft.md`。

Rules:

- **每条谓词必须标依据档位**,并与 `figure-and-table-craft.md` §1 的分档一致:
  `[外]` 有权威一手源、`[工]` 工程约定(不得声称行业最佳实践)、`[禁]` 查证后确认无来源。
  新增谓词若属 `[工]`,其阈值必须在代码注释里明说是拍的下界,不得写成像有依据的样子。
- **不引入"可读性阈值"类的无据数字**。加粗密度、图表密度、行宽字数、句长这几类已核实无可靠来源
  (见 `figure-and-table-craft.md` §1 的 `[禁]` 档),不得以任何形式重新引入。
- **一致性判为契约符合性,不判魔数**:偏离已声明的 `figure-contract.json` 才报,
  "几档算多"不是判据;契约缺失单独报 `CONTRACT-MISSING`。
- **对比度检查必须解析文本实际压着的底色**,不得假定白底——假定白底会把压在色块上的白字误报。
- 谓词钉在**结构与实体**上,不钉在文件名或标题词表上。
- 两个 linter 的退出码语义一致(含 `--json` 模式):有 ERROR 返回 1、仅 WARN 返回 2、干净返回 0。
  改其中一个必须同步另一个,否则调用方会把正常结果当执行失败。

Validation(缺一不可):

- `bash skills/tighten-doc/scripts/test_figure_and_doc_lint.sh` —— 逐谓词差分 + 契约三态正负例。
  **改判据必须同步改 fixture**:本目录踩过"修完误报后 fixture 当场失效却仍通过"。
- **新增或修改谓词后必须做突变实测**:跑 `bash skills/tighten-doc/scripts/mutation_probe.sh`——
  它逐谓词把 code 字面量替换掉使其在结果中消失,确认套件转红;任一谓词仍绿即无覆盖,脚本退出非 0。
  该脚本是可重跑的证据,不是一次性命令:评审方可自行执行核对。两条已踩过的坑——① 突变要作用在 oracle 实际观测的维度上
  (改 severity 而断言比 code 集合 = 无效突变,会全绿假通过);② 突变判据要看**退出码**,
  只看有无 `FAIL` 行会把脚本崩溃读成绿。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ccoalm/ccl-skills/skills/tighten-doc/scripts/AGENTS.md@sha256:f8e211e223305ad9

The line at the top of this page pins the label git:20260825.5f2e4f2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_eheuku52xgazvzg4.svg)](https://markdownregistry.com/a/art_eheuku52xgazvzg4)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Aug 25, 2026.

versioncommittedcommitsizeaudit
git:20260825.5f2e4f2 latest2026-08-25 5f2e4f2 4,191 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (4191 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

ccoalm/ccl-skills · 6 stars · license Apache-2.0 · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_eheuku52xgazvzg4
GET https://markdownregistry.com/api/v1/resolve?ref=ccoalm/ccl-skills/skills/tighten-doc/scripts/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/f8e211e223305ad9535531fd3abede8884d859a0fda01e103e6ef1700909c478

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from ccoalm/ccl-skills

AGENTS.md AGENTS.md file
ccoalm/ccl-skills · AGENTS.md
git:20261003.5ac538d · audit A · 6 stars
AGENTS.md@eval AGENTS.md file
ccoalm/ccl-skills · eval/AGENTS.md
git:20261004.932325c · audit A · 6 stars
AGENTS.md@eval/evidence/placement-face-2026-08-28 AGENTS.md file
ccoalm/ccl-skills · eval/evidence/placement-face-2026-08-28/AGENTS.md
git:20260829.e0c8729 · audit A · 6 stars
AGENTS.md@eval/evidence/placement-face-2026-08-28/arms AGENTS.md file
ccoalm/ccl-skills · eval/evidence/placement-face-2026-08-28/arms/AGENTS.md
git:20260829.e0c8729 · audit A · 6 stars
AGENTS.md@eval/evidence/routing-bank-runner-round-2026-08-14 AGENTS.md file
ccoalm/ccl-skills · eval/evidence/routing-bank-runner-round-2026-08-14/AGENTS.md
git:20260815.594239a · audit A · 6 stars
AGENTS.md@eval/evidence/routing-new-tighten-vs-owner-2026-08-15 AGENTS.md file
ccoalm/ccl-skills · eval/evidence/routing-new-tighten-vs-owner-2026-08-15/AGENTS.md
git:20260815.14dfddf · audit A · 6 stars
AGENTS.md@eval/evidence/routing-p3-log-plus-test-2026-08-14 AGENTS.md file
ccoalm/ccl-skills · eval/evidence/routing-p3-log-plus-test-2026-08-14/AGENTS.md
git:20260814.f4c1164 · audit A · 6 stars
AGENTS.md@eval/evidence/zh-doc-borrow-2026-08-27 AGENTS.md file
ccoalm/ccl-skills · eval/evidence/zh-doc-borrow-2026-08-27/AGENTS.md
git:20260828.6e3ddd8 · audit A · 6 stars
AGENTS.md@eval/evidence/zh-doc-borrow-2026-08-27/arms AGENTS.md file
ccoalm/ccl-skills · eval/evidence/zh-doc-borrow-2026-08-27/arms/AGENTS.md
git:20260828.6e3ddd8 · audit A · 6 stars
AGENTS.md@eval/skill-effectiveness AGENTS.md file
ccoalm/ccl-skills · eval/skill-effectiveness/AGENTS.md
git:20260812.206facb · audit A · 6 stars
AGENTS.md@hooks AGENTS.md file
ccoalm/ccl-skills · hooks/AGENTS.md
git:20260812.206facb · audit A · 6 stars
AGENTS.md@packages AGENTS.md file
ccoalm/ccl-skills · packages/AGENTS.md
git:20260815.1f122f5 · audit A · 6 stars

Every file in ccoalm/ccl-skills

Browse by kind, by grade A, or by owner.