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 1mo 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.
- 1mo 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 5mo 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.
Other skills, from other repositories
stage-dsl
The map for reading and editing an OpenMAIC stage document with readstage, patchstage, and grepstage. Load it before patching a structure you have not patched before, when patchstage rejects an operation, or whenever the path from a stage, outline, scene, content object, or action to the field you need is uncertain.…
pptx-import
A method for adding an uploaded PowerPoint presentation to an existing classroom as extra pages while keeping the slides' original layout. PowerPoint is Microsoft's presentation file format.
good-docs-writing
Writing style guide derived from Modal's documentation voice. Apply when writing or editing docs, guides, tutorials, or technical prose that should read direct, second-person, confident, low-jargon, and example-first. Use to draft new docs in this voice or to revise existing prose toward it.
typescript-providers
Implement, modify, test, or document TypeScript provider packages under ts/packages/providers, including framework adapters for OpenAI, Anthropic, Google, LangChain, Mastra, Vercel, LlamaIndex, Cloudflare, Claude Agent SDK, and TypeSafe. Use for provider-specific TS work; do not use for core-only changes.
annotate-paper
Read the open paper and write study annotations into its PDF with zotero-cli - a context box on the title, a four-part summary on the abstract, role-coded abstract highlights, one box per figure panel with a teaching comment, colour-coded body highlights, and a reading note. Use when asked to "annotate", "read and…
dev-camp-deck
Creates a professional PowerPoint presentation about a Copilot Dev Camp lab or topic. Researches Microsoft Learn documentation, organizes content into a slide structure, and generates a polished deck with speaker notes. Use when user asks to "create a presentation on", "make a deck about", "build a slideshow for"…