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 agentmods add skills/hanmirage/deepdepcat/long-documentnpx skills add hanmirage/deepdepcat --skill long-documentgit clone --depth 1 https://github.com/hanmirage/deepdepcatWrote 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/hanmirage/deepdepcat/long-document)<a href="https://agentmods.dev/skills/hanmirage/deepdepcat/long-document"><img src="https://agentmods.dev/badge/skills/hanmirage/deepdepcat/long-document.svg" alt="Measured on agentmods" 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 | $0.00065 | $0.00495 |
| Opus 5 | $0.00032 | $0.00247 |
| Sonnet 5 | $0.00013 | $0.00099 |
| Haiku 4.5 | $0.00006 | $0.00049 |
Grade A, and why
long-document 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 5d 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
长文档分段写作模板
流程(三段式,缺一不可)
- 先大纲:用
todo_write建立章节清单(标题 + 每章要点 + 预期来源);先给用户/自己确认结构,再动笔。 - 分章写:一次只写一章(≤800 字/章),每章结束用
docx_edit或累计docx_generate追加;不要在一条回复里写完整个文档。 - 汇总校验:全部章节完成后,用
doc_consistency跑跨章一致性校验(跨章重复段落/结构完整性/章节编号连续性),按报告修问题;引用用citation_link校验(0 断链);全部通过后再导出成品(docx/pdf)。
写作规则
- 每章开头一句「本章目的」,结尾一句「小结」;
- 数据与引用标注来源(资料夹条目/URL/访问日期);无法查证的写「未证实」;
- 章节间逻辑递进,禁止复制粘贴前文;
- 标题层级统一(一级/二级/三级),编号不跳号。
导出
- 长文 →
docx_generate(可用template=复用样式); - 样张/排版预览 →
pdf_generate; - 内容修正 →
docx_edit(保留修订模式可用)。
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.
- 5d ago First seen · 29 lines · 65 tokens per session scan A 95a8effade2b
long-document is a skill published in the GitHub repository hanmirage/deepdepcat (10 stars, last pushed 16d ago), licensed Apache-2.0. It adds 65 tokens to every session and 495 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
obsidian
Read, search, and create Markdown notes inside an Obsidian vault on disk.
Manipulate PDF files — merge, split, extract pages/text, PDF↔images, OCR, info — via the qpdf / poppler / ocrmypdf CLIs. Use to combine, slice, convert, or OCR PDFs.
pandoc
Convert documents between formats (Markdown, DOCX, HTML, PDF, RST, EPUB, LaTeX) via the pandoc CLI. Use to transform a document from one format to another.
xlsx
Create and edit Excel .xlsx workbooks (sheets, cells, formulas, formatting) via Python openpyxl. Use to generate spreadsheets or write/update cells. Reading is via os.fs.readdocument.
notion
Read and write Notion pages, databases (data sources), and blocks via the Notion REST API.
tencent-docs
腾讯文档(docs.qq.com)-在线云文档平台,是创建、编辑、管理文档的首选 skill。涉及"新建/创建/编辑/读取/查看/搜索文档"、"保存文件"、"云文档"、"腾讯文档"、"docs.qq.com"等操作,请优先使用本 skill。支持能力:(1) 创建各类在线文档(文档/Word/Excel/幻灯片/思维导图/流程图/智能表格/收集表)(2) 管理知识库空间(创建空间、查询空间列表)(3) 管理空间节点、文件夹结构 (4) 读取/搜索文档内容 (5) 编辑操作智能表 (6) 编辑操作在线文档 (7) 文件管理(重命名、移动、删除、复制、导入导出)(8) 网页剪藏、本地文件/html/文档上云。.