typst-paper

typst-paper is a skill for Claude Code, Codex from arnabdeypolimi/claude_code_setup. It costs 166 tokens per session (1,615 once invoked), scanned A, original, MIT.

A writing assistant for academic papers written in Typst, a text-based document system. It works with existing papers in English or Chinese and their BibTeX or Hayagriva reference files.

In plain words
What is it for?
Use it to compile and export papers, check venue formatting, validate references, review grammar and arguments, translate or polish text, and inspect pseudocode or experiment sections.
Why use it?
It helps find compilation errors, citation problems, unclear writing, weak logic, and formatting issues without leaving the paper project.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/arnabdeypolimi/claude_code_setup/typst-paper
Any agent
npx skills add arnabdeypolimi/claude_code_setup --skill typst-paper
Clone the repo
git clone --depth 1 https://github.com/arnabdeypolimi/claude_code_setup

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 typst-paper

README.md
[![agentmods](https://agentmods.dev/badge/skills/arnabdeypolimi/claude_code_setup/typst-paper.svg)](https://agentmods.dev/skills/arnabdeypolimi/claude_code_setup/typst-paper)
Your own site
<a href="https://agentmods.dev/skills/arnabdeypolimi/claude_code_setup/typst-paper"><img src="https://agentmods.dev/badge/skills/arnabdeypolimi/claude_code_setup/typst-paper.svg" alt="Measured on agentmods" height="20"></a>
Per session 166 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,615 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00166 $0.01615
Opus 5 $0.00083 $0.00807
Sonnet 5 $0.00033 $0.00323
Haiku 4.5 $0.00017 $0.00161

Measured 4d ago against content hash ceb7a9b644c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

typst-paper 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 4d ago.

The scan reads SKILL.md. This mod also ships 16 executable files (scripts/analyze_experiment.py, scripts/analyze_grammar.py, scripts/analyze_logic.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/typst-paper/SKILL.md · 112 lines

How it starts

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

Typst Academic Paper Assistant

Use this skill for targeted work on an existing Typst paper project. Route requests to the smallest useful module and keep outputs compatible with Typst source review.

Capability Summary

  • Compile Typst projects and diagnose Typst CLI issues.
  • Audit format, bibliography, grammar, sentence length, argument logic, expression quality, and AI traces.
  • Review IEEE-like pseudocode blocks for algorithmic, algorithm-figure, lovelace, caption handling, and comment length.
  • Support both BibTeX and Hayagriva bibliography files.
  • Improve titles, translation, and experiment-section clarity for Typst papers.

Triggering

Use this skill when the user has an existing .typ paper project and wants help with:

  • Typst compilation or export issues
  • format or venue compliance
  • bibliography validation for BibTeX or Hayagriva
  • grammar, sentence, logic, or expression review
  • translation or bilingual polishing
  • title optimization
  • pseudocode and algorithm-block review
  • de-AI editing
  • experiment-section review

Do Not Use

Do not use this skill for:

  • LaTeX-first conference or thesis projects
  • DOCX/PDF-only editing without Typst source
  • thesis template detection or GB/T 7714 thesis workflows
  • from-scratch paper planning or literature research
  • multi-perspective review, scoring, or submission gate decisions (use paper-audit)
  • standalone pseudocode drafting without a paper context

Module Router

Module Use when Primary command Read next
compile Typst build, export, font, or watch issues uv run python $SKILL_DIR/scripts/compile.py main.typ references/modules/COMPILE.md
format Venue/layout review for a Typst paper uv run python $SKILL_DIR/scripts/check_format.py main.typ references/modules/FORMAT.md
bibliography BibTeX or Hayagriva validation uv run python $SKILL_DIR/scripts/verify_bib.py references.bib --typ main.typ references/modules/BIBLIOGRAPHY.md
grammar Grammar cleanup on Typst prose uv run python $SKILL_DIR/scripts/analyze_grammar.py main.typ --section introduction references/modules/GRAMMAR.md
sentences Long or dense sentence diagnostics uv run python $SKILL_DIR/scripts/analyze_sentences.py main.typ --section introduction references/modules/SENTENCES.md
logic Argument flow, introduction funnel, cross-section closure, and abstract/conclusion alignment review uv run python $SKILL_DIR/scripts/analyze_logic.py main.typ --section methods references/modules/LOGIC.md
expression Tone and expression polishing uv run python $SKILL_DIR/scripts/improve_expression.py main.typ --section methods references/modules/EXPRESSION.md
translation Chinese/English academic translation in Typst context uv run python $SKILL_DIR/scripts/translate_academic.py input_zh.txt --domain deep-learning references/modules/TRANSLATION.md
title Generate, compare, or optimize Typst paper titles uv run python $SKILL_DIR/scripts/optimize_title.py main.typ --check references/modules/TITLE.md
pseudocode Review algorithmic / algorithm-figure / lovelace output for IEEE-like safety, captions, and comment length uv run python $SKILL_DIR/scripts/check_pseudocode.py main.typ --venue ieee references/modules/PSEUDOCODE.md
deai Reduce English or Chinese AI-writing traces while preserving Typst syntax uv run python $SKILL_DIR/scripts/deai_check.py main.typ --section introduction references/modules/DEAI.md
experiment Inspect experiment-section clarity, discussion layering, and reporting quality uv run python $SKILL_DIR/scripts/analyze_experiment.py main.typ --section experiment references/modules/EXPERIMENT.md

Read the full file on GitHub · 112 lines

Files

What ships with it

47 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. 4d ago First seen · 112 lines · 166 tokens per session scan A ceb7a9b644c2

Subscribe to this mod's changes

typst-paper is a skill published in the GitHub repository arnabdeypolimi/claude_code_setup (4 stars, last pushed 3mo ago), licensed MIT. It adds 166 tokens to every session and 1,615 once invoked, about $0.0008 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

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens

auditing-subgroup-fairness

Audit an OpenMed NER or de-identification model for performance disparities across demographic subgroups (sex, age band, race/ethnicity when available) using openmed.eval.fairnessreport. Use when the user wants per-subgroup recall and leakage, wants to check whether de-identification under-protects a group, wants to…

maziyarpanahi/openmed · 148 tokens