indd-to-idml
Skill1 starsChanged 8 days agoUnlicenseView on GitHub
Convert Adobe InDesign (.indd, .indt) files to IDML (.idml) without InDesign using storytold/indd-utils across macOS, Linux, and Windows. Automatically checks whether indd and its dependencies (git, rustup, rustc >= 1.95) are installed before building or converting, asks before fetching URLs or writing outside the working directory, and reports converter limitations and unread objects. Use when asked to convert .indd or .indt files to .idml, inspect InDesign files, or run indd-utils.
- Pipes a download into a shell
- Installs packages
In this repository78 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ad-copy-writerSkill
- ae-inspect-describeSkill
- algorithmic-artSkill
- animation-directorSkill
- assembly-guideSkill
- brainstorming-and-ideatingSkill
- brainstorming-research-ideasSkill
- brainstormingSkill
- brief-to-tasksSkill
- canvas-designSkill
- cli-designSkill
- cli-output-hierarchySkill
- commit-messageSkill
- craft-uiSkill
- creative-directorSkill
- design-briefSkill
- design-flowSkill
- design-mock-auditSkill
- design-reviewSkill
- design-system-patternsSkill
- design-tokensSkill
- deslopifySkill
- diagnoseSkill
- diagramming-app-routesSkill
- doc-claritySkill
- doc-restructureSkill
- eval-criticSkill
- formatting-open-markdownsSkill
- frontend-designSkill
- frontend-slidesSkill
- gdocs-tab-writerSkill
- gemini-apiSkill
- gif-creationSkill
- github_repo_researchSkill
- grill-meSkill
- grill-with-docsSkill
- hallmarkSkill
- handoffSkill
- html-presentationSkill
- humanizerSkill
- i-have-adhdSkill
- improve-codebase-architectureSkill
- information-architectureSkill
- install-skill-from-githubSkill
- markdown-output-hierarchySkill
- marketing-psychologySkill
- merge-latestSkill
- modern-web-performanceSkill
- motion-designSkill
- pdf-readerSkill
- pm-brainstormingSkill
- pm-discovery-brainstormSkill
- product-marketingSkill
- prototypeSkill
- pull-requestSkill
- ralph_loopSkill
- react-best-practicesSkill
- review-loopSkill
- sandbox-explainerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
InDesign 1.x: Not supported (different container).
- Very specific: line 33
Ask the user for confirmation and show the exact commands before fetching any URL (curl https://sh.rustup.rs, cargo install --git ...), …
- Very specific: line 73
Before installing dependencies or compiling anything, check whether the indd binary already exists in PATH, the Cargo bin directory, or the …
- Distinctive: line 79
Check these locations in order:
- Very specific: line 147
If the repo is already cloned at $HOME/.gemini/jetski/scratch/indd-utils:
- Very specific: line 225
Default output path (if not specified by the user): same directory and basename as the input file with the .idml extension.
- Very specific: line 245
Run indd audit to inspect database classes, chunks, attribute IDs, and codes in the document that the converter does not read (including …
- Very specific: line 251
Always present the saved .idml file path prominently as a clickable link (filename.idml) along with its file size.
- Distinctive: line 253
Never promise 100% layout or formatting fidelity.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Converting INDD / INDT to IDML (indd-utils)
Converts native Adobe InDesign documents (.indd) and templates (.indt) to
IDML packages (.idml) without InDesign using
storytold/indd-utils.
Scope, Fidelity, and Filesystem Rules
- Clean-room reverse-engineered reader (no fidelity guarantee): INDD is an
undocumented proprietary format. Every fact
indd-utilsrelies on was found by comparing sample INDD files with IDML exports. The output is not identical to InDesign's own IDML export; never promise complete fidelity, even when a conversion emits zero warnings. - Supported versions and known gaps:
- InDesign 1.x: Not supported (different container).
- InDesign 3.0–7.5: Converts, with document preferences (3.0–7.5), object style text frame settings (3.0–4.0), and the page number style (3.0) omitted with warnings.
- InDesign 8.0–21.6: Converts, except tables from InDesign 9.2 are not read.
- Unconverted across versions: Conditional text, QR codes, flex objects, transparency of placed graphics, most non-gradient transparency effects (bevel, satin, directional/basic feather, drop shadow offsets), hyperlink sources spanning paragraphs or holding anchored objects, XML attributes/comments/PIs/DTDs, and attributes whose value does not vary across public samples.
- Commands, network fetches, and writing outside the working directory:
- Ask the user for confirmation and show the exact commands before fetching any
URL (
curl https://sh.rustup.rs,cargo install --git ...), installing or updating any toolchain or system package (rustup, MSVC Build Tools,apt,winget), or installing a binary into~/.cargo/bin(%USERPROFILE%\.cargo\bin). - During conversion, only read the user's input
.indd/.indtfile and write the single requested.idmloutput file. Never overwrite an existing file or write to another directory without asking first.
- Ask the user for confirmation and show the exact commands before fetching any
URL (
+-----------------------------------------------------------------------+
| 1. Locate `indd` binary (PATH -> ~/.cargo/bin -> scratch build) |
+-----------------------------------+-----------------------------------+
|
Found? --------+-------- Not Found?
| |
v v
| +---------------------------------------+
| | 2. Check Dependencies (OS-specific) |
| | - Check git & rustc >= 1.95.0 |
| | - Ask user before fetching/writing |
| | - Build or install `indd` |
| +-----------------+---------------------+
| |
+------------+-------------+
|
v
+-----------------------------------------------------------------------+
| 3. Convert, Audit & Report |
| - `indd info <in.indd>` |
| - `indd convert <in.indd> <out.idml>` |
| - Verify ZIP/UCF package integrity (`unzip -t` / `ZipFile`) |
| - `indd audit <in.indd>` (report unread objects & converter limits)|
+-----------------------------------------------------------------------+Step 1: Check if indd is Already Installed
Before installing dependencies or compiling anything, check whether the indd
binary already exists in PATH, the Cargo bin directory, or the local scratch
build directory.
macOS & Linux
Check these locations in order:
which indd$HOME/.cargo/bin/indd$HOME/.gemini/jetski/scratch/indd-utils/target/release/indd
ls -la "$HOME/.cargo/bin/indd" "$HOME/.gemini/jetski/scratch/indd-utils/target/release/indd"Windows (PowerShell)
Check these locations in order:
Get-Command indd -ErrorAction SilentlyContinue$env:USERPROFILE\.cargo\bin\indd.exe$env:USERPROFILE\.gemini\jetski\scratch\indd-utils\target\release\indd.exe
Test-Path "$env:USERPROFILE\.cargo\bin\indd.exe", "$env:USERPROFILE\.gemini\jetski\scratch\indd-utils\target\release\indd.exe"If indd is found in any of the above locations, skip Step 2 and proceed
directly to Step 3.
Step 2: Check Dependencies & Install indd-utils
indd-utils requires:
git(to fetch the repository)- Rust
>= 1.95.0(rust-version = "1.95"inCargo.toml, required forlet_chainsstabilized in 1.88 andif_let_guardinsrc/model/story.rsstabilized in 1.95). The crate has zero external dependencies inCargo.toml.
[!IMPORTANT] Ask the User Before Fetching, Installing, or Writing Outside the Working Directory: Never fetch from a remote URL (
https://sh.rustup.rs,https://github.com/storytold/indd-utils.git), install or update a toolchain (rustup, MSVC Build Tools) or system package (apt,winget), or write a binary into~/.cargo/bin(%USERPROFILE%\.cargo\bin) without confirmation. Show the exact commands first and ask the user for approval.
[!IMPORTANT] Compiler Shadowing Gotcha (macOS Homebrew / Linux apt): System package managers (Homebrew
/opt/homebrew/bin/rustcor Debian/Ubuntu/usr/bin/rustc) often ship an olderrustcearlier inPATHthan~/.cargo/bin/rustc. Always check~/.cargo/bin/rustc --versiondirectly and passRUSTC="$HOME/.cargo/bin/rustc"when invoking~/.cargo/bin/cargo.
2.1. macOS
- Check
gitandrustc:git --version"$HOME/.cargo/bin/rustc" --version - If
rustupis missing, show the command and ask the user before running:curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - If
rustcis< 1.95.0, show the command and ask the user before updatingstable:"$HOME/.cargo/bin/rustup" update stable - Build or install
indd(show the command and ask the user before fetching from GitHub or writing to~/.cargo/bin):- If the repo is already cloned at
$HOME/.gemini/jetski/scratch/indd-utils:env RUSTC="$HOME/.cargo/bin/rustc" "$HOME/.cargo/bin/cargo" install --path "$HOME/.gemini/jetski/scratch/indd-utils" - Otherwise, install directly from GitHub:
env RUSTC="$HOME/.cargo/bin/rustc" "$HOME/.cargo/bin/cargo" install --git https://github.com/storytold/indd-utils.git
- If the repo is already cloned at
2.2. Linux
- Check
git, C linker (cc), andrustc:git --version
(If"$HOME/.cargo/bin/rustc" --versiongitorccis missing on Debian/Ubuntu, showsudo apt-get updateandsudo apt-get install -y git build-essential curland ask the user before running.) - If
rustupis missing, show the command and ask the user before running:curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - If
rustcis< 1.95.0, show the command and ask the user before updatingstable:"$HOME/.cargo/bin/rustup" update stable - Install
inddinto~/.cargo/bin/indd(show the command and ask the user first):env RUSTC="$HOME/.cargo/bin/rustc" "$HOME/.cargo/bin/cargo" install --git https://github.com/storytold/indd-utils.git
2.3. Windows (PowerShell)
- Check
gitandrustc:git --version& "$env:USERPROFILE\.cargo\bin\rustc.exe" --version - If
git,rustup, or MSVC Build Tools are missing, show the commands and ask the user before running:winget install --id Git.Git -e --source wingetwinget install --id Rustlang.Rustup -e --source wingetwinget install Microsoft.VisualStudio.2022.BuildTools --override "--wait --passive --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended" - If
rustcis< 1.95.0, show the command and ask the user before updatingstable:& "$env:USERPROFILE\.cargo\bin\rustup.exe" update stable - Install
indd.exeinto%USERPROFILE%\.cargo\bin\indd.exe(show the command and ask the user first):$env:RUSTC = "$env:USERPROFILE\.cargo\bin\rustc.exe" & "$env:USERPROFILE\.cargo\bin\cargo.exe" install --git https://github.com/storytold/indd-utils.git
Step 3: Convert INDD / INDT to IDML
Once the indd binary path (<INDD_BIN>) is resolved:
- Inspect Document Metadata (
indd info): Checks the InDesign version (supports 3.0 through 21.6+; 1.x uses a different container and is unsupported), endianness, database page count, and object count.<INDD_BIN> info "/path/to/input.indd" - Convert to IDML (
indd convert):<INDD_BIN> convert "/path/to/input.indd" "/path/to/output.idml"- Non-fatal conversion issues are printed to
stderraswarning: .... - Default output path (if not specified by the user): same directory and basename as the input file with the
.idmlextension. Ask the user before overwriting an existing.idmlfile or writing to any other directory.
- Non-fatal conversion issues are printed to
Step 4: Verify Archive Integrity, Audit Unread Data, and Report
- Verify IDML Archive Integrity:
IDML files are UCF (ZIP) packages containing
mimetype,designmap.xml,Spreads/,Stories/,MasterSpreads/, andResources/. Note that this checks only ZIP container integrity, not layout/formatting fidelity.- macOS / Linux:
unzip -t "/path/to/output.idml" - Windows (PowerShell — decompresses every entry stream to verify CRC-32 integrity):
Add-Type -AssemblyName System.IO.Compression.FileSystem $z = [IO.Compression.ZipFile]::OpenRead("C:\path\to\output.idml") try { foreach ($e in $z.Entries) { $s = $e.Open(); $s.CopyTo([IO.Stream]::Null); $s.Close() } } finally { $z.Dispose() }
- macOS / Linux:
- Unread Object Audit (
indd audit): Runindd auditto inspect database classes, chunks, attribute IDs, and codes in the document that the converter does not read (including items that do not emitstderrwarnings duringindd convert):<INDD_BIN> audit "/path/to/input.indd" - Report the Result Accurately:
- Always present the saved
.idmlfile path prominently as a clickable link ([filename.idml](file:///absolute/path/to/filename.idml)) along with its file size. - State the source InDesign version reported by
indd info, anystderrwarnings fromindd convert, and a summary of unread items fromindd audit. - Never promise 100% layout or formatting fidelity; mention any relevant version or feature caveats from Scope, Fidelity, and Filesystem Rules.
- Always present the saved
Additional indd Subcommands Reference
| Subcommand | Purpose |
indd convert <in.indd> <out.idml> | Convert INDD or INDT file to an IDML package |
indd info <file.indd>... | Print InDesign version, byte order, master page, and object count |
indd audit [--tsv] <file.indd> | Report database objects/chunks not read by the converter |
indd xmp <file.indd> | Extract the document's XMP metadata packet |
indd objects <file.indd> | List each database object (UID, class, byte length, header bytes) |
indd uids <file.indd> | List UID and class for every object without reading object payloads |
indd dump [--full] <file.indd> <uid>... | Hex-dump specific object chunks by UID |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

