touying

touying is a skill for Claude Code from bahayonghang/my-ai-cli-toolkit. It costs 182 tokens per session (2,288 once invoked), scanned A, original, MIT.

A guide for creating slide presentations in Typst, a markup-based document language, with the Touying package. It covers themes, slide layouts, animations, and speaker notes.

In plain words
What is it for?
Use it to create or edit Touying slide decks, apply themes, add incremental reveals, configure layouts, and include speaker notes.
Why use it?
It provides the project rules and examples needed to turn Typst content into structured presentation slides.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to create or edit Touying slide decks, apply themes, add incremental reveals, configure layouts, and include speaker notes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bahayonghang/my-ai-cli-toolkit/touying
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 bahayonghang/my-ai-cli-toolkit --skill touying
Clone the repo
git clone --depth 1 https://github.com/bahayonghang/my-ai-cli-toolkit

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 touying

README.md
[![agentmods](https://agentmods.dev/badge/skills/bahayonghang/my-ai-cli-toolkit/touying/github.svg)](https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/touying)
Your own site
<a href="https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/touying"><img src="https://agentmods.dev/badge/skills/bahayonghang/my-ai-cli-toolkit/touying/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 touying

Your own site · 80×15
<a href="https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/touying"><img src="https://agentmods.dev/badge/skills/bahayonghang/my-ai-cli-toolkit/touying.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 182 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,288 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.00182 $0.02288
Opus 5.5 $0.00073 $0.00915
Sonnet 5.5 $0.00036 $0.00458
Haiku 4.5 $0.00018 $0.00229

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

Security

Grade A, and why

touying 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 7d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/touying_check.py, tests/test_animations_modes_docs.py, tests/test_themes_integrations_craft_docs.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.

skills/docs-writing-publishing/touying/SKILL.md · 90 lines

How it starts

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

Touying (@preview/touying:0.8.0 / Typst 0.15.0+)

Author, refactor, migrate, and verify Typst presentations with Touying 0.8.0.

1. Trigger & Exclusions

Use this skill ONLY for Typst-based presentations built with Touying. Immediately decline and route elsewhere when the request asks for:

  • Web or office slide tools: HTML, reveal.js, PPT / .pptx, Google Slides, Keynote, or Marp.
  • Ordinary non-slide Typst documents: papers, CVs, essays, or multi-page prose reports without slide structure (unless explicitly dual-targeting Touying export-mode: "article").
  • XeLaTeX thesis defense decks: Chinese or academic LaTeX Beamer defense templates (route to academic-defense-beamer).

2. Workspace Intent Gate

Before creating files or scaffolding a new project, inspect the working directory:

  1. If $ARGUMENTS is provided, verify it exists and ends with .typ. On invalid input, report:
    • "Error: Provide a valid .typ file path." (empty or missing target when required)
    • "Error: File not found." (path does not exist)
    • "Error: Not a .typ file." (wrong extension)
  2. Search for typst.toml, canonical deck entrypoints (main.typ, slides.typ, presentation.typ), and shared globals.typ.
  3. Reuse existing structure: preserve the project's existing entrypoint, theme selection, custom utilities, and globals.typ split. Never blindly overwrite or re-initialize an existing presentation repository.

3. Complexity Tiers (Quick vs Full)

  • Quick Tier (1–5 slide edit, bug fix, config tweak, warning fix, or migration):
    1. Read target .typ (globals.typ if present) and the matching reference below.
    2. Apply the minimal change following Hard 0.8.0 Rules.
    3. Run python scripts/touying_check.py audit <target> --strict-warnings and compile <main.typ> (with --warnings promote / strict warning promotion); inspect rendered pages on layout edits.
  • Full Tier (new deck, multi-file refactor, custom theme, or multi-mode export):
    1. Clarify audience, aspect ratio, fonts, and required export modes (presentation, handout, article).
    2. Open the closest tier first: inspect Graded Examples Index (01-minimal..06-bundle-pdfpc) and outline sections, slide-level, and visual metaphors.
    3. For custom/high-craft themes, follow Visual Craft & Layout Diversity: define per-slide visual metaphors, cap bullet-only slides, and compare 3 restrained direction prototypes with parameterized palettes on real content before building out.
    4. Structure multi-file decks (globals.typ + main.typ + sections/*.typ), then run touying_check.py audit --strict-warnings, compile for every target mode, and inspect rendered slides.

Read the full file on GitHub · 90 lines

Files

What ships with it

37 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. 7d ago Changed · +38 lines · +93 tokens per session fe42598e0e29
  2. 3mo ago First seen · 52 lines · 89 tokens per session scan A b895bf1d8e3a

Subscribe to this mod's changes

touying is a skill published in the GitHub repository bahayonghang/my-ai-cli-toolkit (17 stars, last pushed today), licensed MIT. It adds 182 tokens to every session and 2,288 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-30.

Related

touying compared with skills from other repositories

touying next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
touyingbahayonghang/my-ai-cli-toolkitSkill17todayMITA182Claude Code
html-animated-slidesfindscripter/everything-skillsSkill12yesterdaynoneA159Claude Code
python-pptx-deck-generatorfindscripter/everything-skillsSkill12yesterdaynoneA126Claude Code
ppt-masterhugohe3/ppt-masterSkill81k2d agoMITA108Claude Code
paper2assetsmicrosoft/ResearchStudioSkill3.9k2d agoMITA0Claude Code
pptagenticip-cas/PPTAgentSkill5.3k7d agoMITA52Claude Code, Codex
html2pptxmicrosoft/ResearchStudioSkill3.9k2d agoMITB345Claude Code, Codex