/agent-browsers:page-to-pdffrom agent-browsers
Save a web page as a clean PDF (receipt, order confirmation, invoice, booking, article) with headless Chrome, optionally keeping only one element so the site header and footer don't pad it to many pages. Use on "render this as a PDF", "save this page as PDF", "PDF the receipt", "print this order page", or before filing a web-only receipt.
Ships in agent-browsers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
$PLUGIN below is this plugin's root: two directories above this skill's base directory. The script prints JSON.
/checkout/order-received/<id>/?key=wc_order_…): headless, step 2. No visible browser, nothing on the user's desktop.drive-browser) run await page.pdf({ path, format: 'A4', printBackground: true }) through its
run-code tool (Playwright's page.pdf works only in headless Chromium; if the agent browser is headed, say so
and ask the user to use Ctrl+P → Save as PDF). Don't copy cookies out of the user's browser.$PLUGIN/scripts/page-to-pdf.py "<url>" "/tmp/<dir>/<name>.pdf" [--select "<css>"] [--hide "<css>"]
--select. A page count far above the content (a one-item receipt at 10+ pages) means the
site chrome is printing: re-run with --select on the content block. Known blocks: WooCommerce .woocommerce-order;
Shopify .order-summary, .main; otherwise inspect the page and pick the content container.--hide for cookie bars, chat bubbles and sticky banners that overlap the content.--browser chromium for Playwright's own; first run: uv run --with playwright playwright install chromium).ok: pdftoppm -r 50 -png -f 1 -l 1 out.pdf /tmp/<dir>/prev and view the image.
Confirm the order number, items and total are there and nothing important is cut off. pdftotext on RTL
(Hebrew/Arabic) pages scrambles word order, so read the image, not the text.YYYY-MM-DD <Store> order <number> <item> <currency><total>.pdf.rclone
remote: rclone copyto <file> "<remote>:<name>" --drive-root-folder-id <folder-id>, then confirm with
rclone hashsum sha256 that the Drive copy matches the local sha256 from step 2.What SKILL.md sets; muted values are Claude Code's defaults
12 skills in this plugin
/browser-loginGet an agent browser signed in to a site by handing the sign-in to the user (the agent never types credentials), then confirming the session is live. Use when a site shows a login wall, when setting up a fresh profile, or on "log me in", "I'll log in", "sign the browser into X"./browser-statusCheck whether the user's agent browsers are up and reachable (local MCP and process, LAN/VPS MCP and viewer ports), and recover the common failures. Use when browser tools error or vanish, the viewer won't load, after a server restart, or on "is the agent browser up", "browser tools broken", "restart the agent browser"./captcha-handoffGet past a CAPTCHA or bot check in an agent browser by first trying once to clear it, then handing it to the user and carrying on after they solve it. A challenge is never a reason to stop the task. Use on reCAPTCHA, hCaptcha, Cloudflare Turnstile / "Checking your browser" / "Verify you are human", "unusual traffic", slider or image puzzles, or an SMS/email verification step./complementary-pluginsList and install plugins that complement agent-browsers: kde-agent-workspace. Use on "what goes with this plugin", "related plugins"./deconflict-desktopInstall, check, remove or debug the desktop rule that keeps the local agent browser on the agent's own virtual desktop with no focus stealing, and test that launching it never moves the user's view. Use on "the browser jumped to my screen", "it pulled me to the Claude desktop", "the agent browser popped up", "check the window rule", "remove the browser rule"./drive-browserHow to drive an agent browser through a Playwright-style MCP (navigate, snapshot, act by ref) without leaving a mess. For local browsers, reuse what's open, never launch extras, and close everything you opened when done. Use for any web task on an agent browser ("use your browser", "check the page", "log in and look"), after pick-browser.Other plugins' skills for the same job
agent-browsers@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin agent-browsers