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 flanliulf/SpecLite --skill speclite-shard-docgit clone --depth 1 https://github.com/flanliulf/SpecLiteWrote 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/flanliulf/speclite/speclite-shard-doc)<a href="https://agentmods.dev/skills/flanliulf/speclite/speclite-shard-doc"><img src="https://agentmods.dev/badge/skills/flanliulf/speclite/speclite-shard-doc/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/flanliulf/speclite/speclite-shard-doc"><img src="https://agentmods.dev/badge/skills/flanliulf/speclite/speclite-shard-doc.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.00068 | $0.00740 |
| Opus 5.5 | $0.00027 | $0.00296 |
| Sonnet 5.5 | $0.00014 | $0.00148 |
| Haiku 4.5 | $0.00007 | $0.00074 |
Grade A, and why
speclite-shard-doc 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
[技能说明]
Speclite Shard Doc 使用 npx @kayvan/markdown-tree-parser 将大型 Markdown 文档按二级标题等结构拆分成更小、更易维护的文件,并生成 index。
[核心能力]
- 源文档校验:确认源路径存在、可访问且为 .md 文件。
- 目标目录选择:通用文档默认使用源文件同名目录;PRD、Epics、Architecture canonical subject document 必须使用源文件所在的 same subject directory。
- 分片执行:运行 npx @kayvan/markdown-tree-parser explode <source> <destination>。
- 输出验证:确认目标目录中生成文件和 index.md。
- 完成报告:报告源文件、目标目录、生成文件数量和工具输出。
- 原文处理:询问删除、归档或保留原文,并执行用户选择。
[执行流程]
1. 获取 source document;未提供时询问用户。
2. 验证文件存在、可访问且扩展名为 .md,否则 HALT。
3. 推导默认目标目录:若 source 是 {planning_artifacts}/prd/prd.md、{planning_artifacts}/epics/epics.md 或 {solutioning_artifacts}/architecture/architecture.md,destination 必须精确为 source parent(same subject directory);其它文档才使用同目录下以 source basename 命名的文件夹。询问用户确认或提供符合该约束的路径。
4. 确认目标目录存在或可创建,且有写权限。
5. 运行 npx @kayvan/markdown-tree-parser explode [source-document] [destination-folder]。
6. 验证输出文件和 index.md;无输出时 HALT。
7. 报告完成结果。
8. 询问用户如何处理原文:delete、move archive、keep,并执行所选操作。
[注意事项]
- 保留原文和分片版本会造成重复和后续加载混乱,应明确提醒用户。
- npx 命令失败或没有生成文件时必须 HALT。
- 删除或移动原文前必须获得用户选择。
- 对 archive 路径,默认使用源文件同目录 archive/ 子目录。
- PRD、Epics、Architecture 的分片必须生成 canonical index.md 并保持在 same subject directory;must not create a shards/ layer。
- 若用户选择保留 canonical whole document,报告 whole+sharded coexistence,并说明后续 consumer invocation 必须通过 speclite resolve artifact-documents ... --selection whole|sharded 显式选择;不得自动择一或混合。
What ships with it
1 file 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.
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 Changed · +1 lines 99d7969135c2
- 2mo ago First seen · 38 lines · 68 tokens per session scan A 9b38d9e14cfa
speclite-shard-doc is a skill published in the GitHub repository flanliulf/SpecLite (5 stars, last pushed 7d ago), licensed MIT. It adds 68 tokens to every session and 740 once invoked, about $0.0003 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-03.
speclite-shard-doc compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| speclite-shard-docflanliulf/SpecLite | Skill | 5 | 7d ago | MIT | A | 68 | Claude Code |
| research-codebasedoordash-oss/agentic-orchestrator | Skill | 136 | 2d ago | Apache-2.0 | A | 8 | Claude Code, Codex |
| review-commentsdoordash-oss/agentic-orchestrator | Skill | 136 | 2d ago | Apache-2.0 | A | 33 | Claude Code, Codex |
| supervisordoordash-oss/agentic-orchestrator | Skill | 136 | 2d ago | Apache-2.0 | A | 22 | Claude Code, Codex |
| validate-phase-plan-scopedoordash-oss/agentic-orchestrator | Skill | 136 | 2d ago | Apache-2.0 | A | 20 | Claude Code, Codex |
| validate-plan-securitydoordash-oss/agentic-orchestrator | Skill | 136 | 2d ago | Apache-2.0 | A | 10 | Claude Code, Codex |
| create-roadmapdoordash-oss/agentic-orchestrator | Skill | 136 | 2d ago | Apache-2.0 | A | 11 | Claude Code, Codex |