browser4-fix-bug SKILL.md skillA

browser4-fix-bug from platonai/browser4 is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add platonai/browser4/browser4-fix-bug@git:20260826.ac7c2f1

Pins git:20260826.ac7c2f1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
platonai/browser4
Path
skills/browser4-fix-bug/SKILL.md
Versions recorded
2
Latest version
git:20260826.ac7c2f1, committed Aug 26, 2026
First version recorded
Aug 14, 2026
Size
6,212 bytes
Repository stars
1,164
License
Apache-2.0

Fix bugs in code using a compile-test-fix loop: run the build/tests, read the error, locate the faulty lines, edit, and re-verify until green. Use when the user reports a build failure, test failure, crash, or asks to fix an error in Browser4 plugins, Kotlin, TS/JS, Python, or scripts.

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

# browser4-fix-bug

## Quick Start

```text
coding.shell(command="mvn -pl <module> -am compile -DskipTests")     # 1. reproduce the error
coding.readLines(path=<file>, startLine=<line-8>, endLine=<line+8>)  # 2. read the failing code
coding.replace(path=<file>, old="...", new="...")                    # 3. smallest possible edit
coding.shell(command="mvn -pl <module> -am compile -DskipTests")     # 4. re-verify until green
```

Drive a bug from "it fails" to "it passes" with a disciplined compile-test-fix loop.
Never guess — read the actual error, make the smallest edit, and re-verify.

## When to Use

- User reports a build/compile failure or a failing test
- A plugin, skill script, JS, or shell script errors at runtime
- User says "fix this error", "the build is broken", "tests fail", "it crashes"
- LSP diagnostics (`coding.diagnostics`) report errors in a file

## How It Works

The compile-test-fix loop is error-driven: reproduce the failure, read the exact error, locate the faulty lines with minimal context, make the smallest possible edit, and re-verify. Never guess — every iteration starts from the actual error output.

## Patterns

### 1. Build/compile failure

```text
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add platonai/browser4/browser4-fix-bug@sha256:34f7088d7f073846

The line at the top of this page pins the label git:20260826.ac7c2f1, 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_ueeqjgkkntk3eraq.svg)](https://markdownregistry.com/a/art_ueeqjgkkntk3eraq)

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

Versions

The registry has recorded 2 versions of this file, between Aug 14, 2026 and Aug 26, 2026, about one every 12 days.

versioncommittedcommitsizeaudit
git:20260826.ac7c2f1 latest2026-08-26 ac7c2f1 6,212 BA view · diff
git:20260814.b382b172026-08-14 b382b17 4,229 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 (6212 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

platonai/browser4 · 1,164 stars · license Apache-2.0 · pushed 2026-10-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ueeqjgkkntk3eraq
GET https://markdownregistry.com/api/v1/resolve?ref=platonai/browser4/browser4-fix-bug
GET https://markdownregistry.com/api/v1/blob/34f7088d7f0738460145097f6393bf52ae5eddcb1942cc63a1fc5fbf2bed07f6

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 platonai/browser4

issues-batch-fix SKILL.md skill
platonai/browser4 · .trae/skills/issues-batch-fix/SKILL.md · Fix Browser4 test-issue reports under coworker/tasks/issues/draft via the locate-fix-verify-docs loop. Use when the…
git:20261005.8889a9b · audit A · 1,164 stars
AGENTS.md AGENTS.md file
platonai/browser4 · AGENTS.md
git:20261007.d600238 · audit A · 1,164 stars
CLAUDE.md CLAUDE.md file
platonai/browser4 · CLAUDE.md
git:20260806.5de4fd9 · audit A · 1,164 stars
data-validation SKILL.md skill
platonai/browser4 · browser4-agentic/src/main/resources/skills/data-validation/SKILL.md · Validates data against common and custom rules (required fields, formats, ranges). Use when checking data quality…
v1.0.0 · audit A · 1,164 stars
form-filling SKILL.md skill
platonai/browser4 · browser4-agentic/src/main/resources/skills/form-filling/SKILL.md · Automatically fills web forms using provided field data and can optionally submit the form. Use when automating form…
v1.0.0 · audit A · 1,164 stars
mcp-builder SKILL.md skill
platonai/browser4 · browser4-agentic/src/main/resources/skills/mcp-builder/SKILL.md · Guide for creating advanced-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external…
git:20260526.099a5a1 · audit A · 1,164 stars
pdf SKILL.md skill
platonai/browser4 · browser4-agentic/src/main/resources/skills/pdf/SKILL.md · Extracts text and tables from PDF files, fills PDF forms, and creates/merges/splits PDF documents. Use when users…
git:20260701.bfe8f32 · audit A · 1,164 stars
weather SKILL.md skill
platonai/browser4 · browser4-agentic/src/main/resources/skills/weather/SKILL.md · Fetches current weather conditions and a 7-day forecast for a requested location using Open-Meteo geocoding and…
v1.0.0 · audit A · 1,164 stars
web-scraping SKILL.md skill
platonai/browser4 · browser4-agentic/src/main/resources/skills/web-scraping/SKILL.md · Extracts data from web pages using browser automation and CSS/JavaScript selectors. Use when you need to scrape…
v1.0.0 · audit A · 1,164 stars
script-runner SKILL.md skill
platonai/browser4 · browser4-agentic/src/test/resources/skills/script-runner/SKILL.md · A tiny test skill that runs a safe python script and echoes argv. Use to validate the skill script execution pipeline…
v1.0.0 · audit A · 1,164 stars
coworker SKILL.md skill
platonai/browser4 · coworker/skills/coworker/SKILL.md · Reference for the Coworker file-queue automation system: task lifecycle, directory state machine, PowerShell workers…
git:20260906.987bf9a · audit A · 1,164 stars
maintenance SKILL.md skill
platonai/browser4 · coworker/skills/maintenance/SKILL.md · Orchestrates 30 check scripts across 9 categories (code, tests, docs, SKILLs, deps, infra). Use when asked to run…
git:20260714.a03c08f · audit A · 1,164 stars

Every file in platonai/browser4

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