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 simiancraft/simiancraft-skills --skill playwright-gif-capturegit clone --depth 1 https://github.com/simiancraft/simiancraft-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/simiancraft/simiancraft-skills/playwright-gif-capture)<a href="https://agentmods.dev/skills/simiancraft/simiancraft-skills/playwright-gif-capture"><img src="https://agentmods.dev/badge/skills/simiancraft/simiancraft-skills/playwright-gif-capture/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/simiancraft/simiancraft-skills/playwright-gif-capture"><img src="https://agentmods.dev/badge/skills/simiancraft/simiancraft-skills/playwright-gif-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00167 | $0.01947 |
| Opus 5.5 | $0.00067 | $0.00779 |
| Sonnet 5.5 | $0.00033 | $0.00389 |
| Haiku 4.5 | $0.00017 | $0.00195 |
Grade A, and why
playwright-gif-capture 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GIF Capture: specialization of playwright-harness
Read playwright-harness first. The base owns prerequisites, the run pattern
(write to /tmp/pw-*.mjs, run with playwright resolvable), and the drive/assert
- WebGL-GPU patterns. This skill changes only how you turn a running animation
into frames. Encoding and the quality/size tradeoffs live in
references/gif-optimization.md; open it before tuning, since a deep-fried, janky, or oversized GIF is easy to make by accident.
Headless is required here (not just the default): the encode is offline and you want clean, chrome-free frames.
Prerequisites (in addition to the base)
ffmpegto encode frames/video into a GIF;npm i ffmpeg-staticin a /tmp dir gives a binary path, no system install.- For tuning,
gifski(best on gradients) andgifsicle(size reduction); seereferences/gif-optimization.md. ImageMagick is an optional alternative.
Capture the frames. Two ways.
A. Frame-by-frame screenshots (default)
The default for canvas, WebGL, or any clock-driven animation. Drive the clock yourself, one frame at a time, and screenshot each step: deterministic (same frames every run), evenly spaced (no wall-clock jitter, so no jank), croppable to an element, and it sidesteps the recordVideo GPU-death trap below.
// /tmp/pw-gif.mjs (run via the harness: node, with playwright resolvable)
import { chromium } from 'playwright';
import { mkdirSync } from 'node:fs';
const TARGET_URL = process.env.TARGET_URL || 'http://localhost:8080/';
const FRAMES = 48, FPS = 16, OUT = '/tmp/gif-frames';
mkdirSync(OUT, { recursive: true });
const browser = await chromium.launch({
headless: true,
args: ['--use-gl=angle', '--use-angle=gl', '--ignore-gpu-blocklist'], // real GPU under WSLg; see GPU note
});
const page = await browser.newPage({ viewport: { width: 960, height: 540 } });
await page.goto(TARGET_URL, { waitUntil: 'load' });
const target = page.locator('#canvas'); // element to crop to (omit -> full page)
for (let i = 0; i < FRAMES; i++) {
const t = i / FPS; // animation time for this frame (seconds)
// Step the animation deterministically. Best: the page exposes a render hook.
await page.evaluate((t) => window.__renderAtTime?.(t), t);
await page.waitForTimeout(30); // let the draw land (and the GPU flush)
await target.screenshot({ path: `${OUT}/f${String(i).padStart(4, '0')}.png` });
}
await browser.close();
console.log(`wrote ${FRAMES} frames to ${OUT}`);
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.
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 · 150 lines · 167 tokens per session scan A 9989fc02f44b
playwright-gif-capture is a skill published in the GitHub repository simiancraft/simiancraft-skills (8 stars, last pushed 7d ago), licensed MIT. It adds 167 tokens to every session and 1,947 once invoked, about $0.0007 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.
playwright-gif-capture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| playwright-gif-capturesimiancraft/simiancraft-skills | Skill | 8 | 7d ago | MIT | A | 167 | Claude Code |
| ai-agent-readinesssigistry/marketplace | Skill | 3 | 3d ago | MIT | A | 85 | Claude Code |
| set-lineupderekrbreese/fantasy-football-skills | Skill | 6 | 1mo ago | MIT | A | 165 | Claude Code |
| submit-waiver-claimderekrbreese/fantasy-football-skills | Skill | 6 | 1mo ago | MIT | A | 149 | Claude Code |
| propose-tradederekrbreese/fantasy-football-skills | Skill | 6 | 1mo ago | MIT | A | 137 | Claude Code |
| demo-videolukaskellerstein/claude-my-marketplace | Skill | 3 | 12d ago | none | A | 144 | Claude Code |
| demo-capturelukaskellerstein/claude-my-marketplace | Skill | 3 | 12d ago | none | A | 151 | Claude Code |