slides-as-code

slides-as-code is a skill for Claude Code from foryourhealth111-pixel/Vibe-Skills. It costs 46 tokens per session (508 once invoked), scanned A, original, Apache-2.0.

A workflow for creating scientific presentations from text-based source files and exporting them reproducibly to formats such as PDF. It includes guidance for structuring findings and reusing figures.

In plain words
What is it for?
It is for building research talks, technical presentations, and reproducible slide decks with tools such as Slidev, Marp, Reveal.js, or Quarto.
Why use it?
It helps prevent version confusion, low-quality screenshots, and inconsistent presentation structure.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It is for building research talks, technical presentations, and reproducible slide decks with tools such as Slidev, Marp, Reveal.js, or Quarto.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/foryourhealth111-pixel/vibe-skills/slides-as-code
About the project

Vibe-Skills is a collection and routing system that helps AI agents discover, select, and coordinate specialized skills for completing tasks. It is intended for agents that need to organize workflows across many installed capabilities. The catalogue entries are skills and an agent belonging to this system.

foryourhealth111-pixel/Vibe-Skills · 3,235 stars · on GitHub

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 foryourhealth111-pixel/Vibe-Skills --skill slides-as-code
Clone the repo
git clone --depth 1 https://github.com/foryourhealth111-pixel/Vibe-Skills

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 slides-as-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/foryourhealth111-pixel/vibe-skills/slides-as-code/github.svg)](https://agentmods.dev/skills/foryourhealth111-pixel/vibe-skills/slides-as-code)
Your own site
<a href="https://agentmods.dev/skills/foryourhealth111-pixel/vibe-skills/slides-as-code"><img src="https://agentmods.dev/badge/skills/foryourhealth111-pixel/vibe-skills/slides-as-code/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 slides-as-code

Your own site · 80×15
<a href="https://agentmods.dev/skills/foryourhealth111-pixel/vibe-skills/slides-as-code"><img src="https://agentmods.dev/badge/skills/foryourhealth111-pixel/vibe-skills/slides-as-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 508 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00046 $0.00508
Opus 5 $0.00023 $0.00254
Sonnet 5 $0.00009 $0.00102
Haiku 4.5 $0.00005 $0.00051

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

Security

Grade A, and why

slides-as-code 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.

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.

bundled/skills/slides-as-code/SKILL.md · 60 lines

What it actually says

Slides as Code(顶级科研汇报的可复现幻灯片)

目标

解决常见问题:

  • PPT 版本失控(final_v7)
  • 图表重复截图、清晰度崩坏
  • 汇报结构不稳定(信息密度失衡)

本 skill 让 slides 拥有:

  • 文本源(Markdown / Quarto / LaTeX Beamer)
  • 可复现导出(PDF、可选 PPTX)
  • 图表复用(直接引用 figures/ 最终导出,不截图)

技术路线(按约束选)

  1. Slidev:开发者友好,组件化,适合组会/技术分享
  2. Marp:排版可控,适合快速生成简洁风格
  3. Reveal.js:网页交互强,适合 demo/交互展示
  4. Quarto slides:报告/论文/幻灯片一体化(推荐用于报告+slides联动)

内容结构建议使用 scientific-slides;本 skill 更偏“工程化与导出管线”。


元规则(幻灯片质量的 80/20)

1) 一页一结论

  • 标题就是结论,不是主题
  • 每页只服务一个问题:What / Why / How / So what

2) 图不截图

  • 图只从 figures/**/out/ 引用(PDF/SVG/PNG)
  • 禁止从论文 PDF 截图再贴回 PPT

3) 讲述顺序固定

推荐骨架:

  1. 背景与缺口(1–2 页)
  2. 方法直觉(1–2 页示意图)
  3. 核心结果(3–6 页,每页一图一结论)
  4. 局限与下一步(1–2 页)

模板

参考:templates/slidev-structure.md

Files

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.

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 First seen · 60 lines · 46 tokens per session scan A cb8768c3d4fe

Subscribe to this mod's changes

slides-as-code is a skill published in the GitHub repository foryourhealth111-pixel/Vibe-Skills (3,235 stars, last pushed 10d ago), licensed Apache-2.0. It adds 46 tokens to every session and 508 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

pydicom

Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.

K-Dense-AI/scientific-agent-skills · 56 tokens

pptx-posters

Create and audit editable scientific posters in macro-free PowerPoint (.pptx) from author-approved local content and assets. Use when the requested deliverable is a PowerPoint research/conference poster and exact physical, printer, accessibility, provenance, and package-security checks are required.

K-Dense-AI/scientific-agent-skills · 59 tokens

ai-provider-claude-vision

Image understanding and document analysis with Claude's multimodal capabilities -- image input formats, PDF processing, multi-image patterns, structured extraction, and token cost estimation.

agents-inc/skills · 38 tokens

pdf-toolkit

Audit PDF files for metadata leakage, page count, encryption, JavaScript, embedded files, and version. Use before sending a PDF externally, when redacting sensitive metadata, or running a PDF security review.

borghei/Claude-Skills · 45 tokens

pptx-toolkit

Audit PowerPoint (.pptx) decks for slide count, text density, embedded images and fonts, hidden slides, speaker notes, and animation density. Use when reviewing a board deck, sales deck, or conference talk before sending.

borghei/Claude-Skills · 51 tokens

faostat-analytical-brief

Use when the user wants a short, FAOSTAT-style analytical brief — a multi-page PDF policy document in the FAOSTAT house visual style, with a HIGHLIGHTS box, global/regional/country sections, numbered figures with source lines, explanatory notes, and a data appendix. Use when the user asks for "an analytical brief on…

berba-q/faostat-skills · 183 tokens