e2e-media-processor

e2e-media-processor is an agent for coding agents from iamcxa/kc-claude-plugins. It costs 50 tokens per session (1,831 once invoked), scanned A, original, MIT.

A media converter for end-to-end (E2E) test recordings and screenshots. E2E tests check a complete user flow, such as opening a page and submitting a form.

In plain words
What is it for?
Use it to create GIFs, step-paced MP4 videos, and thumbnails from screenshots, or convert an asciinema .cast terminal recording.
Why use it?
It turns raw test artifacts into easier-to-share files and removes blank frames at the beginning and end. It can process browser screenshots or terminal recordings.

Agent

Part of the e2e-pipeline plugin — 11 skills, 8 agents, 2 hooks shipped together

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.

agentmods
npx agentmods add agents/iamcxa/kc-claude-plugins/e2e-media-processor
Clone the repo
git clone --depth 1 https://github.com/iamcxa/kc-claude-plugins

Or install e2e-pipeline, the plugin that ships this one along with the rest of its 11 skills, 8 agents, 2 hooks.

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 e2e-media-processor

README.md
[![agentmods](https://agentmods.dev/badge/agents/iamcxa/kc-claude-plugins/e2e-media-processor.svg)](https://agentmods.dev/agents/iamcxa/kc-claude-plugins/e2e-media-processor)
Your own site
<a href="https://agentmods.dev/agents/iamcxa/kc-claude-plugins/e2e-media-processor"><img src="https://agentmods.dev/badge/agents/iamcxa/kc-claude-plugins/e2e-media-processor.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 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,831 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00050 $0.01831
Opus 5 $0.00025 $0.00915
Sonnet 5 $0.00010 $0.00366
Haiku 4.5 $0.00005 $0.00183

Measured 3d ago against content hash 415819abce95, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

e2e-media-processor 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 3d 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.

e2e-pipeline/agents/e2e-media-processor.md · 180 lines

How it starts

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

E2E Media Processor Agent

You are an autonomous media post-processor for E2E test artifacts. Your job is to take raw step screenshots from browser agents and produce polished media assets: blank-trimmed GIF, step-paced MP4, and thumbnail.

Input Contract

Parse these fields from the dispatch message:

Field Required Default Description
report_dir Yes Directory containing screenshots and recording
screenshots_pattern No step-*.png Glob pattern for screenshot files
output_name No test-run MP4 filename prefix
step_duration No 2 Seconds each step screenshot is shown in MP4
cast_path No Absolute path to asciinema .cast file. When present, switches to CLI conversion mode (skips screenshot phases)
cast_cols No 120 Terminal columns for agg rendering
cast_rows No 35 Terminal rows for agg rendering

Phase 1: Blank Frame Detection

Scan screenshots to identify blank (white/black) frames at the start and end.

# For each screenshot, get the average pixel brightness (0-255):
for img in "$REPORT_DIR"/$SCREENSHOTS_PATTERN; do
  val=$(ffmpeg -i "$img" -vf "scale=1:1" -f rawvideo -pix_fmt gray - 2>/dev/null | od -An -tu1 | tr -d ' ')
  if [ -z "$val" ]; then
    echo "CONTENT $img"  # ffmpeg failed, treat as content
  elif [ "$val" -gt 250 ]; then
    echo "BLANK_WHITE $img"
  elif [ "$val" -lt 5 ]; then
    echo "BLANK_BLACK $img"
  else
    echo "CONTENT $img"
  fi
done

Rules:

  • Leading blanks: Consecutive blank frames from the start → exclude from GIF
  • Trailing blanks: Consecutive blank frames from the end → exclude from GIF
  • Middle blanks: Keep (may represent real blank page states)
  • Safety: Always keep at least 1 frame. If ALL frames are blank, keep the last one.
  • If ffmpeg is not installed or fails on a frame, treat that frame as content (don't exclude).

Record counts: leading_blank, trailing_blank, total_frames, content_frames.

Read the full file on GitHub · 180 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. 3d ago First seen · 180 lines · 50 tokens per session scan A 415819abce95

Subscribe to this mod's changes

e2e-media-processor is an agent published in the GitHub repository iamcxa/kc-claude-plugins (3 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 1,831 once invoked, about $0.0003 per session on Opus 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

Other agents, from other repositories

alchemist

Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…

drobins25/craft · 355 tokens

praman-sap-planner-cli

SAP UI5 test planner via Playwright CLI. Token-efficient alternative to MCP planner. Generates test plan + gold-standard spec using CLI commands.

mrkanitkar/playwright-praman · 36 tokens

FAI Browser Agent

Browser automation agent — navigates websites, extracts data, and executes web workflows using Playwright MCP and vision analysis. Domain-restricted, no credential entry, human approval for transactions.

frootai/frootai · 41 tokens

dogfood-persona

Drives the running whiteboard app as a realistic end-user persona via the Playwright MCP browser tools, to surface friction (bugs, missing affordances, confusing/slow/dead-end flows). Spawned by the dogfood-triage workflow and by the review workflow's optional Dogfood phase. Pass the persona, goal, app URL, and (for…

kamiazya/whiteboard · 86 tokens

e2e-tester

Use for end-to-end and smoke testing of critical user paths across viewports. Pairs with a browser-automation MCP (for example Playwright) when one is available.

mnzralee/claude-multi-agent-architecture · 41 tokens

judge-x-claude-code

Independent Gauntlet judge for Claude Code, invoked by the harness through the evaluator adapter (dispatch.ts --judge-x). Reads the evaluation brief, the success contract and the candidate — reading it and, to observe behavior, running its tests or a browser, never editing it — writes exactly one scorecard.json into…

gutomec/nirvana-os-engine · 106 tokens