New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Focused, region-specific screenshot workflow for web pages using a dedicated persistent Chrome profile.

skills.sh installs
4.1K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the full capture pipeline: research candidate pages, navigate, locate the target region, and crop to a focused screenshot
  • Includes agent-browser wrapper functions and a macOS process-lookup method for attaching to an already-running dedicated profile
  • Enforces a hard rule against uncropped full-viewport or full-page screenshots in final output
  • Designed for article illustrations that need login-gated pages while keeping the user's daily Chrome untouched

Install

$ npx -y skills add zc277584121/marketing-skills --skill browser-screenshot -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Skill: Browser Screenshot

Take focused screenshots of specific regions on web pages — a Reddit post, a tweet, an article section, a chart, etc. — not just a full-page dump.

Prerequisite: agent-browser must be installed. This skill uses its own headed Chrome with a dedicated persistent profile; the user's daily Chrome does not need remote debugging.

Dedicated Browser Profile

Use the same dedicated persistent profile convention as my-chrome-automation:

PROFILE_DIR="${AGENT_BROWSER_PROFILE:-$HOME/.agent-browser-chrome}"
NAMESPACE="${NAMESPACE:-browser-screenshot}"
SESSION="${SESSION:-focused-capture}"

ab() {
  agent-browser --namespace "$NAMESPACE" --session "$SESSION" --headed --profile "$PROFILE_DIR" "$@"
}

Run every browser command through ab. Do not use --auto-connect, generic CDP discovery, or the user's daily Chrome profile. The dedicated profile preserves cookies and login state across tasks while allowing the user's normal Chrome to remain open and untouched.

Choose a descriptive SESSION for the task when practical. Do not run multiple tasks against the same profile concurrently; reuse it sequentially to avoid profile-lock conflicts.

Details

Repository
github.com/zc277584121/marketing-skills
Category
Browser Automation & Scraping
First seen
May 16, 2026

More from zc277584121/marketing-skills

All 14

Similar to Browser Screenshot

More Browser Automation & Scraping