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.
npx skills add phanghonghao/THU-Awesome-Skills --skill latex-beamergit clone --depth 1 https://github.com/phanghonghao/THU-Awesome-SkillsWrote 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.
[](https://agentmods.dev/skills/phanghonghao/thu-awesome-skills/latex-beamer)<a href="https://agentmods.dev/skills/phanghonghao/thu-awesome-skills/latex-beamer"><img src="https://agentmods.dev/badge/skills/phanghonghao/thu-awesome-skills/latex-beamer/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.
<a href="https://agentmods.dev/skills/phanghonghao/thu-awesome-skills/latex-beamer"><img src="https://agentmods.dev/badge/skills/phanghonghao/thu-awesome-skills/latex-beamer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.09555 |
| Opus 5 | $0.00027 | $0.04777 |
| Sonnet 5 | $0.00011 | $0.01911 |
| Haiku 4.5 | $0.00005 | $0.00955 |
Grade A, and why
latex-beamer 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 12d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 992 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LaTeX Beamer 智能同步 Skill
将 Markdown 笔记转换为 LaTeX Beamer 演示文稿,支持增量更新。
Overview
核心功能:
- 不存在则生成 - 如果 .tex 文件不存在,从 .md 完整生成
- 存在则同步 - 如果 .tex 已存在,先检测 .md 变化,然后增量更新
- 双向同步 - 支持 .md 和 .tex 内容的智能对比和同步
- 单版本输出 - 统一使用 ctex (XeLaTeX) 编译,兼容中英文
- PPTX 输出 -
--pptx跳过 PDF 编译,直接从 .tex 生成 PPTX
命令行标志
| 标志 | 说明 | 行为 |
|---|---|---|
| (无标志) | 默认流程 | Step 1→2/3→4 (PDF 编译) → 5 (可选 PPTX) |
--pptx |
仅生成 PPTX | 跳过 Step 4 (PDF 编译),直接走 Step 5 (读取 .tex → 生成 gen_pptx.py → 执行) |
--pptx <path> |
指定路径 + 仅 PPTX | 定位到 <path> 目录,跳过 PDF 编译,直接生成 PPTX |
--pptx 的使用场景
- 已有 .tex 和 .pdf,只需要 PPTX — 不需要重新编译 PDF,直接从 .tex 生成 PPTX
- 快速迭代 PPTX 排版 — 修改 gen_pptx.py 后重新执行,不用等 xelatex 编译
- 没有 MiKTeX 环境 — 不需要 xelatex,只要有 .tex 文件就能生成 PPTX
Workflow
Step 1: 文件状态检测
检查目标 LaTeX 文件是否存在:
# 检查文件是否存在
ls docs/presentation/templates/latex/xxx/main.tex
判断逻辑:
- 如果不存在 → 走 Step 2: 完整生成流程
- 如果存在 → 走 Step 3: 增量同步流程
--pptx 跳转逻辑:
- 如果用户传入
--pptx且 .tex 已存在 → 跳过 Step 2/3/4,直接走 Step 5 - 如果用户传入
--pptx但 .tex 不存在 → 先走 Step 2 生成 .tex,然后跳过 Step 4,走 Step 5 - 如果用户传入
--pptx指向 .tex 文件路径 → 直接读取该 .tex,走 Step 5
Step 2: 完整生成流程(文件不存在时)
2.1 分析 Markdown 文件
读取并分析 .md 文件结构:
# 关键信息提取
- 项目名称: 从标题或 # 中提取
- 作者信息: 从 "团队成员" 或类似章节提取
- 章节结构: ## 标记的章节
- 图片引用:  或 <img> 标签
- 表格数据: Markdown 表格格式
- 数学公式: $...$ 或 $$...$$
2.2 选择文档类型
根据用户需求选择:
- Beamer 演示文稿:
\documentclass{beamer} - Article 文档:
\documentclass{article}
2.3 生成 .tex 文件(XeLaTeX + ctex)
\documentclass[aspectratio=169, 10pt]{beamer}
\usepackage[UTF8]{ctex}
% ... 其他设置
\begin{document}
% 内容(无需 CJK* 环境,原生支持中英文)
\end{document}
2.4 处理图片
- 复制图片到
sources/目录 - 重命名为英文(中文转拼音)
- 更新 LaTeX 中的引用路径
2.5 处理 GIF / 视频动画
当 .md 中引用了 .gif、.mp4、.avi 等动态媒体文件时,自动提取帧并嵌入为 PDF 动画。
检测规则
扫描 .md 中的媒体引用(与图片相同语法):


也扫描 sources/ 目录中的 .gif 文件。
What ships with it
1 file 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.
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.
- 12d ago First seen · 992 lines · 54 tokens per session scan A f8d06e3619c0
latex-beamer is a skill published in the GitHub repository phanghonghao/THU-Awesome-Skills (8 stars, last pushed 1mo ago), licensed MIT. It adds 54 tokens to every session and 9,555 once invoked, about $0.0003 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…