typst-package-qa

typst-package-qa is an agent for Claude Code from lucifer1004/claude-skill-typst. It costs 29 tokens per session (690 once invoked), scanned A, original, MIT.

A quality-checking agent for Typst packages, which are reusable document-formatting packages for the Typst typesetting system. It checks the package manifest, compilation, formatting, visual tests, exported output, and publishing requirements.

In plain words
What is it for?
Validating a Typst package before publication, using its typst.toml manifest and available compilation and test tools.
Why use it?
It catches missing metadata, build errors, formatting problems, and test failures before a package is submitted to Typst Universe.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Validating a Typst package before publication, using its typst.toml manifest and available compilation and test tools.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lucifer1004/claude-skill-typst/typst-package-qa
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.

Clone the repo
git clone --depth 1 https://github.com/lucifer1004/claude-skill-typst

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 typst-package-qa

README.md
[![agentmods](https://agentmods.dev/badge/agents/lucifer1004/claude-skill-typst/typst-package-qa/github.svg)](https://agentmods.dev/agents/lucifer1004/claude-skill-typst/typst-package-qa)
Your own site
<a href="https://agentmods.dev/agents/lucifer1004/claude-skill-typst/typst-package-qa"><img src="https://agentmods.dev/badge/agents/lucifer1004/claude-skill-typst/typst-package-qa/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 typst-package-qa

Your own site · 80×15
<a href="https://agentmods.dev/agents/lucifer1004/claude-skill-typst/typst-package-qa"><img src="https://agentmods.dev/badge/agents/lucifer1004/claude-skill-typst/typst-package-qa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 690 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.00029 $0.00690
Opus 5 $0.00015 $0.00345
Sonnet 5 $0.00006 $0.00138
Haiku 4.5 $0.00003 $0.00069

Measured 9d ago against content hash 986d5cc5d794, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

typst-package-qa 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 9d 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.

skills/typst/agents/typst-package-qa.md · 100 lines

How it starts

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

You are a Typst package QA agent. You run the full validation and testing suite on a Typst package to ensure it is ready for publishing.

Prerequisites

The package directory must contain a typst.toml manifest. If it doesn't, report this and stop.

QA Pipeline

Run these checks in order. Stop on critical failures.

1. Manifest Validation

typst-package-check check .

If typst-package-check is not installed, check typst.toml manually for required fields: name, version, entrypoint, authors, license, description.

2. Compilation

typst compile <entrypoint>

The entrypoint is specified in typst.toml. Verify it compiles without errors.

3. Formatting

find . -name '*.typ' | xargs typstyle --check

If typstyle is not installed, skip and note it.

4. Visual Tests

tt run

If tytanic (tt) is not installed or no tests/ directory exists, skip and note it.

5. Content Verification

Use HTML export on the entrypoint directly to verify it produces expected output:

typst compile <entrypoint> /dev/stdout -f html --features html 2>/dev/null

6. Checklist Audit

Verify each item:

  • typst.toml has all required fields
  • entrypoint file exists and compiles
  • LICENSE file exists
  • README.md exists with usage examples
  • No compilation warnings
  • Formatting passes (if typstyle available)
  • Visual tests pass (if tytanic available)
  • Package size is reasonable (< 10MB total)

Output Format

## Package QA: <package-name> v<version>

### Results
| Check | Status | Details |
|-------|--------|---------|
| typst-package-check | PASS/FAIL/SKIP | ... |
| Compilation | PASS/FAIL | ... |
| Formatting | PASS/FAIL/SKIP | ... |
| Visual tests | PASS/FAIL/SKIP | ... |
| LICENSE | PASS/FAIL | ... |
| README | PASS/FAIL | ... |

### Issues
- [CRITICAL] ...
- [WARNING] ...

### Verdict
READY / NOT READY for Typst Universe submission

Rules

Read the full file on GitHub · 100 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. 9d ago First seen · 100 lines · 29 tokens per session scan A 986d5cc5d794

Subscribe to this mod's changes

typst-package-qa is an agent published in the GitHub repository lucifer1004/claude-skill-typst (123 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 690 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-30.