talksmith:polish-images

talksmith:polish-images is a skill for Claude Code from veigap/talksmith. It costs 0 tokens per session (2,205 once invoked), scanned C, original, MIT.

A command-line helper that finds image-generation directives in a Talksmith presentation draft, prepares their inputs, and replaces them with image references in final.md.

In plain words
What is it for?
Use it during the presentation polishing step to extract image requests, pass each one its slide context, prepare generation arguments, and update the final presentation.
Why use it?
It turns written image requests into repeatable build steps while avoiding duplicate work when the helper runs again.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the talksmith plugin — 9 skills, 1 command, 8 agents shipped together

Good fit Use it during the presentation polishing step to extract image requests, pass each one its slide context, prepare generation arguments, and update the final presentation.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add veigap/talksmith
Claude Code
/plugin install talksmith

Made for: Claude Code.

Or install talksmith, the plugin that ships this one along with the rest of its 9 skills, 1 command, 8 agents.

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 talksmith:polish-images

README.md
[![agentmods](https://agentmods.dev/badge/skills/veigap/talksmith/polish-images.svg)](https://agentmods.dev/skills/veigap/talksmith/polish-images)
Your own site
<a href="https://agentmods.dev/skills/veigap/talksmith/polish-images"><img src="https://agentmods.dev/badge/skills/veigap/talksmith/polish-images.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,205 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00000 $0.02205
Opus 5 $0.00000 $0.01103
Sonnet 5 $0.00000 $0.00441
Haiku 4.5 $0.00000 $0.00220

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

Security

Grade C, and why

talksmith:polish-images scanned grade C 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (polish_images.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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- generate-image: right | the vertigo of scale — how small a single choice feels against a whole system -->
skills/polish-images/SKILL.md · 80 lines

How it starts

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

talksmith:polish-images — Mechanical generate-image extraction + final.md rewrite

The sibling of talksmith:polish-ascii: same shape, same Step-6 discipline, different block. Where polish-ascii extracts ```ascii fences for the diagram-illustrator, this skill extracts <!-- generate-image: … --> directives for the image-illustrator, and rewrites each into an aside image reference. The per-block slide-context scanner is shared — both skills sys.path-import skills/_shared/_context.py, so a directive's context bundle (slide_title, slide_content_prose, speaker_notes, section_title, section_goal, talk_thesis, presentation_language) is computed by exactly the same code that feeds the diagram renders.

Always operates on final.md. Step 6 begins with the editor copying draft.mdfinal.md; every invocation of this skill targets final.md. draft.md is read-only from Step 6 onward.

The directive

Authored by the editor into draft.md (see editor.md) on a sparse-text slide where an atmospheric image improves the slide:

<!-- generate-image: right | the vertigo of scale — how small a single choice feels against a whole system -->
  • <side>left or right (default right if omitted). Which edge the full-bleed aside column sits on.
  • <description> — a short, high-level idea of the emotion + concept the image should evoke (not a literal scene — the aside is realized as a symbolic editorial illustration). It stays concise and presenter-editable in draft.md; the image-illustrator enriches it into a full generation prompt at Step 6 (that enrichment is not stored in draft.md). The directive may span multiple lines up to the closing -->.

Canonical Step 6 sequence

Mirrors polish-ascii; the image-illustrator role owns the judgement steps.

Read the full file on GitHub · 80 lines

Files

What ships with it

1 file 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. 7d ago First seen · 80 lines · 0 tokens per session scan C 1ecf1b3ca3eb

Subscribe to this mod's changes

talksmith:polish-images is a skill published in the GitHub repository veigap/talksmith (10 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,205 tokens. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories