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 skills add treasure-data/td-skills --skill image-editorgit clone --depth 1 https://github.com/treasure-data/td-skillsWrote 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.
[](https://agentmods.dev/skills/treasure-data/td-skills/image-editor)<a href="https://agentmods.dev/skills/treasure-data/td-skills/image-editor"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/image-editor/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.
<a href="https://agentmods.dev/skills/treasure-data/td-skills/image-editor"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/image-editor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00031 | $0.06937 |
| Opus 5.5 | $0.00012 | $0.02775 |
| Sonnet 5.5 | $0.00006 | $0.01387 |
| Haiku 4.5 | $0.00003 | $0.00694 |
Grade A, and why
image-editor scanned grade A with 1 finding 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 3mo 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
result = subprocess.run(["pbpaste"], capture_output=True, text=True) How it starts
The opening of the file, as written. The whole thing — 333 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Instagram Studio Editor V2
Interactive drag-and-drop editor for Instagram ad overlays — headline text, brand text, and company logo. Renders instantly via render_react using a CSS gradient placeholder instead of an embedded image preview.
Architecture
render_react (editor in artifact panel)
├─ CSS gradient placeholder (NO base64)
├─ Draggable text overlays (headline + brand)
├─ Draggable logo overlay (position, size, opacity, variant, tint)
├─ Control panel (font, size, color, opacity, gradient)
└─ "Apply Changes" → copies config to clipboard
↓ (automatic)
Clipboard Poller (background task, polls pbpaste every 2s)
├─ Detects valid editor config JSON
└─ Writes to /tmp/editor_apply_ready.json
↓
Python/Pillow (auto-applies config to FULL-RES image)
├─ Composites logo with variant selection, opacity, tint
├─ Composites text with exact parameters
└─ Saves final PNG → opens via open_file
Key Constraints
render_reactsandbox blocksfile://,localhost,clipboard.writeText(), and postMessage- Data prop size correlates with load time: 0KB=instant, 2KB=30s, 12KB=4min+
- Solution: zero base64, CSS gradient placeholder,
execCommand("copy")fallback - macOS
pbpastepolls clipboard to bridge React sandbox back to Claude
Workflow
Trigger phrases: "open the editor", "studio editor", "visual editor", "edit this", "let me edit", "drag text", "move the text", "reposition headline", "adjust overlay"
Execution Order
- Claude starts clipboard poller as background task (
run_in_background: true) - Claude calls
render_reactwith editor component + tiny data prop (~600 bytes) - Claude calls
TaskOutputwith poller'stask_id,block: true,timeout: 300000 - User drags overlays, adjusts controls, clicks "Apply Changes"
- Poller detects config JSON on clipboard, writes to
/tmp/editor_apply_ready.json, exits - Claude reads config, runs Pillow applicator, opens final PNG via
open_file
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.
- 3mo ago First seen · 333 lines · 31 tokens per session scan A 4eb85c83d35b
image-editor is a skill published in the GitHub repository treasure-data/td-skills (23 stars, last pushed today), licensed Apache-2.0. It adds 31 tokens to every session and 6,937 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
image-editor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| image-editortreasure-data/td-skills | Skill | 23 | today | Apache-2.0 | A | 31 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | yesterday | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 332k | 6d ago | MIT | A | 21 | Claude Code |