gh-assets-branch-mgmt

gh-assets-branch-mgmt is a skill for Claude Code from WaterplanAI/agentic-config. It costs 58 tokens per session (2,707 once invoked), scanned A, a copy of ac-git-gh-assets-branch-mgmt, MIT.

A workflow for storing screenshots and videos on a persistent GitHub branch and adding their raw URLs to pull requests. It also describes capturing browser-test evidence with Playwright.

In plain words
What is it for?
It helps create an assets branch, upload screenshots or recorded E2E test videos, and use them as lasting pull-request evidence.
Why use it?
It avoids image links that expire, especially links served through temporary private-repository CDN tokens.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ac-git plugin — 7 skills shipped together

Good fit It helps create an assets branch, upload screenshots or recorded E2E test videos, and use them as lasting pull-request evidence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/waterplanai/agentic-config/gh-assets-branch-mgmt
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.

Any agent
npx skills add WaterplanAI/agentic-config --skill gh-assets-branch-mgmt
Clone the repo
git clone --depth 1 https://github.com/WaterplanAI/agentic-config

Made for: Claude Code.

Or install ac-git, the plugin that ships this one along with the rest of its 7 skills.

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 gh-assets-branch-mgmt

README.md
[![agentmods](https://agentmods.dev/badge/skills/waterplanai/agentic-config/gh-assets-branch-mgmt/github.svg)](https://agentmods.dev/skills/waterplanai/agentic-config/gh-assets-branch-mgmt)
Your own site
<a href="https://agentmods.dev/skills/waterplanai/agentic-config/gh-assets-branch-mgmt"><img src="https://agentmods.dev/badge/skills/waterplanai/agentic-config/gh-assets-branch-mgmt/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 gh-assets-branch-mgmt

Your own site · 80×15
<a href="https://agentmods.dev/skills/waterplanai/agentic-config/gh-assets-branch-mgmt"><img src="https://agentmods.dev/badge/skills/waterplanai/agentic-config/gh-assets-branch-mgmt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,707 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 95% copy Near-identical to another mod 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.00058 $0.02707
Opus 5.5 $0.00023 $0.01083
Sonnet 5.5 $0.00012 $0.00541
Haiku 4.5 $0.00006 $0.00271

Measured 19d ago against content hash 49d565572b54, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gh-assets-branch-mgmt 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 19d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (gh-assets-download.sh, gh-assets-upload.sh, gh-video-convert.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

95% identical to ac-git-gh-assets-branch-mgmt — 18 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/ac-git/skills/ac-git/gh-assets-branch-mgmt/SKILL.md · 346 lines

How it starts

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

GitHub Assets Branch Management

Automates the "assets branch" strategy for persistent image hosting in GitHub PRs. Solves the problem of transient CDN tokens (?jwt=...) that expire on private repo images.

Playwright CLI Integration

CRITICAL: When using playwright-cli for E2E testing, video recording is explicit.

Video Recording

Start and stop recording explicitly with playwright-cli:

playwright-cli video-start    # Start recording
# ... perform browser actions ...
playwright-cli video-stop     # Stop and save video file
  • Storage: outputs/e2e/ directory (or configured outputDir)
  • Format: Video files saved by playwright-cli
  • Resolution: Configured in playwright-cli.json saveVideo settings (default: 1920x1080)

Evidence Upload Workflow

When adding visual evidence to PRs:

Evidence Type Source Tool
Screenshots playwright-cli screenshot Direct capture via Bash
Video outputs/e2e/*.webm Use recorded file

DO NOT re-record video when adding video evidence. Use the file from the E2E session.

Standard Workflow

  1. Screenshots: Use playwright-cli screenshot during E2E validation
  2. Video: After E2E session completes (after video-stop), find the video in outputs/e2e/
  3. Upload: Use this skill to upload screenshots + video (auto-converts to MP4+GIF)
# Upload all evidence (screenshots + video)
/gh-assets-branch-mgmt upload outputs/screenshots/*.png outputs/e2e/*.webm --context pr-42

The video will be automatically converted to H.264 MP4 (8x speed) + GIF for PR embedding.

Commands

Command Description
init Create orphan assets branch if not exists
upload <files/glob> --context <id> Upload files to assets branch under context path
list --context <id> List all assets for a context
cleanup --context <id> Remove all assets for a context
url <file> --context <id> Get raw URL for a specific file
convert-video <input> [options] Convert video to optimized H.264 MP4
download-video <context> [options] Download videos from assets branch

Read the full file on GitHub · 346 lines

Files

What ships with it

3 files 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.

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. 19d ago First seen · 346 lines · 58 tokens per session scan A 49d565572b54

Subscribe to this mod's changes

gh-assets-branch-mgmt is a skill published in the GitHub repository WaterplanAI/agentic-config (31 stars, last pushed 20d ago), licensed MIT. It adds 58 tokens to every session and 2,707 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to ac-git-gh-assets-branch-mgmt, differing in 18 lines, and is treated as a copy.

Related

gh-assets-branch-mgmt compared with skills from other repositories

gh-assets-branch-mgmt next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gh-assets-branch-mgmtWaterplanAI/agentic-configSkill3120d agoMITA58Claude Code
api-testingidavidov13/agentic-playwrightSkill31313d agoMITA69Claude Code, Codex
data-strategyidavidov13/agentic-playwrightSkill31313d agoMITA68Claude Code, Codex
test-standardsidavidov13/agentic-playwrightSkill31313d agoMITA63Claude Code, Codex
helpersidavidov13/agentic-playwrightSkill31313d agoMITA67Claude Code, Codex
page-objectsidavidov13/agentic-playwrightSkill31313d agoMITA56Claude Code, Codex
selectorsidavidov13/agentic-playwrightSkill31313d agoMITA60Claude Code, Codex