finish

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

A document-finishing workflow that detects supported file types, compiles them, checks selected pages or slides, and reviews and fixes problems.

In plain words
What is it for?
It helps finish Typst documents and slides, Quarto RevealJS slides, and Python scripts. LaTeX Beamer files require project-level configuration.
Why use it?
It brings compilation and quality checks into one process, so errors must be addressed before a document is finalized.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It helps finish Typst documents and slides, Quarto RevealJS slides, and Python scripts. LaTeX Beamer files require project-level configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clearsmog/claude-skills/finish
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 finish
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 finish

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/clearsmog/claude-skills/finish"><img src="https://agentmods.dev/badge/skills/clearsmog/claude-skills/finish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,371 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.00028 $0.01371
Opus 5 $0.00014 $0.00685
Sonnet 5 $0.00006 $0.00274
Haiku 4.5 $0.00003 $0.00137

Measured 11d ago against content hash a7ff8e00264d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

finish 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 11d 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.

finish/SKILL.md · 162 lines

How it starts

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

Finish Document

Master pipeline that compiles, reviews, fixes, and finalizes any supported document type.

Format Detection

Determine file type from extension:

  • .typ → Typst document (slides, docs, guides, CVs)
  • .qmd → Quarto RevealJS slides
  • .py → Python script

Note: For .tex (LaTeX/Beamer), configure the finish pipeline at project level.

For .typ files, also detect document type from content:

  • Contains #import "@preview/polylux" or #import "@preview/touying" → Typst slides
  • Contains #import "@local/qk" → Uses qk component library
  • Otherwise → Typst document

Pipeline Phases

Phase 0: Detect File Type

  • Parse $ARGUMENTS, resolve file path
  • Detect format from extension and content

Phase 1: Compile + Visual Spot-Check

Step 1 — Compile:

  • Route to /compile with the detected format
  • Hard gate: exit code must be 0. Do not proceed until compilation succeeds.

Step 2 — Determine sample pages:

  • Documents <=3 pages → all pages
  • Documents >3 pages → page 1, middle page, last page
  • Presentations <30 slides → all slides
  • Presentations 30+ → first 3, middle 3, last 3

Step 3 — Render PNGs:

typst compile FILE.typ /tmp/finish-preview-{0p}.png --pages [SAMPLE]

Step 4 — Visual inspection:

  • Read each PNG with the Read tool
  • Apply the full visual checklist from typst/references/visual-verification.md:
    • Content overflow / cut off?
    • Blank half-pages?
    • Font fallback squares (missing font)?
    • Missing images / broken references?
    • Cramped text / unbalanced layout?
    • Heading hierarchy consistent?
    • Table headers repeating across pages?

Step 5 — Record issues for Phase 1.5 or Phase 3 fix list.

Phase 1.5: Quick Auto-Fix Before Review

If the visual spot-check caught simple issues, fix them now so review agents start from a clean baseline.

Scope: Only fix issues that are:

  • Clearly identified in the PNG inspection
  • Fixable without design decisions (overflow, missing alt text, font fallback)

Read the full file on GitHub · 162 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. 11d ago First seen · 162 lines · 28 tokens per session scan A a7ff8e00264d

Subscribe to this mod's changes

finish is a skill published in the GitHub repository clearsmog/claude-skills (2 stars, last pushed 6mo ago), licensed MIT. It adds 28 tokens to every session and 1,371 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.

Related

Other skills, from other repositories