browser-script SKILL.md skillA

browser-script from m13v/s4l is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add m13v/s4l/browser-script@git:20260401.7c1eb70

Pins git:20260401.7c1eb70 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
m13v/s4l
Path
.claude/skills/browser-script/SKILL.md
Versions recorded
1
Latest version
git:20260401.7c1eb70, committed Apr 1, 2026
Size
6,820 bytes
Repository stars
64
License
none declared

Create a browser automation script that bundles multi-step browser interactions into a single browser_run_code call. Use when: 'automate browser flow', 'create browser script', 'script this browser task', 'bundle browser steps', 'reduce browser tokens'.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Browser Script Builder

Create self-contained JS scripts that run inside platform browser agents (linkedin-agent, reddit-agent, twitter-agent) via `browser_run_code`. Replaces 5-10 Claude browser tool calls with 2 calls (set params + run script), cutting token usage 10-20x.

## Usage

```
/browser-script <platform> <action-description>
/browser-script linkedin "edit a comment to append link text"
/browser-script reddit "post a reply to a comment"
/browser-script linkedin "extract post data from search results"
```

## Workflow

### Step 1: Understand the browser flow

Before writing code, manually walk through the flow in the target browser agent to discover:
- What elements exist (use `browser_snapshot`)
- What role/name locators work (use `getByRole`)
- What API calls the page makes (use `browser_network_requests`)
- What timing/scrolling is needed

### Step 2: Write the script

Create `scripts/<action>_<platform>.js` following this skeleton:

```javascript
// action_platform.js — One-line description
// Runs inside {platform}-agent browser via browser_run_code.
//
// Params via window.__params:
//   { field1: "...", field2: "..." }
//
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add m13v/s4l/browser-script@sha256:1443ab95e61b1d77

The line at the top of this page pins the label git:20260401.7c1eb70, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_df3llxw33fwwki4y.svg)](https://markdownregistry.com/a/art_df3llxw33fwwki4y)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Apr 1, 2026.

versioncommittedcommitsizeaudit
git:20260401.7c1eb70 latest2026-04-01 7c1eb70 6,820 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6820 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

m13v/s4l · 64 stars · license none declared · pushed 2026-10-30 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_df3llxw33fwwki4y
GET https://markdownregistry.com/api/v1/resolve?ref=m13v/s4l/browser-script
GET https://markdownregistry.com/api/v1/blob/1443ab95e61b1d776402eac9a8e06d55837d7eabe0247bbe25f0c364ca1809f5

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from m13v/s4l

posthog-funnel SKILL.md skill
m13v/s4l · .claude/skills/posthog-funnel/SKILL.md · Full product funnel stats: social posts, pageviews, CTA clicks, bookings. Use when: 'funnel stats', 'product stats'…
git:20260526.ed51d36 · audit A · 64 stars
python-cdp-scripts SKILL.md skill
m13v/s4l · .claude/skills/python-cdp-scripts/SKILL.md · Use when the user says "convert this browser MCP call to python", "automate this with CDP", "stop using LLM tokens for…
git:20260426.29a5735 · audit A · 64 stars
CLAUDE.md CLAUDE.md file
m13v/s4l · CLAUDE.md
git:20260718.9386d4c · audit A · 64 stars
social-autoposter SKILL.md skill
m13v/s4l · SKILL.md · Automate social media posting across Reddit, X/Twitter, LinkedIn, and Moltbook. Find threads, post comments, create…
git:20260702.b05d2eb · audit A · 64 stars
llms.txt@public llms.txt file
m13v/s4l · public/llms.txt
git:20260520.f2bad30 · audit A · 64 stars
social-autoposter-setup SKILL.md skill
m13v/s4l · setup/SKILL.md · Set up social-autoposter for a new user end to end. Installs/repairs the runtime, discovers product and voice context…
git:20260718.95cb798 · audit A · 64 stars

Every file in m13v/s4l

Browse by kind, by grade A, or by owner.