wp-cinematic-scene

wp-cinematic-scene is a command for Claude Code from yojahny55/claude-wp-builder. It costs 0 tokens per session (1,073 once invoked), scanned A, original, MIT.

A WordPress command for editing one cinematic scene in a page’s repeating scene list. It can update text, links, videos, posters, and scene layout settings.

In plain words
What is it for?
Use it to replace or regenerate a scene, add a new scene within the configured limit, update its copy and call to action, or attach encoded videos and poster artwork.
Why use it?
It removes the need to edit the scene through the WordPress admin for every change. It also keeps desktop and mobile video files and poster images tied to the selected scene.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-wp-builder plugin — 15 skills, 30 commands, 15 agents shipped together

Good fit Use it to replace or regenerate a scene, add a new scene within the configured limit, update its copy and call to action, or attach encoded videos and poster artwork.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/yojahny55/claude-wp-builder/wp-cinematic-scene
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.

Clone the repo
git clone --depth 1 https://github.com/yojahny55/claude-wp-builder

Made for: Claude Code.

Or install claude-wp-builder, the plugin that ships this one along with the rest of its 15 skills, 30 commands, 15 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 wp-cinematic-scene

README.md
[![agentmods](https://agentmods.dev/badge/commands/yojahny55/claude-wp-builder/wp-cinematic-scene/github.svg)](https://agentmods.dev/commands/yojahny55/claude-wp-builder/wp-cinematic-scene)
Your own site
<a href="https://agentmods.dev/commands/yojahny55/claude-wp-builder/wp-cinematic-scene"><img src="https://agentmods.dev/badge/commands/yojahny55/claude-wp-builder/wp-cinematic-scene/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 wp-cinematic-scene

Your own site · 80×15
<a href="https://agentmods.dev/commands/yojahny55/claude-wp-builder/wp-cinematic-scene"><img src="https://agentmods.dev/badge/commands/yojahny55/claude-wp-builder/wp-cinematic-scene.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,073 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.00000 $0.01073
Opus 5 $0.00000 $0.00536
Sonnet 5 $0.00000 $0.00215
Haiku 4.5 $0.00000 $0.00107

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

Security

Grade A, and why

wp-cinematic-scene 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 10d 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.

commands/wp-cinematic-scene.md · 93 lines

How it starts

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

/wp-cinematic-scene

Replaces the per-scene /wp-section workflow when the theme is cinematic. ACF row updates run via wp eval-file so the change is live immediately — no admin click-through.

Pipeline

  1. Resolve scene by id or index. If scene number > current repeater length, append a new row (bounded by scene.json x-acf max 12).
  2. If --video provided, dispatch /wp-cinematic-encode --scene=<n> --poster first.
  3. Build an update payload:
    $row = [
      'scene_id'        => 'scene-<n>',
      'eyebrow'         => $args['eyebrow'] ?? $existing,
      'eyebrow_es'      => $args['eyebrow-es'] ?? $existing,
      'headline'        => $args['headline'] ?? $existing,
      'headline_es'     => $args['headline-es'] ?? $existing,
      'body'            => $body_html,         // markdown → HTML via Parsedown
      'cta_label'       => $cta_label,
      'cta_url'         => $cta_url,
      'video_desktop'   => $attachment_id_desktop,
      'video_mobile'    => $attachment_id_mobile,
      'poster'          => $attachment_id_poster,
      'align'           => $args['align'] ?? 'left',
      'veil'            => $args['veil'] ?? 'soft',
      'scrub_duration'  => 100,
    ];
    update_row('cinematic_scenes', $index, $row, $page_id);
    
  4. Run wp cache flush and (if WP Super Cache active) wp super-cache flush.

Custom per-scene template

If the user wants a scene to render differently from the default (e.g. split layout, embedded data viz), pass --custom-template:

/wp-cinematic-scene 4 --custom-template

This creates template-parts/cinematic/scene-scene-4.php from template-parts/cinematic/scene.php with // @user-block:start custom-layout / // @user-block:end custom-layout markers. The default renderer looks for scene-<id>.php first and falls back to scene.php.

--regenerate-schema flow

When the kit publishes a new scene.json (added fields, changed defaults):

/wp-cinematic-scene --regenerate-schema
  1. Re-invoke wp-cinematic agent with current scene.json version.
  2. Diff old fields/scenes.php against newly-generated.
  3. Preserve any @user-block ranges verbatim.
  4. Print a migration summary: added/removed/changed fields.
  5. If a field was removed, leave existing ACF data in DB (orphan, not destructive) but stop emitting it.

Read the full file on GitHub · 93 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. 10d ago First seen · 93 lines · 0 tokens per session scan A 7c5098f75ad9

Subscribe to this mod's changes

wp-cinematic-scene is a command published in the GitHub repository yojahny55/claude-wp-builder (6 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,073 tokens. 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.