template-textbook

template-textbook is a skill for Claude Code, Codex from docxology/template. It costs 29 tokens per session (583 once invoked), scanned A, original, Apache-2.0.

A fillable textbook template organized into parts, chapters, labs, and question banks. Configuration controls numbering and figure generation, while audits check whether sections are complete.

In plain words
What is it for?
Use it to scaffold a research textbook, edit its configuration and content, generate figures and PDFs, and run completeness checks.
Why use it?
It provides a consistent structure for building a textbook and identifies unfinished sections before a manuscript is treated as complete.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python scripts/pipeline/stage_02_analysis.py --project templates/template_textbook.

Good fit Use it to scaffold a research textbook, edit its configuration and content, generate figures and PDFs, and run completeness checks.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/docxology/template
agentmods
npx agentmods add skills/docxology/template/template-textbook

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for template-textbook

README.md
[![agentmods](https://agentmods.dev/badge/skills/docxology/template/template-textbook/github.svg)](https://agentmods.dev/skills/docxology/template/template-textbook)
Your own site
<a href="https://agentmods.dev/skills/docxology/template/template-textbook"><img src="https://agentmods.dev/badge/skills/docxology/template/template-textbook/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.

agentmods 80×15 button for template-textbook

Your own site · 80×15
<a href="https://agentmods.dev/skills/docxology/template/template-textbook"><img src="https://agentmods.dev/badge/skills/docxology/template/template-textbook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 583 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.00583
Opus 5.5 $0.00012 $0.00233
Sonnet 5.5 $0.00006 $0.00117
Haiku 4.5 $0.00003 $0.00058

Measured 8d ago against content hash 808febe6f676, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

template-textbook 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 8d 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.

projects/templates/template_textbook/.agents/skills/template-textbook/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

template-textbook

Project-scoped skill for the in-repo exemplar at projects/templates/template_textbook/. Load this when working inside the project.

When to Use

  • Working inside the template_textbook exemplar — running scripts, editing source, or regenerating outputs.
  • Forking this exemplar as the starting scaffold for a new research project.
  • Validating that the exemplar's contracts (thin-orchestrator, layer boundaries, no-mocks testing) still hold after changes.

Quick Reference

# From the repository root
uv run pytest projects/templates/template_textbook/tests --cov=projects/templates/template_textbook/src --cov-fail-under=90
# Structural scaffold gate (reports stubs but allows them)
uv run python projects/templates/template_textbook/scripts/audit_textbook_quality.py
# Canonical acceptance gate (requires zero draft markers in every configured section)
uv run python projects/templates/template_textbook/scripts/audit_textbook_quality.py --require-complete
uv run python scripts/pipeline/stage_02_analysis.py --project templates/template_textbook
uv run python scripts/pipeline/stage_03_render.py --project templates/template_textbook
uv run python scripts/pipeline/stage_04_validate.py --project templates/template_textbook
uv run python scripts/pipeline/stage_05_copy.py --project templates/template_textbook

Pitfalls

  • Keep scripts thin. Business logic belongs in src/ or shared infrastructure/, not in scripts/.
  • No mocks. All tests must use real data, real files, and real computation.
  • Outputs are disposable. Never hand-edit output/ — regenerate from source and config.
  • Choose the audit mode deliberately. The default audit validates structural drafts; canonical acceptance uses --require-complete across chapters, companions, front matter, and reference sections. Execute authored Python examples and preserve source custody.
  • Run from the repo root. Commands assume the template monorepo root as working directory unless the child AGENTS.md states otherwise.

Read the full file on GitHub · 59 lines

Files

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.

Changes

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.

  1. 8d ago Changed · +1 lines · -5 tokens per session 808febe6f676
  2. 1mo ago First seen · 58 lines · 34 tokens per session scan A 9397e56f31b8

Subscribe to this mod's changes

template-textbook is a skill published in the GitHub repository docxology/template (20 stars, last pushed yesterday), licensed Apache-2.0. It adds 29 tokens to every session and 583 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-09-03.

Related

Other skills, from other repositories

brief-compliance-check

Check a LaTeX coursework submission against the requirements in a supplied PDF assessment brief. Use when verifying format, required sections, word limits, or deliverables before submission. Not for general prose proofreading; use $proofread.

flonat/flonat-research · 50 tokens

talisman

Generate a polished, on-brand PDF guide/handbook/whitepaper from a codebase or project using LaTeX (.tex -> .pdf) or Markdown->pandoc->pdf, with a designed cover page, the product's real brand colors and logo, a subtle branded page background, and TikZ diagrams (domain models, flows, state machines). Use for any…

jeunecraack/talisman-skill · 120 tokens

generate-pdf-certificate

Generate a professional achievement certificate with recipient name, course details, date, and a QR code for formal download or print.

iterationlayer/skills · 30 tokens

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.

THU-MAIC/OpenMAIC · 125 tokens

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…

54yyyu/zotero-mcp · 82 tokens

oma-pdf

Extract PDF text, headings, tables, and images into Markdown using opendataloader-pdf. Use for PDF parsing, not PDF layout creation.

first-fluke/oh-my-agent · 33 tokens