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

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present.

Good fit 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.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arnabdeypolimi/claude_code_setup/typst-paper
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 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/github.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/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-paper

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.00166 $0.01615
Opus 5.5 $0.00066 $0.00646
Sonnet 5.5 $0.00033 $0.00323
Haiku 4.5 $0.00017 $0.00161

Measured 3mo ago against content hash ceb7a9b644c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 (5 stars, last pushed 2mo ago), licensed MIT. It adds 166 tokens to every session and 1,615 once invoked, about $0.0007 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

typst-paper compared with skills from other repositories

typst-paper next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
typst-paperarnabdeypolimi/claude_code_setupSkill52mo agoMITA166Claude Code, Codex
drug-discoveryNousResearch/hermes-agentSkill268ktodayMITA19Claude Code, Codex
build-interactive-explainersEverMind-AI/RavenSkill6.4ktodayApache-2.0A102Claude Code, Codex
arxivNousResearch/hermes-agentSkill268ktodayMITC18Claude Code, Codex
aeja-tables-figuresbrycewang-stanford/Awesome-Journal-SkillsSkill1.5kyesterdayMITA0Claude Code
aeja-workflowbrycewang-stanford/Awesome-Journal-SkillsSkill1.5kyesterdayMITA0Claude Code
aejmac-robustnessbrycewang-stanford/Awesome-Journal-SkillsSkill1.5kyesterdayMITA0Claude Code