gen-mdpt

A generator that writes a Markdown presentation for MDPT, a presentation tool that turns specially formatted Markdown into slides. It creates the presentation file in the current folder.

In plain words
What is it for?
It helps turn a topic, description, or document into an MDPT-ready slide deck with titles, content, code examples, and presentation settings.
Why use it?
It removes the need to learn MDPT’s required front matter, slide separators, themes, transitions, and code-display settings by hand.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/zipxing/rust_pixel/gen-mdpt
Any agent
npx skills add zipxing/rust_pixel --skill gen-mdpt
Clone the repo
git clone --depth 1 https://github.com/zipxing/rust_pixel

Made for: Claude Code, Codex.

Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,560 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00033 $0.01560
Opus 5 $0.00016 $0.00780
Sonnet 5 $0.00007 $0.00312
Haiku 4.5 $0.00003 $0.00156

Measured 2d ago against content hash 4eec7050878a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gen-mdpt 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 2d 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.

.claude/skills/gen-mdpt/SKILL.md · 239 lines

How it starts

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

Generate MDPT Presentation

You are generating a markdown presentation for MDPT (Markdown Presentation Tool built with RustPixel).

Topic / Requirements: $ARGUMENTS

Output

Write the generated markdown to gen.md in the current working directory.

MDPT Format Specification

YAML Frontmatter (required at top)

---
title: Presentation Title
author: Author Name
theme: dark
transition: cycle
title_animation: typewriter
code_theme: base16-ocean.dark
margin: 4
height: 26
transition_duration: 0.2
---

Available values:

  • theme: dark, light
  • transition: cycle, fade, slide_left, slide_right, slide_up, slide_down
  • title_animation: typewriter, spotlight, wave, fadein
  • code_theme: any syntect theme (base16-ocean.dark, Solarized (dark), InspiredGitHub)
  • margin: horizontal margin in cells (default 2)
  • width: virtual canvas width in cells (default 80)
  • height: virtual canvas height in cells (default 24, use 26-30 for dense content)

Slide Separator

Use --- on its own line to separate slides.

Headings

  • # H1 — title slides and ending slides only
  • ## H2 — normal slide title (most slides use this)
  • ### H3 — section heading within a slide

Lists

* Unordered item (supports nesting with indentation)
  * Nested item
    * Deeper nesting

1. Ordered item
2. Second item

Code Blocks

```rust +line_numbers
fn main() {
    println!("Hello!");
}
```

Options after language name: +line_numbers, +no_background

Dynamic highlighting (press Space to cycle groups):

```rust {1-3|5-8|all} +line_numbers
// lines 1-3 highlighted first
// then lines 5-8
// then all
```

Tables

| Header 1 | Header 2 | Header 3 |
|:---------|:--------:|---------:|
| Left     | Center   | Right    |

Block Quotes and Alerts

> Regular quote text

> [!note]
> This is a helpful note.

> [!caution]
> Be careful with this!

Read the full file on GitHub · 239 lines

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. 2d ago First seen · 239 lines · 33 tokens per session scan A 4eec7050878a

Subscribe to this mod's changes

gen-mdpt is a skill published in the GitHub repository zipxing/rust_pixel (298 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 1,560 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-08-30.

Related

Other skills, from other repositories

embedded-captions

Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet…

heygen-com/hyperframes · 120 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens

chengfeng-check-updates

剪辑环境的唯一管理者:就绪检查(skills 是否最新 → Runtime 是否配套)、Skills 更新激活、Runtime 安装与体检。用户说检查更新、安装剪辑环境、装播放器、检查剪辑环境、剪辑环境就绪了吗、配置转录凭证时使用;业务 Skill(剪口播/字幕/画面/导出)第 0 步也引用本 Skill 的就绪检查。不用于剪辑、字幕、画面、导出本身或项目数据迁移。.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens

cap_llm_inspect_image

How to inspect a local image with inspectimage.

espressif/esp-claw · 17 tokens