indesign-conversion

indesign-conversion is a skill for Claude Code from PMDevSolutions/Aurelius. It costs 99 tokens per session (1,005 once invoked), scanned A, original, MIT.

A conversion workflow that turns an exported Adobe InDesign IDML package or PDF into typed React components, reusable design tokens, and Storybook stories. Design tokens are named values for styles such as colors, fonts, and spacing.

In plain words
What is it for?
It helps parse InDesign exports, derive styles, generate React and Storybook files, and prepare a component set for further web development.
Why use it?
It creates a usable web starting point from a print layout while making clear that the result needs manual refinement and is not a pixel-perfect copy.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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/pmdevsolutions/aurelius/indesign-conversion
Any agent
npx skills add PMDevSolutions/Aurelius --skill indesign-conversion
Clone the repo
git clone --depth 1 https://github.com/PMDevSolutions/Aurelius

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 indesign-conversion

README.md
[![agentmods](https://agentmods.dev/badge/skills/pmdevsolutions/aurelius/indesign-conversion.svg)](https://agentmods.dev/skills/pmdevsolutions/aurelius/indesign-conversion)
Your own site
<a href="https://agentmods.dev/skills/pmdevsolutions/aurelius/indesign-conversion"><img src="https://agentmods.dev/badge/skills/pmdevsolutions/aurelius/indesign-conversion.svg" alt="Measured on agentmods" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,005 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.1 $0.00099 $0.01005
Opus 5 $0.00049 $0.00502
Sonnet 5 $0.00020 $0.00201
Haiku 4.5 $0.00010 $0.00101

Measured yesterday against content hash bbbcdf8dca43, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

indesign-conversion 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 yesterday.

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/indesign-conversion/SKILL.md · 65 lines

How it starts

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

InDesign Conversion

Overview

This skill drives the InDesign pipeline end to end: it parses an exported IDML package or PDF into a normalized intermediate representation (IR), maps the styles and swatches to design tokens (a Tailwind preset, tokens.css, tokens.ts, and a Style Dictionary JSON), and generates typed React components with Storybook stories. It pairs with the indesign-to-react agent, which reviews the generation report and proposes follow-ups.

When to use

  • A designer delivered an exported .idml or .pdf (the normal handoff) and you want a styled React starting point rather than rebuilding by hand.
  • You need design tokens (colors, type scale, spacing) derived directly from the InDesign document.

Do not use it for live Figma/Canva designs (use those pipelines) or when you need pixel-perfect reconstruction — this produces a usable, token-driven scaffold for manual refinement.

Prerequisites

  • An exported .idml (File → Export → InDesign Markup) or a PDF exported from InDesign. Source .indd files are not supported — export first.
  • The @aurelius/pipeline package built (pnpm --filter @aurelius/pipeline build).
  • For best fidelity, prefer IDML when available — it carries named paragraph/character styles and swatches that PDF lacks.

Expected outputs

Into <output> (default ./src/indesign):

  • *.tsx — one typed component per spread, plus *.stories.tsx and an index.ts barrel.
  • tokens/tokens.ts, tokens.css, tailwind.preset.ts, design-tokens.json.
  • public/indesign/ — extracted images, referenced by the components.
  • indesign-pipeline-report.md and indesign-pipeline-report.json — produced files, staged assets, unmapped frames, and accessibility TODOs.

Worked example

Using the committed fixture (tests/fixtures/indesign/sample.idml):

pnpm --filter @aurelius/pipeline build
node packages/pipeline/dist/pipeline-cli.js pipeline indesign \
  tests/fixtures/indesign/sample.idml \
  --target react --styling tailwind --output ./out/indesign

Read the full file on GitHub · 65 lines

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. yesterday First seen · 65 lines · 0 tokens per session scan A bbbcdf8dca43

Subscribe to this mod's changes

indesign-conversion is a skill published in the GitHub repository PMDevSolutions/Aurelius (8 stars, last pushed 21d ago), licensed MIT. It adds 99 tokens to every session and 1,005 once invoked, about $0.0005 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-04.

Related

Other skills, from other repositories

figma-codegen

Generate framework-aware code from a Figma design. Reads the project's stack profile and emits code matching the existing framework (React/Vue/Svelte/Next/etc.) and styling (Tailwind/CSS/CSS-in-JS), reusing existing components and design tokens instead of regenerating from scratch. Triggers whenever the user wants a…

awdr74100/figwright · 145 tokens

high-plains-drifter

Align a design to your real Storybook components instead of reconstructing it. Use when turning a Figma frame into React built from an existing component library (Build mode), or when pulling scrappy exploratory code into line with the library once a direction feels right (Align mode). Triggers include "build this…

alexconner-79/high-plains-drifter · 148 tokens

Figma Developer

Extract components from Figma, convert designs to React components, sync design tokens, and generate code from designs. Bridge the gap between design and code with automated workflows.

daffy0208/ai-dev-standards · 37 tokens

figma-typings-audit

Upgrade @figma/plugin-typings and absorb what the new version exposes. Diffs the .d.ts between the installed and the target version (that package ships no changelog), sorts the changes into breakage / new API / silently-added fields, maps each onto the sandbox handlers, the hand-written Zod mirrors in shared, and the…

awdr74100/figwright · 133 tokens

mcp-sdk-audit

Upgrade @modelcontextprotocol/server (the MCP TypeScript SDK v2) and prove the wire contract survived. The SDK is a runtime dependency whose breakage lands on the wire, not in the type checker — so this sorts each release by which SDK source files it touched (Figwright uses only the server + stdio slice of a…

awdr74100/figwright · 159 tokens

design-to-code

Mockup-to-component pipeline using Google Stitch, 21st.dev, and Storybook MCP. Accepts a screenshot, a description, or a URL and produces production-ready React components, checking existing Storybook components before generating anything new. Use when implementing UI from a mockup or screenshot. To call the MCP tool…

yonatangross/orchestkit · 86 tokens