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.
npx skills add AIGNE-io/doc-smith-skills --skill doc-smith-checkgit clone --depth 1 https://github.com/AIGNE-io/doc-smith-skillsWrote 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.
[](https://agentmods.dev/skills/aigne-io/doc-smith-skills/doc-smith-check)<a href="https://agentmods.dev/skills/aigne-io/doc-smith-skills/doc-smith-check"><img src="https://agentmods.dev/badge/skills/aigne-io/doc-smith-skills/doc-smith-check/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.
<a href="https://agentmods.dev/skills/aigne-io/doc-smith-skills/doc-smith-check"><img src="https://agentmods.dev/badge/skills/aigne-io/doc-smith-skills/doc-smith-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00035 | $0.00731 |
| Opus 5.5 | $0.00014 | $0.00292 |
| Sonnet 5.5 | $0.00007 | $0.00146 |
| Haiku 4.5 | $0.00003 | $0.00073 |
Grade A, and why
doc-smith-check 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.
What it actually says
Doc-Smith 文档检查
校验 Doc-Smith workspace 的结构和内容完整性。
用法
/doc-smith-check # 全部检查(结构 + 内容)
/doc-smith-check --structure # 只检查结构
/doc-smith-check --content # 只检查内容
/doc-smith-check --content --path /api/auth # 检查指定文档
选项
| 选项 | 别名 | 说明 |
|---|---|---|
--structure |
-s |
只运行结构检查 |
--content |
-c |
只运行内容检查 |
--path <docPath> |
-p |
指定文档路径(可多次使用,仅与 --content 配合) |
校验规则
结构校验 (--structure)
执行脚本:node skills/doc-smith-check/scripts/check-structure.mjs
校验 planning/document-structure.yaml:
- YAML 语法正确
- 每个文档有 title、path、description
- path 以
/开头 - sourcePaths 格式正确
- 可自动修复的格式错误会自动修复并提示重新读取
内容校验 (--content)
执行脚本:node skills/doc-smith-check/scripts/check-content.mjs [--path <p>]
校验 dist/ 中的 HTML 和 docs/ 中的元数据:
| 校验项 | 说明 |
|---|---|
| HTML 文件存在 | dist/{lang}/docs/{path}.html |
| .meta.yaml 存在 | docs/{path}/.meta.yaml,含 kind/source/default |
| nav.js 存在 | dist/assets/nav.js |
| 内部链接有效 | 链接目标文档存在,无 .md 后缀 |
| 图片可访问 | 本地图片文件存在,远程图片可达 |
| 路径格式 | MD 源文件应使用 /assets/ 格式,../../assets/ 旧格式产生警告 |
路径格式校验
内容校验自动包含路径格式检查:
- 若
docs/{path}/下存在.md源文件,检查其中的图片引用格式 - 使用
/assets/xxx格式 → 通过 - 使用
../../assets/xxx旧格式 → 产生警告,建议迁移到/assets/格式 - 代码块中的路径不触发警告
错误处理
- 结构检查失败:根据错误信息修正
document-structure.yaml,重新检查 - 内容检查失败:根据问题类型(缺失文档/链接错误/图片问题)采取对应行动
- 依赖未安装:
cd skills/doc-smith-check/scripts && npm install
被其他 Skill 调用
- 生成 document-structure.yaml 后:
/doc-smith-check --structure - 生成文档内容后:
/doc-smith-check --content - 结束前最终校验:
/doc-smith-check
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- scripts/check-content.mjs 7.5 KB runs code
- scripts/check-structure.mjs 8.4 KB runs code
- scripts/clean-invalid-docs.mjs 7.8 KB runs code
- scripts/package-lock.json 724 B
- scripts/package.json 149 B
- scripts/utils.mjs 5.7 KB runs code
- scripts/validate-content.mjs 33 KB runs code
- scripts/validate-structure.mjs 13 KB runs code
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.
- 2mo ago First seen · 75 lines · 35 tokens per session scan A 174f43658e50
doc-smith-check is a skill published in the GitHub repository AIGNE-io/doc-smith-skills (9 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 35 tokens to every session and 731 once invoked, about $0.0001 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.
doc-smith-check compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| doc-smith-checkAIGNE-io/doc-smith-skills | Skill | 9 | 7mo ago | Apache-2.0 | A | 35 | Claude Code |
| orbit-notionnexu-io/open-design | Skill | 106k | yesterday | Apache-2.0 | A | 117 | Claude Code, Codex |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 35k | 2d ago | Apache-2.0 | A | 123 | Claude Code |
| apify-youtube-transcript-scrapersickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 48 | Claude Code |
| legal-holdanthropics/claude-for-legal | Skill | 9.9k | 3d ago | Apache-2.0 | A | 68 | Claude Code |
| ppt-reviewOrkas-AI/Orkas | Skill | 9.0k | yesterday | MIT | A | 2 | Claude Code, Codex |
| feishuHmbown/CodeWhale | Skill | 41k | 5d ago | MIT | A | 33 | Claude Code, Codex |