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/sillydaibo/reasflow-dev/chapter-compilationnpx skills add sillyDaibo/reasflow-dev --skill chapter-compilationgit clone --depth 1 https://github.com/sillyDaibo/reasflow-devWhat 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.00024 | $0.00534 |
| Opus 5 | $0.00012 | $0.00267 |
| Sonnet 5 | $0.00005 | $0.00107 |
| Haiku 4.5 | $0.00002 | $0.00053 |
Grade A, and why
chapter-compilation 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 2d 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
Installed Root
Resolve the installed reasflow-dev private skills root before running packaged scripts:
REASFLOW_PRIVATE_SKILLS_ROOT="${REASFLOW_PRIVATE_SKILLS_ROOT:-}"
if [ -z "$REASFLOW_PRIVATE_SKILLS_ROOT" ]; then
if [ -d ./.codex/reasflow-skills ]; then
REASFLOW_PRIVATE_SKILLS_ROOT="$(pwd)/.codex/reasflow-skills"
elif [ -d "$HOME/.codex/reasflow-skills" ]; then
REASFLOW_PRIVATE_SKILLS_ROOT="$HOME/.codex/reasflow-skills"
else
echo "reasflow private skills not found in ./.codex/reasflow-skills or $HOME/.codex/reasflow-skills" >&2
exit 1
fi
fi
Chapter Compilation
Overview
This skill restores the original paper-agent behavior: compile one chapter independently without waiting for unrelated chapters to be finished.
Installed Paths
Set:
SKILL_ROOT="$REASFLOW_PRIVATE_SKILLS_ROOT/paper/chapter-compilation"
Helper Commands
Wrapper:
bash "$SKILL_ROOT/scripts/compile-chapter.sh" paper/main.tex paper/method.tex
Direct Python:
python3 "$SKILL_ROOT/scripts/compile_chapter.py" \
--project-dir paper \
--main-file main.tex \
--chapter method.tex
Python env fallback:
uv run python "$SKILL_ROOT/scripts/compile_chapter.py" \
--project-dir paper \
--main-file main.tex \
--chapter method.tex
Output
The helper returns structured JSON with:
successpdf_pathtotal_pagespreview_imageserrorswarnings
What The Helper Does
- Extract preamble from
main.tex. - Generate
_chapter_<name>.texwith only the target\input{...}. - Compile via
latexmkor manual engine plus BibTeX passes. - Parse compiler output into structured errors and warnings.
- Render a small set of preview PNGs when local PDF tools are available.
Deliverables
- isolated chapter compile status
- preview image paths for visual inspection when available
- explicit list of chapter-local errors to fix before handoff
What ships with it
2 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.
- 2d ago First seen · 81 lines · 24 tokens per session scan A 6da82362071c
chapter-compilation is a skill published in the GitHub repository sillyDaibo/reasflow-dev (2 stars, last pushed 6d ago), licensed MIT. It adds 24 tokens to every session and 534 once invoked, about $0.0001 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
paper-spine
Build, rewrite, audit, submit, revise, or transfer scholarly papers end to end, producing verified LaTeX/PDF/Word and target-specific publication packages.
extracting-lab-tables
Detects and extracts tabular laboratory panels from PDFs, scans, and images into structured rows ready for OpenMed and FHIR. Use when the user has a CBC, CMP, lipid panel, or other lab report as a scanned image / PDF / spreadsheet and needs the test name, value, unit, reference range, and abnormal flag as clean rows.…
paper-compile
Compile LaTeX paper to PDF, fix errors, and verify output. Use when user says "编译论文", "compile paper", "build PDF", "生成PDF", or wants to compile LaTeX into a submission-ready PDF.
nsfc-budget
当用户明确要求“写/生成 NSFC 预算说明书”“写预算说明”“生成 budget.tex / budget.pdf”“写国自然预算 justification”时使用。基于用户标书正文或补充材料,输出一份可提交的预算说明书 LaTeX 项目并渲染 budget.pdf。若用户未指定工作目录,必须暂停并先要求其指定。⚠️ 不适用:用户只是想了解预算原则;用户仅要预算表数字而不写说明书;或用户是 2026 青年 A/B/C 默认包干制且无需预算说明书的场景。.
nsfc-ref-alignment
检查 NSFC 标书正文引用与参考文献的一致性与真实性风险(只读):核查 bibkey 是否存在、BibTeX 字段与 DOI 等格式问题,并生成结构化输入供宿主 AI 逐条评估“正文表述是否真的在引用该文献”;默认仅输出审核报告,不直接修改标书或 .bib(除非用户明确要求)。.
paper-artifact-runtime
Internal cross-platform artifact persistence, assembly, citation-audit, and PDF compilation runtime for meta-paper-write.