Skip to content

Generic app state capture plugin that records screenshots, HAR files, console output, and logs over CDP.

CCM score
58 of 100
version
1.3.2
GitHub stars
25
View on GitHub

Own this plugin? Claim it

What it does

  • Adds a validate command and a capture skill for browser automation and UI validation through the capture CLI
  • Covers accessibility-driven click, type, screenshot, a11y tree, JS exec, and HAR recording over Chrome DevTools Protocol
  • Runs a check-capture.sh hook through hooks.json to gate capture behavior during sessions
  • Designed for validating UI state and testing features in a browser, or manipulating a running web app

Add marketplace

/plugin marketplace add CaptainCrouton89/crouton-kit

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install capture@crouton-kit

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

Capture — Browser Automation Skill

Browser automation via CDP for UI validation. For the full command reference, see cli-reference.md.

Session Basics

  1. capture session start --url <url> — open a tab and start recording
  2. Interact: screenshot, click, type, a11y, exec, navigate
  3. capture session stop <id> — bundle artifacts; capture session view <id> to inspect

Session context auto-fills --target and --har — no manual flag threading needed.

Target selection: If the user hasn't specified which app or browser to target, ask before starting. Don't assume Chrome, a specific port, or a running tab — run capture detect to see what's available and confirm with the user when ambiguous.

Validation Pattern

When validating a UI feature:

  1. Start a session targeting the page under test
  2. Use a11y --interactive to understand what's on the page
  3. Interact via click and type using accessible names (not selectors)
  4. Take screenshots at key states
  5. Use exec to check DOM or JS state when a11y isn't sufficient
  6. Use har read to verify network requests if relevant (supports --filter-url, --filter-status, --filter-method, --limit; ID optional in an active session)
  7. Stop the session and report pass/fail with evidence

HAR caveat: the session HAR is populated by the commands that run — most reliably navigate. click/type capture the traffic that fires inside their settle window, but cross-navigation traffic after the frame changes is lossy. For continuous "click around" capture, run capture record --duration N in parallel.

Interaction Tips

  • Always prefer click "Name" over exec with selectors — a11y names are stable
  • If click reports multiple matches, add --role to disambiguate
  • Run a11y --interactive before interacting to see available elements
  • type --into "Field Name" clicks the field first, then types — no separate click needed
  • After interactions, screenshot to capture the resulting state

From the CaptainCrouton89/crouton-kit README

crouton-kit — a Claude Code plugin marketplace: slash commands, agents, hooks and skills for development workflows

crouton-kit

plugins license

crouton-kit is a marketplace of plugins for Claude Code. The registry is .claude-plugin/marketplace.json, and each plugin is a directory under plugins/. A plugin is made of slash commands, background agents, auto-applied rules, lifecycle hooks and skills, in whatever mix it needs.

The plugins cover day-to-day development work: committing and opening pull requests (git-smart), code review and debugging (devcore), a requirements-to-review feature workflow (rpi), frontend design (web), Linear issues (linear), and guides for writing Claude Code artifacts such as hooks, rules and skills (authoring). A few wrap other Crouton Labs tools: crtr routes slash commands to the crouter CLI, grove manages parallel project instances, capture takes screenshots and HAR files through the Chrome DevTools Protocol, and humanloop covers the hl decision TUI and termrender.

Install

Inside Claude Code, add the marketplace, then install the plugins you want:

/plugin marketplace add crouton-labs/crouton-kit
/plugin install git-smart@crouton-kit

Commands are namespaced by plugin, so the one above gives you /git-smart:commit, /git-smart:pr, /git-smart:push, /git-smart:rebase and /git-smart:save. After the marketplace updates, run /reload-plugins to pick up the new version.

Some plugins need tools outside Claude Code. crtr needs the crtr binary on your PATH, and ai-cli runs a bundled script that calls the Claude Code SDK (see below). Each plugin's plugin.json says what it requires.

Plugins

PluginWhat it does
devcoreCore development agents and code quality hooks
git-smartSmart git commits with security and quality review
rpiFeature development workflow: arch → plan → implement → review → fix
learnInteractive commands to help you understand code
knowledge-captureRequirements gathering, interviews, and learning commands
dev-utilitiesDeveloper utilities (notifications, command creation)
webWeb development tools including frontend design workflows
hookifyCreate configurable hooks from markdown rule files
linearLinear CLI integration: context injection, skill reference, issue management
authoringGuides for authoring CLAUDE.md, hooks, rules, skills, commands and scripts
ai-cliCLI for running Claude Code SDK sessions with configurable modes
ai-workflowMulti-step agent workflows: chain headless ai-cli runs with branching
captureApp state capture (screenshots, HAR, console, logs) via CDP
socialX (Twitter) posting, engagement and growth tools
humanloopHuman-in-the-loop decision TUI (hl) and terminal rendering (termrender)
groveManage parallel project instances: plant, adopt, uproot, monitor
crtrRouting-only slash commands that bridge Claude Code to the crtr CLI

Develop

git clone git@github.com:crouton-labs/crouton-kit.git
cd crouton-kit
claude --plugin-dir ./plugins/devcore --plugin-dir ./plugins/web   # load plugins from the checkout

A new plugin needs two files: plugins/<name>/.claude-plugin/plugin.json and an entry for it in .claude-plugin/marketplace.json. Without the registry entry Claude Code does not see the plugin. Do not edit versions by hand: a GitHub Actions workflow bumps the version in both files on every push to main, based on the conventional commit prefix (feat: is minor, fix: and the rest are patch, feat!: is major). The authoring guide is plugins/CLAUDE.md, and bin/new-worktree creates a sibling git worktree for a new branch.

ai-cli is the one plugin with a build step. From plugins/ai-cli/, npm run build bundles src/cli.ts into bin/ai (a built copy is committed), and node bin/ai -m <mode> -p "<prompt>" runs a Claude Code session in one of the modes in modes/*.md. node bin/ai --list shows the modes.

Details

Marketplace
CaptainCrouton89/crouton-kit
Source
plugins/capture
Category
Community
Keywords
cdp, capture, screenshots, validation, testing
Listed since
Apr 7, 2026

Questions

What does the capture plugin do in Claude Code?

The capture plugin adds a capture skill for browser automation and UI validation through the capture CLI. It lets Claude click, type, take screenshots, read the accessibility tree, run JavaScript and record HAR files over the Chrome DevTools Protocol. It also provides the /validate command for checking app state.

How do I install the capture plugin?

Run /plugin marketplace add CaptainCrouton89/crouton-kit first, then run /plugin install capture@crouton-kit inside Claude Code. The capture plugin then gives you the capture skill and the /validate command.

Which plugins lead the Browser Automation & Scraping category?

The capture plugin sits in the Browser Automation & Scraping category alongside ruflo-browser, chrome-devtools-mcp, agent-browser, anchor-browser-automation and Apify Automation. The capture plugin focuses on screenshots, HAR recording and accessibility-driven interaction over CDP for validating UI state.

Who should use the capture plugin?

The capture plugin suits developers who want Claude to validate UI state, test features in the browser or manipulate a running web app. Its capture skill is triggered for those tasks. Its SessionStart hook runs when a session begins.

More from CaptainCrouton89/crouton-kit

All 19