create-document

create-document is a skill for Claude Code from clearsmog/claude-skills. It costs 32 tokens per session (1,785 once invoked), scanned A, original, MIT.

A document-creation workflow that turns a prompt into a formatted document, such as presentation slides, a resume, an essay, a report, or a study guide. It supports Beamer and Quarto, which are tools for making slides and technical documents, as well as Typst, a document-formatting system.

In plain words
What is it for?
Use it to create Beamer slides, Typst documents, or Quarto slides, including resumes, presentations, essays, business reports, study guides, and reference cards.
Why use it?
It removes much of the work of choosing a format, following document conventions, and checking the result while creating a publication-ready file.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Good fit Use it to create Beamer slides, Typst documents, or Quarto slides, including resumes, presentations, essays, business reports, study guides, and reference cards.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clearsmog/claude-skills/create-document
Install

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.

Any agent
npx skills add clearsmog/claude-skills --skill create-document
Clone the repo
git clone --depth 1 https://github.com/clearsmog/claude-skills

Made for: Claude Code.

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 create-document

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/clearsmog/claude-skills/create-document"><img src="https://agentmods.dev/badge/skills/clearsmog/claude-skills/create-document.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,785 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.
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.00032 $0.01785
Opus 5.5 $0.00013 $0.00714
Sonnet 5.5 $0.00006 $0.00357
Haiku 4.5 $0.00003 $0.00178

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

Security

Grade A, and why

create-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 24d 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.

create-document/SKILL.md · 188 lines

How it starts

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

Document Creation Workflow

One prompt → one publication-quality document. Internal quality loop runs automatically.


Format Selection

  • User specifies format explicitly → use that
  • User doesn't specify → detect from project context:
    • Has Slides/ directory → Beamer LaTeX
    • Has Source/ or mainly .typ files → Typst
    • Has Quarto/ directory → Quarto
  • Default for new projects → Typst (preferred modern format)

Format Detection (for .typ)

Detect document type from user request keywords:

  • resume, CV → CV template
  • slides, presentation, lecture → touying slides (see typst/references/touying-guide.md)
  • essay, paper → essay template
  • guide, study guide, reference → study guide
  • report, business → business report
  • reference card, cheat sheet → dense reference layout

Constraints

All formats: verify every citation against the bibliography.

Teaching material (lectures, slides, study guides): first read the project's knowledge base in .claude/rules/ (notation registry, narrative arc) and check each new symbol against it; motivation before formalism; a worked example within 2 slides/pages of each definition; transition slides at major conceptual pivots.


WHEN TO PAUSE (the ONLY case)

Request is genuinely ambiguous AND no project context to disambiguate:

  • No sibling .typ files, no PDFs, no clear topic in the prompt
  • Example: user says "make something" with zero context

In this case: ONE AskUserQuestion (topic + type), then proceed autonomously.

For everything else — proceed without asking. Template auto-selection is correct 90%+ of the time; user can re-invoke with explicit overrides if wrong.


PIPELINE

Phase 0: Auto-Discover

Run these before drafting, without stopping to confirm:

  1. Scan project for related materials
    • Glob for *.pdf, *.md, *.typ, images/ in the project directory
    • If PDFs found → check for .parsed.md next to each; read if exists
    • If no .parsed.md → parse using PDF handling rules (background for large files)
  2. Detect document type from keywords + project context (see Format Detection above)
  3. Auto-select template — no confirmation needed
  4. Style inheritance: if sibling .typ files exist in the project:
    • Read first 30 lines of the most recent sibling
    • Match fonts, colors, qk preset
    • Only inherit from files that use @local/qk presets; ignore raw inline styles
  5. Build context: materials found, template chosen, style detected

Read the full file on GitHub · 188 lines

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. 24d ago Changed · -27 lines 4398a3f1b187
  2. 1mo ago Changed · +1 lines ce20b973babc
  3. 1mo ago First seen · 214 lines · 32 tokens per session scan A 4e5873a3dc2f

Subscribe to this mod's changes

create-document is a skill published in the GitHub repository clearsmog/claude-skills (2 stars, last pushed 24d ago), licensed MIT. It adds 32 tokens to every session and 1,785 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.

Related

Other skills, from other repositories

surfsense-documents

Make or change a Word document (.docx), a PDF, a PowerPoint deck (.pptx) or an Excel workbook (.xlsx) by writing a Python script that surfsenserenderdocument runs, optionally starting from a source's own Word or PowerPoint file. Load it whenever the user asks for one of these, or for a change to one you made.

MODSetter/SurfSense · 80 tokens

surfsense-html

Make or change a web page from the user's sources - a report, a briefing, a dashboard, a comparison, a timeline, an explainer, an interactive calculator or a figure that shows how something works - by writing an HTML file and keeping it with surfsensesavepage. Load it whenever the user asks for a web page, an HTML…

MODSetter/SurfSense · 89 tokens

surfsense-data

Work out numbers from spreadsheet and CSV sources (.xlsx, .csv, .tsv) by writing a pandas script that surfsenseanalyzedata runs: totals, averages, trends, rankings, comparisons, cleaning, and charts that can go into a document. Load it whenever the user asks for figures from a table, or a chart of one.

MODSetter/SurfSense · 0 tokens

surfsense-pdf

Work on PDFs the user has, or PDFs in Studio, without changing them - merge, take out, split, turn or reorder pages, add a watermark, page numbers, a header or a footer, and list or fill a form's fields. Load it whenever the user asks for one of these on a PDF.

MODSetter/SurfSense · 70 tokens

pptx

Create polished, editable PowerPoint decks for slide presentations.

MODSetter/SurfSense · 14 tokens

xlsx

Create polished Excel workbooks for budgets, trackers, and data tables.

MODSetter/SurfSense · 16 tokens