talksmith:polish-ascii

talksmith:polish-ascii is a skill for Claude Code from veigap/talksmith. It costs 95 tokens per session (4,951 once invoked), scanned A, original, MIT.

A command-line helper that finds fenced ASCII diagrams in a Talk's final.md file and prepares them for conversion into images. It also updates the Markdown and keeps repeated runs from duplicating work.

In plain words
What is it for?
Use it during the polishing stage of a presentation to inventory ASCII diagrams, pass each one its slide context, create sidecar files, and clean the diagram blocks from final.md.
Why use it?
It removes the repetitive file handling involved in extracting diagrams and replacing them with rendered images while protecting the final draft from accidental edits.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions subagents.

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 polishing stage of a presentation to inventory ASCII diagrams, pass each one its slide context, create sidecar files, and clean the diagram blocks from final.md.

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-ascii

README.md
[![agentmods](https://agentmods.dev/badge/skills/veigap/talksmith/polish-ascii/github.svg)](https://agentmods.dev/skills/veigap/talksmith/polish-ascii)
Your own site
<a href="https://agentmods.dev/skills/veigap/talksmith/polish-ascii"><img src="https://agentmods.dev/badge/skills/veigap/talksmith/polish-ascii/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.

agentmods 80×15 button for talksmith:polish-ascii

Your own site · 80×15
<a href="https://agentmods.dev/skills/veigap/talksmith/polish-ascii"><img src="https://agentmods.dev/badge/skills/veigap/talksmith/polish-ascii.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,951 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00095 $0.04951
Opus 5 $0.00048 $0.02475
Sonnet 5 $0.00019 $0.00990
Haiku 4.5 $0.00010 $0.00495

Measured 4d ago against content hash 0146d674a7c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

talksmith:polish-ascii 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 4d ago.

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

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.

skills/polish-ascii/SKILL.md · 212 lines

How it starts

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

talksmith:polish-ascii — Mechanical ASCII extraction + final.md rewrite

The diagram-illustrator picks templates and dispatches talksmith:ascii-to-svg per block; the editor owns the surrounding rewrite of final.md and the sidecar files. This skill is the editor's deterministic helper for that work — Python where Python belongs, no LLM reasoning needed.

Always operates on final.md. Step 6 begins with the editor copying draft.mdfinal.md; every subsequent Step-6 read/write — including every invocation of this skill — targets final.md. draft.md is read-only from Step 6 onward. The --final <path> flag (and the final_path positional for scan) is deliberately named so a final draft.md mix-up surfaces immediately as a mismatched argument rather than silently mutating the working file.

Canonical Step 6 sequence (matches the editor + diagram-illustrator role specs):

  1. scan — read final.md once, emit JSON inventory of every ASCII block + trailing ascii-note with line ranges, plus the per-block context bundle (slide_title, slide_content_prose, speaker_notes, section_title, section_goal, talk_thesis, optional presentation_language when --language is passed). After scan, no consumer should need to re-parse final.md for slide context.
  2. inspect-intents (optional) — eyeball the scan as a 3-column table (slide_id | slide_title | intent) before authoring slugs. Pure read; no mutation.
  3. Diagram-Illustrator authors a renders map (judgement-only) — {slide_id: {svg_basename, alt}} JSON keyed by slide_id, with the slug per the Output filename convention in ${CLAUDE_PLUGIN_ROOT}/agents/diagram-illustrator.md (derived from ascii-note → intent, slide title, etc.). Skip documentation-only blocks — annotate-renders zeros them out automatically.
  4. annotate-renders — merge the renders map into the scan plan, emitting an annotated plan with render: {svg_basename, alt} set per block (and render: null for documentation-only / unmapped blocks). Reports missing slide_ids on stderr.
  5. extract — write .ascii sidecars per the annotated plan. final.md is not modified at this stage. After this step every diagram lives on disk as a self-describing .ascii file (source + note).
  6. prepare-render-args (parallel fan-out) — emit one <slide_id>.json args file per renderable block under --out-dir, each containing the full context bundle expected by talksmith:ascii-to-svg Mode B (ascii_file, output_path, slide/section/thesis context, presentation_language, optional repo_root). Subagents read their args file and dispatch one render each.
  7. Per-sidecar render — invoke talksmith:ascii-to-svg once per .ascii file in Mode B (ascii_file: <path>). The skill reads ASCII source + note from the sidecar; the caller passes the rest of the context bundle straight from the args file. Easily parallelizable across subagents.
  8. stamp-renders (mandatory — never skip) — stamp each rendered SVG with the SHA-256 digest of the ASCII it was drawn from. This is what makes step 6 (prepare-render-args) able to skip unchanged blocks on the next pass: it is the one and only signal consulted, so an unstamped SVG re-renders every time, forever. Run once after all renders complete, before cleanup. Blocks whose render failed have no SVG on disk and are skipped + reported on stderr — they correctly re-render next pass.
  9. cleanup — rewrite final.md fences to image references, leaving the post-fence ascii-note HTML comments in place. Sidecars are not touched.

A single-pass apply subcommand exists for quick passes (does steps 5 + 9 together, skipping the per-sidecar render — useful when you've already rendered SVGs separately and just want to finish the cleanup). apply does not stamp — if you use it after rendering SVGs by hand, run stamp-renders yourself or the next pass re-renders everything.

Read the full file on GitHub · 212 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. 4d ago Changed · +6 lines 0146d674a7c4
  2. 9d ago First seen · 206 lines · 95 tokens per session scan A 57ed4312af9a

Subscribe to this mod's changes

talksmith:polish-ascii is a skill published in the GitHub repository veigap/talksmith (10 stars, last pushed 4d ago), licensed MIT. It adds 95 tokens to every session and 4,951 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-08-31.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens

chengfeng-check-updates

An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens