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.
git clone --depth 1 https://github.com/yojahny55/claude-wp-builderWrote 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/commands/yojahny55/claude-wp-builder/wp-cinematic-encode)<a href="https://agentmods.dev/commands/yojahny55/claude-wp-builder/wp-cinematic-encode"><img src="https://agentmods.dev/badge/commands/yojahny55/claude-wp-builder/wp-cinematic-encode.svg" alt="Measured on agentmods" height="20"></a>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.00084 | $0.01101 |
| Opus 5 | $0.00042 | $0.00550 |
| Sonnet 5 | $0.00017 | $0.00220 |
| Haiku 4.5 | $0.00008 | $0.00110 |
Grade B, and why
wp-cinematic-encode scanned grade B 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.
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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
| `ffmpeg: command not found` | not installed | `sudo dnf install ffmpeg` (Fedora) / `apt install ffmpeg` (Debian) | How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/wp-cinematic-encode
What it does
| Variant | Output | Used for | Encoding |
|---|---|---|---|
| Desktop | assets/videos/scene-N.mp4 |
scroll-scrub (currentTime driven by ScrollTrigger) | -g 1 -bframes 0 -crf 23 -preset slow — every frame is a keyframe so video.currentTime = x lands instantly. File is ~2-3× larger than streaming MP4; that's the price of frame-perfect scrub. |
| Mobile | assets/videos/scene-N.mobile.mp4 |
autoplay + muted + loop + playsinline | -vf "crop=ih*9/16:ih,scale=720:1280" center crop to 9:16, -crf 26, standard GOP, -movflags +faststart. |
| Poster | assets/posters/scene-N.jpg |
prefers-reduced-motion fallback, slow-connection placeholder |
-vf "select=eq(n\,30)" single frame, JPEG q=85. |
Pipeline
- Verify
ffmpegandffprobeavailable (bash -c 'command -v ffmpeg && command -v ffprobe'). - Resolve kit path; locate
scripts/encode-keyframe.shandscripts/encode-mobile-portrait.sh. - Run scripts in parallel via Bash background jobs (encode is CPU-bound, parallel saves wall time):
bash -c '<kit>/scripts/encode-keyframe.sh <input> <theme>/assets/videos/scene-<N>.mp4 & <kit>/scripts/encode-mobile-portrait.sh <input> <theme>/assets/videos/scene-<N>.mobile.mp4 & wait' - If
--poster, extract frame 30 toassets/posters/scene-<N>.jpg. - Verify outputs:
- Desktop:
ffprobe -show_frames -select_streams v:0 -read_intervals %+#10 -print_format csv | grep -c 'I'≥ 10 (sanity check that all-keyframe took). - Mobile: confirm aspect ratio = 9:16 via
ffprobe -show_entries stream=width,height.
- Desktop:
- If
--scene=Nis set AND a WordPress install is reachable:- Run
wp media import <each output>to add to Media Library. - Run
wp evalto update the matchingcinematic_scenesrow'svideo_desktop/video_mobile/posterACF fields to the new attachment IDs.
- Run
- Print before/after sizes and bitrate stats.
Failure handling
| Symptom | Cause | Fix |
|---|---|---|
ffmpeg: command not found |
not installed | sudo dnf install ffmpeg (Fedora) / apt install ffmpeg (Debian) |
| Scrub stutters after encode | GOP didn't apply (some codecs ignore -g 1 without -bf 0) |
rerun script — the kit script chains both; if still stuttering try -x264-params "keyint=1:min-keyint=1" |
| Mobile video portrait looks zoomed wrong | source is already 9:16 or 1:1 — center-crop math overshoots | pass --mobile-only --keep-source-aspect (skips crop, only re-encodes for +faststart) |
WP-CLI media import fails with Could not load image type |
MP4 mime not allowed | run wp option update upload_filetypes "$(wp option get upload_filetypes) mp4" |
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.
- 7d ago First seen · 63 lines · 84 tokens per session scan B a28470720c53
wp-cinematic-encode is a command published in the GitHub repository yojahny55/claude-wp-builder (6 stars, last pushed 3d ago), licensed MIT. It adds 84 tokens to every session and 1,101 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
yt
Route to the YouTube Agent Matrix orchestrator — the full pre-production pipeline.
tts:voices
Show the deterministic project → voice map (which repo sounds like which voice), current repo highlighted.
tts:voice
Choose the speech engine and voice for claude-tts, then restart the daemon to apply.
make-carousel
Design and produce a social media carousel (Instagram / LinkedIn / TikTok) — hook, narrative slides, CTA — with a consistent template and rendered slides.
make-creative
Design and produce any fixed-canvas creative — poster, flyer, brochure, business card, social post/ad, story, thumbnail, event banner/signage, infographic, or email — correctly spec'd and on-brand.
make-deck
Design and produce a presentation/deck (pitch, sales, conference, internal) using the Design Pro knowledge base — structure, slide design, and a producible output.