scanned-standard-clause-verify

scanned-standard-clause-verify is a skill for Claude Code, Codex from eiway112/prefab-interior-skills. It costs 114 tokens per session (4,207 once invoked), scanned A, original, MIT.

A process for checking the identity and exact wording of clauses in official standards PDFs, including scanned documents. It verifies who published a standard, which version it is, and whether cited clauses, terms, limits, or formulas appear in the source.

In plain words
What is it for?
Use it to verify standard numbers, publication details, implementation dates, clause references, technical limits, and formulas before relying on them in a project.
Why use it?
It helps distinguish an officially verified requirement from an unconfirmed quotation or secondary copy. Scanned PDFs are image-based documents, so their text may need to be read from rendered pages.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to verify standard numbers, publication details, implementation dates, clause references, technical limits, and formulas before relying on them in a project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eiway112/prefab-interior-skills/scanned-standard-clause-verify
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.

Any agent
npx skills add eiway112/prefab-interior-skills --skill scanned-standard-clause-verify
Clone the repo
git clone --depth 1 https://github.com/eiway112/prefab-interior-skills

Made for: Claude Code, Codex.

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 scanned-standard-clause-verify

README.md
[![agentmods](https://agentmods.dev/badge/skills/eiway112/prefab-interior-skills/scanned-standard-clause-verify/github.svg)](https://agentmods.dev/skills/eiway112/prefab-interior-skills/scanned-standard-clause-verify)
Your own site
<a href="https://agentmods.dev/skills/eiway112/prefab-interior-skills/scanned-standard-clause-verify"><img src="https://agentmods.dev/badge/skills/eiway112/prefab-interior-skills/scanned-standard-clause-verify/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 scanned-standard-clause-verify

Your own site · 80×15
<a href="https://agentmods.dev/skills/eiway112/prefab-interior-skills/scanned-standard-clause-verify"><img src="https://agentmods.dev/badge/skills/eiway112/prefab-interior-skills/scanned-standard-clause-verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,207 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00114 $0.04207
Opus 5.5 $0.00046 $0.01683
Sonnet 5.5 $0.00023 $0.00841
Haiku 4.5 $0.00011 $0.00421

Measured 29d ago against content hash 7fc909b82fcb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scanned-standard-clause-verify scanned grade A with 1 finding 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 29d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- 建标库:WebFetch 重定向死循环 → `curl -A <UA>` 直抓
技能仓备份/scanned-standard-clause-verify/SKILL.md · 191 lines

How it starts

The opening of the file, as written. The whole thing — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.

标准条文核验流水线(scanned-standard-clause-verify)

定位

把"某标准某条文"从"声称存在"核验到"S1 级确认属实"的可重复流水线。源于装配式装修技能合集的官方核验实践(T/CECS 1018-2022、SJG 159-2024、DB33/T 1259-2021 等案例)。

S1 判定两要素:官方发布 + 官方文本核验。两要素齐备才标 S1;缺任一要素只能标"待官方核验",且不得单独支撑安全类 pass 结论。

输入

  • 标准编号(必需)
  • 本地官方出版物 PDF 或官方发布渠道线索(必需其一)
  • 待核验引用点清单(条文号/术语/限值/公式,可后续补充)

P0 硬前置(先于 Step 1 执行,不可跳过)

三道硬前置是 SSCV-R-P0-2 对账步的前置面,任何核验动作之前必须先执行;机算预检由仓内工具 程序文件/sscv_identity_precheck.py 产出记录(四节:控制台编码自查/封面三要素机筛/文本层可用性实测/既有否证回读),记录随核验报告保存。

前置一:封面页身份三要素硬前置

任何 PDF 进入核验流程,p001(封面页)必须强制渲染(dpi≥150)并逐字目视,三要素缺一不可:

  1. 编号:逐字读出标准编号;为占位符(如 JC/T ××××—202×)⇒ 该件非正式发布稿,不得作发布稿替代凭据。
  2. 稿别自标:封面自标"征求意见稿/送审稿/报批稿/草案"⇒ 该件为过程稿,不得采信为发布稿,即使其他页面内容看似完整。
  3. 日期:发布/实施日期为占位符(如 202X-XX-XX)⇒ 与 1、2 同判。

不得自 p002 起渲染(跳过封面=跳过本前置;CG-20260927-008 事故根因:渲染范围自 p002 起、封面页从未进入目视面)。工具机筛命中只是警示信号、零命中不等于已核验——已核验的唯一判据是核验报告中记录的逐字目视结果。

前置二:「文本层不可用」类宣称的最小验证

任何"文本层不可用/乱码/cmap 缺陷"类判定在落档前必须附最小验证三件:

  1. 抽取器实跑:至少一种抽取器(PyMuPDF/pdfplumber 等)实跑全份或代表页,报告可提取字符数;
  2. U+FFFD 命中计数:全份替换字符计数(为 0 才支持"不可用"结论);
  3. 控制台编码自查:先捕获 sys.stdout.encoding 再判——Windows 控制台 GBK 会把可提取的中文显示为乱码,乱码表象不得径判 PDF 缺陷(CG-20260927-008 事故根因:GBK 乱码被误诊为 PDF cmap 缺陷)。

前置三:授权读法须回读既有否证

收到"可以采信某副本"类授权时,落档前必须对该件既有否定性判定逐条回读并显式处置(采信/不采信+理由);回读面=核验报告与仓内既有记录(成果/、记录/、_专题_技能合集策划/,工具按 sha256 指纹检索)。授权改变的是采信口径,不解除文件自身缺项的登记义务(CG-20260927-008 事故根因)。

步骤

Step 1 身份核验

从官方出版物核验六要素:公告号(如有)、发布机构、发布日期、实施日期、主编单位、出版信息。

  • 执行本步前先跑「P0 硬前置」:封面页(p001)未经强制渲染与三要素逐字目视,本步不得开始;预检工具与记录要求见该节。
  • 日期优先级:PDF 封面 > 官方在线平台(如 openstd、全国标准信息公共服务平台)。封面与在线冲突时以封面为准。
  • 扫描版 PDF 用 PyMuPDF 渲染(dpi≥150)后用 Read 视觉读取封面/公告页;文本版直接提取。

Step 2 版本形态判定

  • 强水印重复出现 ≥3 次 → 判扫描版;辅助判据:可提取中文字符数异常低、机构名比例异常。
  • 文本版注意:目录顺序可能与正文不一致,引用条目编号以正文实际出现位置为准。

Step 3 提取路径选择

「文本层不可用」类判定须附「前置二」最小验证三件(抽取器实跑/U+FFFD 命中计数/控制台编码自查),不得以乱码表象径判。

形态 路径
文本版 pdfplumber 直接提取
扫描版 PyMuPDF dpi≥150 渲染 + Read 视觉读取(首选,T/CECS 案例验证有效);大篇幅再考虑 OCR 分块
目次页偏移 目录页码常与 PDF 物理页不一致:先用一条已知条文定位实际页,算出偏移量再批量定位

Read the full file on GitHub · 191 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. 29d ago Changed · +35 lines 7fc909b82fcb
  2. 2mo ago First seen · 156 lines · 114 tokens per session scan A e2af60536cbb

Subscribe to this mod's changes

scanned-standard-clause-verify is a skill published in the GitHub repository eiway112/prefab-interior-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 114 tokens to every session and 4,207 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.