fig-pptx

fig-pptx is a skill for Claude Code, Codex from Azhi-ss/academic-figure-skills. It costs 82 tokens per session (622 once invoked), scanned A, original, MIT.

A workflow for turning an accepted academic diagram into an editable PowerPoint file. It keeps the words as editable text boxes and rebuilds the background, frames, and icons as separate image layers without changing the original PNG.

In plain words
What is it for?
Use it to create an editable PPTX from an approved academic illustration, while preserving the source image and checking the result against it.
Why use it?
It removes the need to redraw an approved diagram manually when the text or layout must be edited in PowerPoint.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create an editable PPTX from an approved academic illustration, while preserving the source image and checking the result against it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/azhi-ss/academic-figure-skills/fig-pptx
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 Azhi-ss/academic-figure-skills --skill fig-pptx
Clone the repo
git clone --depth 1 https://github.com/Azhi-ss/academic-figure-skills

Made for: Claude Code, Codex.

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 fig-pptx

README.md
[![agentmods](https://agentmods.dev/badge/skills/azhi-ss/academic-figure-skills/fig-pptx/github.svg)](https://agentmods.dev/skills/azhi-ss/academic-figure-skills/fig-pptx)
Your own site
<a href="https://agentmods.dev/skills/azhi-ss/academic-figure-skills/fig-pptx"><img src="https://agentmods.dev/badge/skills/azhi-ss/academic-figure-skills/fig-pptx/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 fig-pptx

Your own site · 80×15
<a href="https://agentmods.dev/skills/azhi-ss/academic-figure-skills/fig-pptx"><img src="https://agentmods.dev/badge/skills/azhi-ss/academic-figure-skills/fig-pptx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 622 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.
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.00082 $0.00622
Opus 5.5 $0.00033 $0.00249
Sonnet 5.5 $0.00016 $0.00124
Haiku 4.5 $0.00008 $0.00062

Measured 5d ago against content hash 7d31b457b80a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fig-pptx 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 5d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/chroma_key.py, scripts/compose_pptx.py, scripts/layout_guard.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

fig-pptx/SKILL.md · 30 lines

What it actually says

fig-pptx

把一张已经接受的学术示意图做成可编辑 PPTX。文字是文本框,底下的图片层没有这些字。源 PNG 不修改。

入口

只在两件事都成立时开始:用户接受了这张图,并且明确要可编辑 PPT。fig-draw 交付后的询问得到肯定,也算明确要求。

  • 图还没交付,或用户还没回答要不要做 PPT:停。
  • 用户不满意这张图:停。改图交给 fig-draw。改完并再次交付之后,由 fig-draw 再问一次。
  • 这是要保住数据点形状的结果图,而不是示意图:停,并说明这条路径会重画框架和图标。

步骤

  1. 读 references/layers.md。完成条件:抠图底色、三张图片层的提示词和 layout.json 字段都按那一页来。
  2. 在本 skill 目录建一个新的运行目录,把源图复制进去。完成条件:源文件本身没有被改写。
  3. 用图像工具看源图,再生成背景、框架、图标表。完成条件:三层都是新生成的图;没有从源图裁一块下来,也没有用形状或代码把卡片、图表、图标画出来。
  4. 按源图里字的样子运行 scripts/pick_font.py --style,把打印出的家族写入每段 font,再跑 references/layers.md 里的抠图、切片、校验和合成命令。完成条件:pick_font.py 退出码为 0,layout_guard.py --strict 退出码为 0,并写出 .pptx。漫画字缺 Comic Neue 时,脚本安装 fonts-comic-neue 后再选;其它风格列出已安装字体后退出时,停,不改用另一类字体。
  5. 打开合成预览,和源图并排看一次。字压住图标,或同一句话出现两次,就改 layout.json 再合成一次。然后停。完成条件:交付 .pptx 的路径,并说明和源图还差在哪里。
Files

What ships with it

7 files 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. 5d ago First seen · 30 lines · 82 tokens per session scan A 7d31b457b80a

Subscribe to this mod's changes

fig-pptx is a skill published in the GitHub repository Azhi-ss/academic-figure-skills (158 stars, last pushed 5d ago), licensed MIT. It adds 82 tokens to every session and 622 once invoked, about $0.0003 per session on Opus 5.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-10-12.

Related

Other skills, from other repositories

academic-plotting

Generates publication-quality figures for ML papers from research context. Given a paper section or description, extracts system components and relationships to generate architecture diagrams via Gemini. Given experiment results or data, auto-selects chart type and generates data-driven figures via matplotlib/seaborn.…

brycewang-stanford/Auto-Empirical-Research-Skills · 68 tokens

ml-paper-writing

Write publication-ready ML/AI papers for NeurIPS, ICML, ICLR, ACL, AAAI, COLM. Use when drafting papers from research repos, structuring arguments, verifying citations, or preparing camera-ready submissions. Includes LaTeX templates, reviewer guidelines, and citation verification workflows.

davila7/claude-code-templates · 65 tokens

academic-plotting

Generates publication-quality figures for ML papers from research context. Given a paper section or description, extracts system components and relationships to generate architecture diagrams via Gemini. Given experiment results or data, auto-selects chart type and generates data-driven figures via matplotlib/seaborn.…

Orchestra-Research/AI-Research-SKILLs · 68 tokens

slide-excellence

Multi-agent comprehensive slide review (visual + pedagogy + proofreading, plus TikZ / parity / substance conditionally). Use when user says "full review", "excellence pass", "comprehensive check", "review everything", "pre-release review", "slide excellence", or before teaching / shipping a deck. Fanout wrapper — for…

pedrohcgs/claude-code-my-workflow · 94 tokens

visual-explainer

HTML explainers, diagrams, architecture, timelines, source maps, slide decks, comparison tables, recaps, plan and diff reviews.

jamditis/claude-skills-journalism · 32 tokens

accessibility-compliance

Web accessibility patterns for news and academic sites. Use for WCAG audits, alt text, accessible data viz, and assistive tech.

jamditis/claude-skills-journalism · 32 tokens