thermal-print

thermal-print is a skill for Claude Code, Codex from EthanPany/thermal-mcp. It costs 60 tokens per session (2,431 once invoked), scanned A, original, MIT.

A design guide for printing content on a 58mm black-and-white thermal printer. It explains when to use quick Markdown printing, custom HTML designs, or continuous log output.

In plain words
What is it for?
Use it to create notes, lists, receipts, code, diagrams, tables, logs, or custom ticket layouts for the thermal printer. It covers Markdown and HTML printing, previewing, fonts, icons, graphics, and spacing.
Why use it?
It accounts for the printer’s narrow paper, fixed resolution, limited colors, readable text sizes, and continuous-feed behavior. This reduces layout problems before printing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to create notes, lists, receipts, code, diagrams, tables, logs, or custom ticket layouts for the thermal printer. It covers Markdown and HTML printing, previewing, fonts, icons, graphics, and spacing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanpany/thermal-mcp/thermal-print
Install

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.

Any agent
npx skills add EthanPany/thermal-mcp --skill thermal-print
Clone the repo
git clone --depth 1 https://github.com/EthanPany/thermal-mcp

Made for: Claude Code, Codex.

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 thermal-print

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanpany/thermal-mcp/thermal-print"><img src="https://agentmods.dev/badge/skills/ethanpany/thermal-mcp/thermal-print.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,431 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.00060 $0.02431
Opus 5.5 $0.00024 $0.00972
Sonnet 5.5 $0.00012 $0.00486
Haiku 4.5 $0.00006 $0.00243

Measured 2mo ago against content hash b2debb66fccb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

thermal-print 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 2mo 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.

skills/thermal-print/SKILL.md · 142 lines

How it starts

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

Designing for the 58mm thermal printer

You are designing on a strip of paper: 384px wide (1 CSS px = 1 printer dot = 0.125mm), unlimited height, printed at 203dpi in pure 1-bit black & white.

Two paths — pick the right one

  • Quick print (notes, lists, todos, plain receipts): call print_markdown. GFM + syntax-highlighted code fences, mermaid diagrams, LaTeX math ($...$ / $$...$$), task lists, tables, remote images — all supported. Three type-size tiers via size (see "Type size" below); default to medium.
  • Custom design: write an HTML body fragment (no <html>/<head>), bring your own <style>, iterate with preview_html → print_html. HTML gives you full control of every font-size — set font-size in your own CSS (respect the ≥18px body / ≥20px CJK floors below).
  • Continuous / log mode (typewriter-style: hourly logs, streaming notes): print_markdown with flow: "continuous". Zero top/bottom margins and no trailing feed, so chunks from separate calls join seamlessly into one strip. Rules: send one complete markdown block per call (a fenced code block, a list, a paragraph — never split mid-construct; incomplete chunks are rejected with an error instead of printed). Keep chunks short (1–5 lines), prefix log lines with a mono timestamp; size: "small" is acceptable here since logs are intentionally dense (otherwise prefer medium). The human presses the printer's FEED button after tearing — that IS the margin; no begin/end calls needed.

Workflow (always)

  1. Write the content.
  2. Preview — the returned image is the exact 1-bit output that will print. Check: nothing clipped at 384px, text legible, no accidental gray speckle.
  3. Iterate, then print. Paper is physical — never print unpreviewed content.

Hard physical constraints

  • 1-bit output. Photos/gradients are auto-detected and dithered (Atkinson default; algorithm: "jarvis" for smoother gradients, "bayer" for a halftone newspaper look). Text must be pure #000 on #fff — gray or colored text prints as speckle. Override detection with mode: "text"|"photo".
  • Type size (print_markdown): three tiers — large (24px, headlines / very short notes), medium (19px) — the recommended default, use it for almost everything, small (14px, the minimum — ONLY for genuinely dense or long content; it's noticeably harder to read, so never default to it). When in doubt, medium.
  • Floors: body ≥ 18px, fine print ≥ 16px absolute floor, CJK ≥ 20px (hardware cell is 24×24 dots). Line-height 1.3–1.4 body, 1.1–1.2 headings.
  • Rules/borders ≥ 2px — 1px hairlines drop out. Dashed 2px = classic receipt.
  • Give rows breathing room. Thermal dot-gain fattens everything ~1px, so tight vertical stacks bleed into each other. For icon/checkbox + text rows use display:flex; align-items:center; gap:8px; line-height:1.4 and ≥6px between rows — never absolutely-position a checkbox/icon column over the text column.
  • Network works (remote images load) but every bundled font/icon below is local — prefer them.

Read the full file on GitHub · 142 lines

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. 2mo ago First seen · 142 lines · 60 tokens per session scan A b2debb66fccb

Subscribe to this mod's changes

thermal-print is a skill published in the GitHub repository EthanPany/thermal-mcp (0 stars, last pushed 3mo ago), licensed MIT. It adds 60 tokens to every session and 2,431 once invoked, about $0.0002 per session on Opus 5.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

thermal-print compared with skills from other repositories

thermal-print next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
thermal-printEthanPany/thermal-mcpSkill03mo agoMITA60Claude Code, Codex
solidworks-vibecadwzyn20051216/solidworks-automation-skillSkill1.8k3d agoMITA96Claude Code, Codex
bdf_font_converterespressif/esp-clawSkill2.4k5d agoApache-2.0A27Claude Code, Codex
fluidcad-assemblyFluid-CAD/FluidCADSkill693yesterdayMITA154Claude Code, Codex
gen-assemblypartcad/partcadSkill515yesterdayApache-2.0A111Claude Code
gen-partpartcad/partcadSkill515yesterdayApache-2.0A114Claude Code
gen-sketchpartcad/partcadSkill515yesterdayApache-2.0A201Claude Code