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.
npx agentmods add skills/mindboard/indesign-extendscript-plugins/inddnpx skills add mindboard/indesign-extendscript-plugins --skill inddgit clone --depth 1 https://github.com/mindboard/indesign-extendscript-pluginsWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00087 | $0.07930 |
| Opus 5 | $0.00044 | $0.03965 |
| Sonnet 5 | $0.00017 | $0.01586 |
| Haiku 4.5 | $0.00009 | $0.00793 |
Grade A, and why
indd 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.
How it starts
The opening of the file, as written. The whole thing — 549 lines — stays where its author put it; the contents beside it link to each section on GitHub.
InDesign ExtendScript Runner
Automate Adobe InDesign on macOS by generating an ExtendScript (.jsx) file and
executing it inside a running InDesign application via AppleScript.
InDesign ExtendScript is ECMAScript 3 (old JavaScript) plus an InDesign-specific
DOM and Adobe's File/Folder/$ host objects. It is not Node.js or modern JS —
no let/const/arrow functions/JSON.parse/template literals. Use var, classic
function expressions, and the idioms shown below.
Prerequisites
- macOS with Adobe InDesign installed (e.g. "Adobe InDesign 2026").
- The script runs against the currently running InDesign. Many scripts assume an
open document via
app.activeDocument— make sure InDesign is open with the relevant document, or have the script create one withapp.documents.add(...).
How to run a script
- Write the ExtendScript to a local file, e.g.
/tmp/indesign-script.jsx. - Execute it with
osascript, telling InDesign todo script ... language javascript:
osascript -e 'with timeout of 300 seconds
tell application "Adobe InDesign 2026"
do script (POSIX file "/tmp/indesign-script.jsx") language javascript
end tell
end timeout'
- Replace
2026with the installed version year the user has (2024, 2025, 2026, …). Default to 2026 unless told otherwise. - Always pass an absolute POSIX path to the
.jsxfile. - Always wrap in
with timeout of N seconds … end timeout. The default Apple event timeout is ~60s; longer scripts (enumeratingapp.fonts, placing images, building tables, exporting) fail with "AppleEvent timed out. (-1712)" without it. Verified: a font-enumeration script timed out at the default and succeeded withwith timeout. stdoutofosascriptis the value of the last evaluated expression in the.jsx. That is why the scripts below end withlogs.join('\n')— it returns the collected log lines to the shell so you can read the result.
A reusable one-liner (adjust version + path):
What ships with it
52 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.
- examples-index.json 12 KB
- scripts/00_close-all-documents.jsx 319 B
- scripts/00_console-log.jsx 514 B
- scripts/00_get-active-document-filename.jsx 303 B
- scripts/00_get-current-dir.jsx 243 B
- scripts/00_get-selection-information.jsx 256 B
- scripts/00_read-all-font-names-in-active-document.jsx 276 B
- scripts/00_read-all-font-names.jsx 245 B
- scripts/01_create-document-with-textframe.jsx 843 B
- scripts/02_export-doc-as-eps.jsx 1.4 KB
- scripts/02_export-doc-as-jpg.jsx 1.3 KB
- scripts/02_export-doc-as-pdf.jsx 1.4 KB
- scripts/02_export-doc-as-png.jsx 1.4 KB
- scripts/03_create-table-and-find-it.jsx 4.0 KB
- scripts/03_create-table-from-price-list-json.jsx 3.4 KB
- scripts/03_create-table.jsx 2.7 KB
- scripts/04_insert-image-as-inline.jsx 1.9 KB
- scripts/04_place-image-in-center-of-page.jsx 1.7 KB
- scripts/04_place-image-into-rectangle.jsx 1.7 KB
- scripts/04_place-image-with-graphicframe.jsx 1.9 KB
- scripts/04_place-pdf.jsx 2.0 KB
- scripts/05_convert-idml-to-indd.jsx 1.1 KB
- scripts/05_listup-idml-files.jsx 423 B
- scripts/05_merge-idml-files.jsx 830 B
- scripts/06_save-read-parse-json.jsx 1.1 KB
- scripts/06_save-read-parse-text.jsx 1.0 KB
- scripts/07_replace-image.jsx 2.5 KB
- scripts/07_traverse-document.jsx 913 B
- scripts/08_beizer.jsx 836 B
- scripts/08_draw-a-polygon.jsx 666 B
- scripts/08_fractal-ginkgo-leaf.jsx 2.6 KB
- scripts/08_fractal-triangle.jsx 2.7 KB
- scripts/08_graphic-line.jsx 696 B
- scripts/09_create-hello-world-with-paragraph-and-character-style.jsx 2.4 KB
- scripts/09_create-hello-world-with-paragraph-style.jsx 1.0 KB
- scripts/09_read-all-character-styles.jsx 300 B
- scripts/09_read-all-paragraph-styles.jsx 300 B
- scripts/10_find-layer-and-add-layer.jsx 1.2 KB
- scripts/11_check-link-metadata.jsx 2.6 KB
- scripts/12_create-rounded-textframe.jsx 2.1 KB
- scripts/12_create-textframe-align-contents-center.jsx 1.8 KB
- scripts/12_insert-inline-textframe.jsx 2.4 KB
- scripts/12_inspect-text-object.jsx 1.4 KB
- scripts/13_create-doc-with-multiple-pages.jsx 2.3 KB
- scripts/14_delete-all-conditional-texts.jsx 283 B
- scripts/14_read-all-conditional-text-names.jsx 315 B
- scripts/15_create-swatch.jsx 1023 B
- scripts/15_read-all-color-names.jsx 273 B
- scripts/20_build-multicolumn-doc-from-md-and-csv.jsx 8.3 KB
- scripts/21_detect-and-fix-overset-table.jsx 2.8 KB
- scripts/99_create-empty-document.jsx 479 B
- scripts/99_get-all-image-link-names-in-active-document.jsx 681 B
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.
- 2d ago First seen · 549 lines · 87 tokens per session scan A 65e8615ac03b
indd is a skill published in the GitHub repository mindboard/indesign-extendscript-plugins (4 stars, last pushed 10d ago), licensed MIT. It adds 87 tokens to every session and 7,930 once invoked, about $0.0004 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-31.
Other skills, from other repositories
indesign-cli
当用户需要制作或编辑固定分页 HTML、InDesign 演示文稿、建筑汇报或排版文档,转换 HTML 与 InDesign,修改现有 INDD,或填充既有 InDesign 模板时使用。.
using-opencode-cli
当 Codex 需要调用 OpenCode CLI 做本地 Agent 任务时使用,包括代码审核、结构分析、方案规划、替代 Claude Code,以及需要持续利用 DeepSeek Pro 1M 长上下文的多轮项目线程。.
using-git-worktrees
当你开始需要与当前工作区隔离的功能开发,或在执行实施计划前使用;它会创建隔离的 git worktree,并进行目录选择与安全校验.
chatgpt-pro-review
当用户要求在 SA-AIAPP 项目中询问 ChatGPT/GPT Pro、让外部模型审核当前 GitHub 分支、做画布/前端/后端/架构二次审查时使用。.
writing-skills
当你要创建新技能、修改现有技能,或在部署前验证技能是否可用时使用.
requesting-code-review
在任务完成后、实现重大功能后或合并前使用,用来验证成果是否满足要求.