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 Ghostricke9/StudyAgent --skill document-compilergit clone --depth 1 https://github.com/Ghostricke9/StudyAgentWrote 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/ghostricke9/studyagent/document-compiler)<a href="https://agentmods.dev/skills/ghostricke9/studyagent/document-compiler"><img src="https://agentmods.dev/badge/skills/ghostricke9/studyagent/document-compiler/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/ghostricke9/studyagent/document-compiler"><img src="https://agentmods.dev/badge/skills/ghostricke9/studyagent/document-compiler.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.00026 | $0.00668 |
| Opus 5.5 | $0.00010 | $0.00267 |
| Sonnet 5.5 | $0.00005 | $0.00134 |
| Haiku 4.5 | $0.00003 | $0.00067 |
Grade A, and why
document-compiler 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 3mo 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
技能:汇编最终教材
何时使用
当你已经完成所有章节的编撰和练习题的生成,需要将它们组装成一本完整、排版精良的教学教材时,调用此技能。
子资源文件
本技能目录下附带辅助资源,可按需使用:
| 文件 | 用途 | 何时使用 |
|---|---|---|
templates/cover.md |
教材封面模板 | 组装教材时引用,生成统一的封面页 |
templates/style_guide.md |
排版风格指南 | 统稿时参考,确保全书风格一致 |
scripts/word_counter.py |
字数统计脚本 | 执行 python {skill_dir}/scripts/word_counter.py <file> 检查篇幅 |
汇编步骤
-
统稿:阅读所有已生成的章节,检查术语一致性
- 同一概念在不同章节是否用了相同叫法
- 示例代码的变量命名风格是否一致
- 参考
templates/style_guide.md中的规范
-
生成封面:为教材添加标准封面
- 使用
templates/cover.md中的模板 - 填入主题名称、章节数、生成日期
- 使用
-
组装目录:为整本教材生成目录
- 列出所有章节标题和对应页码(可用 Markdown 锚点替代)
-
编排顺序:按以下顺序组装最终教材:
封面 → 目录 → 学习路线图(如有)→ 第1章 → 练习题1 → 第2章 → 练习题2 → ... → 附录/参考资料 -
控制篇幅:统稿后如果某章过长或过短,可以用
scripts/word_counter.py检查并调整
输出格式
最终教材使用以下 Markdown 结构:
# [教材名称]
> **编著**: StudyHelper Agent
> **日期**: YYYY-MM-DD
> **章节**: N章 | **配套练习**: N套
---
## 目录
1. [第1章: 标题](#第1章)
- 练习题
2. [第2章: 标题](#第2章)
- 练习题
...
---
## 第1章: [标题]
[正文内容]
---
## 练习题: [第1章名称]
[练习题内容]
---
## 第2章: [标题]
...
完成动作
汇编完成后,使用 save_document 将完整教材保存为 Markdown 文件。
What ships with it
3 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.
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.
- 3mo ago First seen · 86 lines · 26 tokens per session scan A a6b216f254d8
document-compiler is a skill published in the GitHub repository Ghostricke9/StudyAgent (6 stars, last pushed 6mo ago), licensed MIT. It adds 26 tokens to every session and 668 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.
document-compiler compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| document-compilerGhostricke9/StudyAgent | Skill | 6 | 6mo ago | MIT | A | 26 | Claude Code, Codex |
| stage-dslTHU-MAIC/OpenMAIC | Skill | 45k | 2d ago | MIT | A | 104 | Claude Code, Codex |
| pptx-importTHU-MAIC/OpenMAIC | Skill | 45k | 2d ago | MIT | A | 125 | Claude Code, Codex |
| good-docs-writingComposioHQ/composio | Skill | 31k | today | MIT | A | 70 | Claude Code, Codex |
| typescript-providersComposioHQ/composio | Skill | 31k | today | MIT | A | 73 | Claude Code, Codex |
| annotate-paper54yyyu/zotero-mcp | Skill | 6.1k | 6d ago | MIT | A | 82 | Claude Code, Codex |
| explain-thisDannyMac180/skills | Skill | 895 | yesterday | MIT | A | 145 | Claude Code, Codex |