Agent skill

Latex Defense Zh

by bahayonghang in bahayonghang/academic-writing-skills

Chinese thesis defense deck builder for existing XeLaTeX PhD or master thesis repositories.

No licenceAuto-check passedDocuments & Office

Install Latex Defense Zh

skills CLI
$ npx skills add bahayonghang/academic-writing-skills --skill latex-defense-zh -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install bahayonghang/academic-writing-skills latex-defense-zh --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/bahayonghang/academic-writing-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/academic-writing-skills/latex-defense-zh .claude/skills/latex-defense-zh && rm -rf skills-src

Use ~/.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/

Facts

Skill name
latex-defense-zh
GitHub stars
500
Token cost
~2.2k tokens
SKILL.md length
454 words
Files
60 (incl. scripts, references)
Skills in repo
8
Repo updated
First seen
Licence
None found

At a glance

Chinese thesis defense deck builder for existing XeLaTeX PhD or master thesis repositories.

  • Works in 8 steps: extract:运行提取,汇报章数、图表公式计数、章角色建议与 warnings。 → plan:生成骨架;LLM 读… → 运行 --outline 串读帧标题与结论句。检查点… → …
  • Tasks that involve LaTeX
  • SKILL.md covers Capability Summary, Triggering, Do Not Use and Module Router, plus 7 more sections
  • Calls uv

What it does

Latex Defense Zh is an agent skill from bahayonghang/academic-writing-skills. Chinese thesis defense deck builder for existing XeLaTeX PhD or master thesis repositories. Extracts chapters, figures, equations, tables and publications read-only, plans pages by talk length, renders a Beamer pre-defense or defense deck with speaker notes, and runs a fidelity quality gate plus page previews. Not for .pptx, journal talks, or English defenses.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 64 other files, including scripts and reference files (for example `agents/openai.yaml`, `agents/qa-committee-agent.md` and `evals/evals.json`).

It sits in Documents & Office, covering LaTeX, PowerPoint presentations and Essays and academic help. It works with LaTeX and Microsoft PowerPoint. The repository describes itself as: AI-powered post-writing toolkit for academic papers — format validation, grammar/style polishing, de-AI editing, reference checking, and reviewer-style paper audits. 5 skills for…

When your agent uses it

  • Tasks that involve LaTeX
  • Tasks that involve PowerPoint presentations
  • Tasks that involve Essays and academic help

Example prompts

  • “/latex-defense-zh”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Glob, Grep, Write, Edit, Bash(uv *)

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. extract:运行提取,汇报章数、图表公式计数、章角色建议与 warnings。
  2. plan:生成骨架;LLM 读 references/content-rules.md、references/defense-framework.md、references/speaker-notes.md,
  3. 运行 --outline 串读帧标题与结论句。检查点 2:请用户确认串读主线后再构建。
  4. build --compile:失败时读 defense.log 定位并修改规划,不直接改 defense.tex。
  5. check:按 references/quality-gate.md 修规划并 build --force --compile 重建,最多 3 轮;
  6. preview:生成总览图并逐页目视(标题位置、图清晰度、强调色不超过 3 处、页脚不遮挡、章前目录高亮)。
  7. 可选:按 agents/qa-committee-agent.md 为每个研究章准备 3–5 个答辩提问与答案骨架。
  8. 检查点 3:交付文件清单、质量门计数与遗留项,由用户决定是否继续修改。

What it can do on your machine

Read from SKILL.md and the folder at commit 1689d44. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep
    • Write
    • Edit
    • Bash(uv *)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Latex Defense Zh loads about 2.2k tokens when it runs, and up to ~28k if it reads all its reference files. Until then it costs about 95 tokens; SKILL.md has 454 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~28k

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.

Safety

Auto-check passed

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.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 454 words (~2,218 tokens).

“从已有的中文学位论文 LaTeX 仓库生成 XeLaTeX Beamer 答辩稿(预答辩或正式答辩)与讲稿:脚本只读提取论文清单,按时长生成页面规划骨架, LLM 按内容规范填写结论句、要点与讲稿,再渲染、编译并用保真质量门检查,最后逐页预览交付。”

— opening of SKILL.md by bahayonghang
name
latex-defense-zh
allowed-tools
Read, Glob, Grep, Write, Edit, Bash(uv *)
when_to_use
触发于“用 LaTeX/Beamer 做答辩 PPT”“预答辩 slides”“博士/硕士学位论文答辩稿”“把论文 tex 仓库做成答辩幻灯片” “答辩讲稿”“答辩提问准备”“答辩稿过密/溢出/页数超时”“检查答辩稿里的数字和图是否来自论文”等中文学位论文答辩请求; English triggers…
metadata.category
academic-writing
metadata.tags
latex, beamer, thesis, defense, chinese, phd, xelatex, slides, speaker-notes, quality-gate
metadata.version
6.0.0
metadata.last_updated
2026-09-25
argument-hint
--thesis <论文仓库> [--minutes 40] [--stage predefense|defense] [--theme yanshan|generic] [--module extract|plan|build|check|preview]

Read the full SKILL.md on GitHub

Files

SKILL.md and 59 other files (scripts, references) in academic-writing-skills/latex-defense-zh of bahayonghang/academic-writing-skills.

  • SKILL.md
  • agents/openai.yaml
  • agents/qa-committee-agent.md
  • evals/evals.json
  • evals/fixtures/mini-thesis/chapters/chapter1.tex
  • evals/fixtures/mini-thesis/chapters/chapter2.aux
  • evals/fixtures/mini-thesis/chapters/chapter2.tex
  • evals/fixtures/mini-thesis/chapters/chapter3.aux
  • evals/fixtures/mini-thesis/chapters/chapter3.tex
  • evals/fixtures/mini-thesis/chapters/chapter4.tex
  • evals/fixtures/mini-thesis/chapters/chapter5.aux
  • evals/fixtures/mini-thesis/chapters/chapter5.tex
  • evals/fixtures/mini-thesis/chapters/chapter6.tex
  • evals/fixtures/mini-thesis/chapters/chapter7.tex
  • evals/fixtures/mini-thesis/document.tex
  • evals/fixtures/mini-thesis/document_blind.tex
  • … and 44 more

Open the folder on GitHubat commit 1689d44

Compare with similar skills

Latex Defense Zh 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.

Latex Defense Zh compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Latex Defense Zh this skillbahayonghang/academic-writing-skills500—~2.2kAutomated safety check: PassNone
Thesis Defense PPTX Builderzouchenzhen/thesis-defense-pptx-skill266—~2.4kAutomated safety check: PassApache-2.0
Sci PptShZhao27208/Aut_Sci_Write209—~757Automated safety check: PassMIT
PDFzai-org/ZCode7.7k—~18kAutomated safety check: NotesProprietary
Cheatsheet GeneratorEvan715823/cheatsheet-generator-skill200—~3kAutomated safety check: NotesMIT
BeamerNoi1r/beamer-skill364—~13kAutomated safety check: NotesMIT

Similar skills

  • Thesis Defense PPTX Builder

    zouchenzhen/thesis-defense-pptx-skill

    Builds an editable thesis defense PowerPoint from a thesis PDF or LaTeX project while preserving a supplied university or lab template, then runs a visual quality check.

    266 GitHub stars~2.4k tokensUpdated 4 mo ago
    Documents & OfficeAuto-check passed
  • Sci Ppt

    ShZhao27208/Aut_Sci_Write

    Generate professional academic PowerPoint (PPTX) presentations from paper PDFs, structured outlines, or plain text.

    209 GitHub stars~757 tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • PDF

    zai-org/ZCode

    Professional PDF toolkit covering four production workflows: reports, creative visuals, academic LaTeX, and existing PDF processing.

    7.7k GitHub stars~18k tokensUpdated yesterday
    Documents & OfficeAuto-check: notes
  • Cheatsheet Generator

    Evan715823/cheatsheet-generator-skill

    Generate LaTeX exam cheatsheets from course materials (PDF/PPTX/MD/images).

    200 GitHub stars~3k tokensUpdated 6 mo ago
    Documents & OfficeAuto-check: notes
  • Beamer

    Noi1r/beamer-skill

    Beamer LaTeX slide workflow: create, compile, review, and polish academic presentations.

    364 GitHub stars~13k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check: notes
  • Powerpoint Slides

    Noi1r/powerpoint-skill

    Create visually rich PowerPoint (.pptx) presentations from academic papers, research notes, or any content the user wants in slide format.

    124 GitHub stars~12k tokensUpdated 6 mo ago
    Documents & OfficeAuto-check: notes

More from bahayonghang/academic-writing-skills

All 8 skills in this repo
  • Bib Search Citation

    bahayonghang/academic-writing-skills

    Search and cite from local BibTeX/BibLaTeX .bib libraries, including Zotero exports.

    500 GitHub stars~2.3k tokensUpdated 13 days ago
    Auto-check passed
  • Cover Letter

    bahayonghang/academic-writing-skills

    Submission cover-letter assistant for existing LaTeX manuscripts.

    500 GitHub stars~2.8k tokensUpdated 13 days ago
    Auto-check passed
  • Latex Paper En

    bahayonghang/academic-writing-skills

    English LaTeX assistant for existing .tex journal or conference papers.

    500 GitHub stars~4.9k tokensUpdated 13 days ago
    Auto-check passed
  • Paper Audit

    bahayonghang/academic-writing-skills

    Reviewer-style audit and submission gate for academic papers in .tex, .typ, or .pdf.

    500 GitHub stars~5.1k tokensUpdated 13 days ago
    Auto-check passed
  • Typst Paper

    bahayonghang/academic-writing-skills

    Typst paper assistant for existing .typ manuscripts in English or Chinese.

    500 GitHub stars~3.6k tokensUpdated 13 days ago
    Auto-check passed
  • Paper Writing Studio

    bahayonghang/academic-writing-skills

    Use this academic writing skill to polish or translate academic writing with an explicit Nature, IEEE, Elsevier, or neutral profile.

    500 GitHub stars~2.4k tokensUpdated 13 days ago
    Auto-check passed

Questions about Latex Defense Zh

What does Latex Defense Zh do?

Chinese thesis defense deck builder for existing XeLaTeX PhD or master thesis repositories. Latex Defense Zh is an agent skill from bahayonghang/academic-writing-skills. Chinese thesis defense deck builder for existing XeLaTeX PhD or master thesis repositories.

When should I use Latex Defense Zh?

Latex Defense Zh fits situations like: tasks that involve LaTeX; tasks that involve PowerPoint presentations; tasks that involve Essays and academic help.

How do I install Latex Defense Zh in Claude Code?

Run `npx skills add bahayonghang/academic-writing-skills --skill latex-defense-zh -a claude-code`. Or copy the skill folder (academic-writing-skills/latex-defense-zh in bahayonghang/academic-writing-skills) into .claude/skills/latex-defense-zh in your project. Claude Code loads it when a task matches its description.

How do I install Latex Defense Zh in Codex?

Run `npx skills add bahayonghang/academic-writing-skills --skill latex-defense-zh -a codex`. Or copy the skill folder (academic-writing-skills/latex-defense-zh in bahayonghang/academic-writing-skills) into .agents/skills/latex-defense-zh in your project. Codex loads it when a task matches its description.

Can I use Latex Defense Zh in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add bahayonghang/academic-writing-skills --skill latex-defense-zh -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/latex-defense-zh, .gemini/skills/latex-defense-zh, .github/skills/latex-defense-zh and .opencode/skills/latex-defense-zh in your project.

What does Latex Defense Zh need to run?

Going by SKILL.md and its folder, Latex Defense Zh needs the command-line tools its instructions call (uv). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Glob, Grep, Write, Edit, Bash(uv *).

Does Latex Defense Zh access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Latex Defense Zh safe to install?

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.

What licence does Latex Defense Zh use?

No licence was found for Latex Defense Zh or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Latex Defense Zh use?

About 2.2k tokens (SKILL.md is roughly 8.9k 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 26k tokens, read only when the agent opens those files.

What are the alternatives to Latex Defense Zh?

Skills that share tags, products or a category with Latex Defense Zh: Thesis Defense PPTX Builder (zouchenzhen/thesis-defense-pptx-skill, 266 stars), Sci Ppt (ShZhao27208/Aut_Sci_Write, 209 stars), PDF (zai-org/ZCode, 7.7k stars) and Cheatsheet Generator (Evan715823/cheatsheet-generator-skill, 200 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Latex Defense Zh?

bahayonghang (a GitHub user) maintains it in bahayonghang/academic-writing-skills, which has 500 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 28, 2026.

Source: bahayonghang/academic-writing-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.