p3bot/snag/skill

Claude Code and agent skill by p3bot/snag

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Fetch rendered web page content via Chrome/Chromium (CDP) as Markdown, HTML, text, PDF, or PNG. Use when an agent needs page content from a URL. Prefer snag with markdown content over curl with HTML.

Install

npx vskill@latest install p3bot/snag/skill

SKILL.md

Fetch web pages with snag

snag <url> # Headless browser by default
snag <url> <url> <url> # Each page saved to file
snag <url> > page.md
snag -o page.md <url>
snag -d out/ <url>
snag -f md|html|text|pdf|png <url>
snag --wait-for ".sel" [--timeout N] <url>
snag --info <url> # JSON metadata
snag --url-file urls.txt
snag --url-file - # stdin
  • PDF/PNG never go to stdout; a filename is generated when -o/-d are omitted
  • Logging: --verbose and --debug (mutually exclusive)

Tabs

Tabs are sorted by URL, then title, then id (not visual left-to-right). Index 1 is first in that order. Tab features need an existing debugging browser (snag --open-browser).

snag --list-tabs
snag -t 1
snag -t 2-5
snag -t "example.com"
snag -t "https://.*\\.com"
snag --all-tabs -d out/
  • -t tries index, N-M, exact URL, substring, then regex. One match → stdout; many → files
  • --tab and URL arguments are mutually exclusive

Browser

snag --open-browser # visible browser, debug port on; no fetch
snag --kill-browser # kill debugging browsers only
snag --doctor # environment diagnostics

Authenticated Page

Launched browsers share one persistent profile: $XDG_STATE_HOME/snag/chrome on Linux (default ~/.local/state/snag/chrome; relative or empty XDG_STATE_HOME is ignored) or ~/Library/Application Support/snag/chrome on macOS. Log in, quit, then headless snag <url> keeps the cookies. Leave the window open and same-port snag <url> attaches via CDP.

The default profile is a singleton (Chrome profile lock). Extra instances use --temp-profile or --user-data-dir PATH. Those two flags are mutually exclusive. --force-headless on another port still uses the default profile unless one of those isolation flags is set.

snag --open-browser # Log in; quit or leave open
snag <url> # Same profile after quit; CDP if left open
snag -t "pattern"
snag --temp-profile <url> # Ephemeral; headless close deletes it

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
73
Repository forks
2
7-day trend score
22

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/p3bot/snag/skill/badge)](https://verified-skill.com/skills/p3bot/snag/skill)

Something wrong with this skill or its page? Tell us.