Typst Author
jihe520/MathModelAgent
Generates, edits and debugs Typst (.typ) documents using the bundled Typst documentation as the source of truth, with formatting checks after each edit.
A skill your agent uses when maintaining the portable typst-grammar-authoring skill from this repository's canonical Typst grammar source.
$ npx skills add typst-doc-cn/tutorial --skill update-typst-grammar-authoring -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install typst-doc-cn/tutorial update-typst-grammar-authoring --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/typst-doc-cn/tutorial.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/update-typst-grammar-authoring .claude/skills/update-typst-grammar-authoring && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "update-typst-grammar-authoring" agent skill from https://github.com/typst-doc-cn/tutorial/tree/main/.codex/skills/update-typst-grammar-authoring into .claude/skills/update-typst-grammar-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-typst-grammar-authoring", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/typst-doc-cn/tutorial/tree/main/.codex/skills/update-typst-grammar-authoringType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add typst-doc-cn/tutorial --skill update-typst-grammar-authoring -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install typst-doc-cn/tutorial update-typst-grammar-authoring --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/typst-doc-cn/tutorial.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.codex/skills/update-typst-grammar-authoring .agents/skills/update-typst-grammar-authoring && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "update-typst-grammar-authoring" agent skill from https://github.com/typst-doc-cn/tutorial/tree/main/.codex/skills/update-typst-grammar-authoring into .agents/skills/update-typst-grammar-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-typst-grammar-authoring", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add typst-doc-cn/tutorial --skill update-typst-grammar-authoring -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install typst-doc-cn/tutorial update-typst-grammar-authoring --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/typst-doc-cn/tutorial.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.codex/skills/update-typst-grammar-authoring .cursor/skills/update-typst-grammar-authoring && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "update-typst-grammar-authoring" agent skill from https://github.com/typst-doc-cn/tutorial/tree/main/.codex/skills/update-typst-grammar-authoring into .cursor/skills/update-typst-grammar-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-typst-grammar-authoring", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/typst-doc-cn/tutorial.git --path .codex/skills/update-typst-grammar-authoring--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add typst-doc-cn/tutorial --skill update-typst-grammar-authoring -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install typst-doc-cn/tutorial update-typst-grammar-authoring --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/typst-doc-cn/tutorial.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.codex/skills/update-typst-grammar-authoring .gemini/skills/update-typst-grammar-authoring && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "update-typst-grammar-authoring" agent skill from https://github.com/typst-doc-cn/tutorial/tree/main/.codex/skills/update-typst-grammar-authoring into .gemini/skills/update-typst-grammar-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-typst-grammar-authoring", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install typst-doc-cn/tutorial update-typst-grammar-authoringInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add typst-doc-cn/tutorial --skill update-typst-grammar-authoring -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/typst-doc-cn/tutorial.git skills-src && mkdir -p .github/skills && cp -r skills-src/.codex/skills/update-typst-grammar-authoring .github/skills/update-typst-grammar-authoring && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "update-typst-grammar-authoring" agent skill from https://github.com/typst-doc-cn/tutorial/tree/main/.codex/skills/update-typst-grammar-authoring into .github/skills/update-typst-grammar-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-typst-grammar-authoring", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add typst-doc-cn/tutorial --skill update-typst-grammar-authoring -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install typst-doc-cn/tutorial update-typst-grammar-authoring --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/typst-doc-cn/tutorial.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.codex/skills/update-typst-grammar-authoring .opencode/skills/update-typst-grammar-authoring && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "update-typst-grammar-authoring" agent skill from https://github.com/typst-doc-cn/tutorial/tree/main/.codex/skills/update-typst-grammar-authoring into .opencode/skills/update-typst-grammar-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "update-typst-grammar-authoring", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
update-typst-grammar-authoringA skill your agent uses when maintaining the portable typst-grammar-authoring skill from this repository's canonical Typst grammar source.
Update Typst Grammar Authoring is an agent skill from typst-doc-cn/tutorial. Use when maintaining the portable typst-grammar-authoring skill from this repository's canonical Typst grammar source.
Its SKILL.md is about 610 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/grammar-catalog.json` and `scripts/generate_grammar_catalog.py`).
The licence is Apache-2.0.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit b2e19b6. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythongitrgFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Update Typst Grammar Authoring loads about 611 tokens when it runs, and up to ~21k if it reads all its reference files. Until then it costs about 37 tokens; SKILL.md has 190 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from typst-doc-cn/tutorial at commit b2e19b6, republished under its Apache-2.0 licence (© typst-doc-cn). 190 words, ~611 tokens.
.claude/skills/update-typst-grammar-authoring/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Use this skill when a maintainer needs to refresh the portable
typst-grammar-authoring skill after changing the canonical grammar examples in
src/tutorial/reference-grammar.typ.
src/tutorial/reference-grammar.typ.codex/skills/typst-grammar-authoring/SKILL.md.codex/skills/update-typst-grammar-authoring/references/grammar-catalog.jsonReview the source edits in src/tutorial/reference-grammar.typ and confirm
they are ready to publish into the portable skill.
Regenerate the portable skill body and traceability artifact:
python .codex/skills/update-typst-grammar-authoring/scripts/generate_grammar_catalog.pyReview the generated diff for the portable skill and the traceability JSON:
git diff -- .codex/skills/typst-grammar-authoring/SKILL.md .codex/skills/update-typst-grammar-authoring/references/grammar-catalog.jsonVerify the portable skill stayed single-file:
Get-ChildItem -Force .codex/skills/typst-grammar-authoringVerify the portable skill's command examples stayed platform-neutral and did not reintroduce Windows absolute paths:
rg -n "[A-Za-z]:\\\\|path\\\\to|target\\\\typst-grammar-authoring-check|\\.codex\\\\skills|src\\\\tutorial" .codex/skills/typst-grammar-authoring/SKILL.mdIf the regenerated lookup looks correct, keep the portable skill focused on
author guidance only. Any exact source mapping belongs in the updater-owned
traceability JSON, not in the portable SKILL.md.
typst-grammar-authoring folder limited to SKILL.md..codex/skills/update-typst-grammar-authoring/references/grammar-catalog.json
as the source-mapping artifact for maintainers.© typst-doc-cn, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (scripts, references) in .codex/skills/update-typst-grammar-authoring of typst-doc-cn/tutorial.
Open the folder on GitHubat commit b2e19b6
Update Typst Grammar Authoring next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Update Typst Grammar Authoring this skilltypst-doc-cn/tutorial | 220 | — | ~611 | Automated safety check: Pass | Apache-2.0 | |
| Typst Authorjihe520/MathModelAgent | 6.2k | 1 repos | ~2.3k | Automated safety check: Pass | None | |
| Authoring Skillsvercel/next.js | 143k | — | ~1k | Automated safety check: Pass | MIT | |
| Hermes Agent Skill AuthoringNousResearch/hermes-agent | 252k | — | ~3.6k | Automated safety check: Pass | MIT | |
| Wiki Maintaineropenclaw/openclaw | 392k | 1 repos | ~462 | Automated safety check: Pass | MIT | |
| Configuring Oauth2 Authorization Flowmukul975/Anthropic-Cybersecurity-Skills | 34k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 |
jihe520/MathModelAgent
Generates, edits and debugs Typst (.typ) documents using the bundled Typst documentation as the source of truth, with formatting checks after each edit.
vercel/next.js
How to create and maintain agent skills in .agents/skills/. An agent skill from vercel/next.js.
NousResearch/hermes-agent
Author in-repo SKILL.md files: frontmatter and structure. An agent skill from NousResearch/hermes-agent.
openclaw/openclaw
Maintain the OpenClaw memory wiki vault with deterministic pages, managed blocks, and source-backed updates.
mukul975/Anthropic-Cybersecurity-Skills
Configures secure OAuth 2.0 authorization flows, including Authorization Code with PKCE, Client Credentials, and Device Authorization Grant, covering flow selection, PKCE implementation, token…
abpframework/abp
ABP permission system - PermissionDefinitionProvider, [Authorize] attribute, CheckPolicyAsync, IsGrantedAsync, ICurrentUser, IPermissionManager, multi-tenancy side.
typst-doc-cn/tutorial
A skill your agent uses when authoring or validating Typst documents from canonical grammar examples, especially when you need compile, HTML, or SVG-based validation workflows.
A skill your agent uses when maintaining the portable typst-grammar-authoring skill from this repository's canonical Typst grammar source. Update Typst Grammar Authoring is an agent skill from typst-doc-cn/tutorial. Use when maintaining the portable typst-grammar-authoring skill from this repository's canonical Typst grammar source.
Update Typst Grammar Authoring fits situations like: maintaining the portable typst-grammar-authoring skill from this repositorys canonical Typst grammar source.
Run `npx skills add typst-doc-cn/tutorial --skill update-typst-grammar-authoring -a claude-code`. Or copy the skill folder (.codex/skills/update-typst-grammar-authoring in typst-doc-cn/tutorial) into .claude/skills/update-typst-grammar-authoring in your project. Claude Code loads it when a task matches its description.
Run `npx skills add typst-doc-cn/tutorial --skill update-typst-grammar-authoring -a codex`. Or copy the skill folder (.codex/skills/update-typst-grammar-authoring in typst-doc-cn/tutorial) into .agents/skills/update-typst-grammar-authoring in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add typst-doc-cn/tutorial --skill update-typst-grammar-authoring -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/update-typst-grammar-authoring, .gemini/skills/update-typst-grammar-authoring, .github/skills/update-typst-grammar-authoring and .opencode/skills/update-typst-grammar-authoring in your project.
Going by SKILL.md and its folder, Update Typst Grammar Authoring needs Python for the scripts in its folder and the command-line tools its instructions call (python, git and rg). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Update Typst Grammar Authoring is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 611 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 20k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Update Typst Grammar Authoring: Typst Author (jihe520/MathModelAgent, 6.2k stars), Authoring Skills (vercel/next.js, 143k stars), Hermes Agent Skill Authoring (NousResearch/hermes-agent, 252k stars) and Wiki Maintainer (openclaw/openclaw, 392k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
typst-doc-cn (a GitHub organization) maintains it in typst-doc-cn/tutorial, which has 220 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on June 21, 2026.
Source: typst-doc-cn/tutorial on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.