create-document

create-document is a skill for Claude Code from clearsmog/claude-skills. It costs 32 tokens per session (2,245 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…

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.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.svg" alt="Measured on agentmods" 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 2,245 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.02245
Opus 5 $0.00016 $0.01123
Sonnet 5 $0.00006 $0.00449
Haiku 4.5 $0.00003 $0.00225

Measured 6d ago against content hash 4e5873a3dc2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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 · 214 lines

How it starts

The opening of the file, as written. The whole thing — 214 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 (Non-Negotiable, All Formats)

  1. Read the knowledge base FIRST — notation registry, narrative arc, applications database
  2. Every new symbol MUST be checked against the notation registry
  3. Motivation before formalism — no exceptions
  4. Worked example within 2 slides/pages of every definition
  5. Max 2 colored boxes/callouts per slide or page
  6. Transition slides at major conceptual pivots (for slide decks)
  7. All citations verified against the bibliography

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 (silent — no pause)

Run all of these silently before drafting:

  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 · 214 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. 6d 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 6mo ago), licensed MIT. It adds 32 tokens to every session and 2,245 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

release-sync

Syncs latest release content to NotebookLM and HQ Knowledge Base after version tagging. Reads CHANGELOG, CLAUDE.md, and hook README, updates notebook sources, and ingests release digest. Optionally generates podcast from updated knowledge base. Use after tagging a new version to propagate release knowledge.

yonatangross/orchestkit · 62 tokens

replicate-runner

Use when run AI models on Replicate cloud API. Deploy image generation, video creation, audio processing, and custom models without managing infrastructure. Use when working with replicate runner.

oyi77/1ai-skills · 40 tokens

flowise-builder

Use when flowise visual LLM workflow builder — drag-drop chatflows, API endpoints, document loaders, tools. Use when working with flowise builder.

oyi77/1ai-skills · 35 tokens

pptx-translator

This skill should be used when the user needs to translate PowerPoint presentations (.pptx) between languages, preserving formatting and layout. Supports parallel slide-by-slide translation with per-slide validation and retry. Default languages are Portuguese and English but any language pair is supported.

ericgandrade/claude-superskills · 57 tokens

board-material-distribution

A workflow for preparing and distributing board-meeting materials, such as agendas, reports, and decision documents, to directors.

vivy-yi/finance-skills · 103 tokens

tax-filing

A process for preparing tax filings from an enterprise resource planning system, checking the figures, confirming payment, and tracking what remains outstanding. It covers taxes such as VAT, corporate income tax, and payroll withholding where applicable.

vivy-yi/finance-skills · 97 tokens