Skip to content
Back to skills

thumbnail-skill

ASecurity

Deterministic thumbnail rendering execution Skill for the AI Video Production Ecosystem. Use it when a caller (normally video-production-agent) has already decided exactly what a thumbnail should show - which still image or which explicit video timestamp, what text, what layout - and needs it rendered safely to PNG/JPEG with provenance. Do NOT use it to choose what a thumbnail should show, pick a "best" video frame, detect faces, generate a title, judge design quality, or run arbitrary ffmpeg...

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 5, 2026
ai-agentsrustgoshellsecurity

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned November 14, 2026

npx -y skills add kajisho5/thumbnail-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of thumbnail-skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for thumbnail-skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kajisho5-thumbnail-skill/badge)](https://www.skillsdirectory.com/skills/kajisho5-thumbnail-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: thumbnail-skill
description: Deterministic thumbnail rendering execution Skill for the AI Video Production Ecosystem. Use it when a caller (normally video-production-agent) has already decided exactly what a thumbnail should show - which still image or which explicit video timestamp, what text, what layout - and needs it rendered safely to PNG/JPEG with provenance. Do NOT use it to choose what a thumbnail should show, pick a "best" video frame, detect faces, generate a title, judge design quality, or run arbitrary ffmpeg/image commands (it refuses them); those decisions belong to the caller.
---

# thumbnail-skill

Machine interface: `thumbnail run - --json` with a `{"tool": "thumbnail/<name>", "params": {...}}`
document on stdin; exactly one response document on stdout. `thumbnail skill --json` prints the
contract, `thumbnail doctor --json` the environment (fonts, ffmpeg-skill, path policy).

Tools: `thumbnail/validate` (structural check only), `thumbnail/render` (canvas + assets + elements
-> PNG/JPEG), `thumbnail/extract_frame` (one video timestamp -> one frame, nothing else),
`thumbnail/render_batch` (one template per `output.preset` plus a CSV or inline rows -> one thumbnail
per row and target; `{{column}}` placeholders; `text_fit` shrinks a name down to `min_font_size`,
never cuts it; nothing is written until every row is checked), `thumbnail/render_variants`
(`thumbnail render req.json --variants N`: N documented variants, each checked at 320 px wide for text
height and, through qc-skill, contrast; a failing variant is flagged and kept), `thumbnail/render_layers`
(`thumbnail render req.json --layers DIR`: every composed layer as a PNG with alpha plus `layers.json`,
verified to rebuild the thumbnail pixel for pixel), `thumbnail/choose_frame` (ranks a
detection-skill `detections@1` face document's frames by eyes open, sharpness, exposure, angle and
size; closed eyes rank last; detects nothing itself), `thumbnail/place_text` (moves one text
element to the first position clear of every face; refuses rather than cover one), and the
optional `thumbnail/generate_background` (one AI background image from a caller-written prompt and
seed, FLUX.2 [klein] 4B, only when `thumbnail doctor --json` -> `checks.background_providers` says
`available`; otherwise it is refused with `TOOL_ERROR` / `provider_unavailable`, and nothing else
changes). Use its output as an ordinary `image` asset; report its `provenance` (engine, licence).
A brand kit (`options.kit` / `--kit`: a Velisa `kit@1` file or an ffmpeg-skill `brand.json`) fills the
text colour, band and stroke colours, canvas background, `font_id` and a `kit-logo` element that a
render's document leaves out; the document's own values win, and `response.kit` lists what was used
and every kit key that was not (`unmapped`, `unused`).

Rules for a calling agent:
1. Decide everything about content before calling this skill: which still image, or which exact
   video timestamp (`asset.timestamp`, seconds); what the text says (with literal `\n` for line
   breaks — this skill never wraps or reflows text); where every element sits (`position`, `size`,
   `z_index`). This skill renders exactly what it is given and searches for nothing.
2. Reference fonts by `font_id` from the registry (`thumbnail skill --json` -> `fonts.font_ids`, or
   `thumbnail doctor --json` for what actually resolves on this machine). A request never carries a
   font path; an unresolvable `font_id` fails `MISSING_INPUT`, never a silent substitution.
3. Never send `command`, `argv`, `shell`, `filter`/`filter_complex`/`vf`/`af`, `executable`, `env`,
   or HTML/CSS/JS: the request is rejected with `INVALID_REQUEST` wherever such a key appears.
4. Keep outputs inside the workspace (`--workspace` / `options.workspace`), never at an input path;
   set `overwrite: true` deliberately. Restrict inputs with `options.allowed_input_roots` when the
   caller's own inputs come from an untrusted or shared location.
5. Read `output`, `sha256`, `width`/`height`, `reused` and `provenance` from the response; the exit
   code is 0 only when `ok` is true. For a platform target, set `output.preset` (`youtube`,
   `youtube-shorts`, `tiktok`, `instagram-reels`, `instagram-feed`, `x`; limits in `thumbnail skill
   --json` -> `platform_presets`): it supplies the canvas size unless you give both `width` and
   `height`, and an output over the preset's limits fails `VALIDATION_ERROR` (`preset_limit_exceeded`). A `video_frame` asset needs ffmpeg-skill reachable (env var
   `THUMBNAIL_SKILL_FFMPEG_SKILL_DIR` or `--ffmpeg-skill`); a still-image-only document never needs it.

See README.md for the ThumbnailDocument schema, element/font/output tables, error codes, security
boundary and the responsibility split with video-production-agent and the other media skills.

Files in this skill

  • CHANGELOG.md3.3 KB
  • ECOSYSTEM_ROADMAP.md2.4 KB
  • SECURITY.md1 KB
  • SKILL.md3.4 KB
  • brand/app-icon-dark.png56.5 KB
  • brand/app-icon.png56.5 KB
  • docs/architecture.md5.8 KB
  • docs/decisions.md22.8 KB
  • docs/ffmpeg-skill.md6.8 KB
  • docs/model.md6.1 KB
  • docs/security.md5.4 KB
  • docs/testing.md4.8 KB
  • pyproject.toml1.4 KB
  • tests/conftest.py1.9 KB
  • tests/test_background.py13.3 KB
  • tests/test_cli.py6.8 KB
  • tests/test_contract.py2.3 KB
  • tests/test_ffmpeg_skill_compat.py9.3 KB
  • tests/test_integration.py21.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.