Dbg
theodo-group/debug-that
Debug applications using the dbg CLI debugger. An agent skill from theodo-group/debug-that.
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.
$ npx skills add platonai/Browser4 --skill browser4-fix-bug -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install platonai/Browser4 browser4-fix-bug --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/platonai/Browser4.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/browser4-fix-bug .claude/skills/browser4-fix-bug && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "browser4-fix-bug" agent skill from https://github.com/platonai/Browser4/tree/main/skills/browser4-fix-bug into .claude/skills/browser4-fix-bug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "browser4-fix-bug", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/platonai/Browser4/tree/main/skills/browser4-fix-bugType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add platonai/Browser4 --skill browser4-fix-bug -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install platonai/Browser4 browser4-fix-bug --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/platonai/Browser4.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/browser4-fix-bug .agents/skills/browser4-fix-bug && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "browser4-fix-bug" agent skill from https://github.com/platonai/Browser4/tree/main/skills/browser4-fix-bug into .agents/skills/browser4-fix-bug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "browser4-fix-bug", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add platonai/Browser4 --skill browser4-fix-bug -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install platonai/Browser4 browser4-fix-bug --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/platonai/Browser4.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/browser4-fix-bug .cursor/skills/browser4-fix-bug && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "browser4-fix-bug" agent skill from https://github.com/platonai/Browser4/tree/main/skills/browser4-fix-bug into .cursor/skills/browser4-fix-bug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "browser4-fix-bug", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/platonai/Browser4.git --path skills/browser4-fix-bug--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add platonai/Browser4 --skill browser4-fix-bug -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install platonai/Browser4 browser4-fix-bug --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/platonai/Browser4.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/browser4-fix-bug .gemini/skills/browser4-fix-bug && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "browser4-fix-bug" agent skill from https://github.com/platonai/Browser4/tree/main/skills/browser4-fix-bug into .gemini/skills/browser4-fix-bug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "browser4-fix-bug", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install platonai/Browser4 browser4-fix-bugInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add platonai/Browser4 --skill browser4-fix-bug -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/platonai/Browser4.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/browser4-fix-bug .github/skills/browser4-fix-bug && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "browser4-fix-bug" agent skill from https://github.com/platonai/Browser4/tree/main/skills/browser4-fix-bug into .github/skills/browser4-fix-bug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "browser4-fix-bug", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add platonai/Browser4 --skill browser4-fix-bug -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install platonai/Browser4 browser4-fix-bug --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/platonai/Browser4.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/browser4-fix-bug .opencode/skills/browser4-fix-bug && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "browser4-fix-bug" agent skill from https://github.com/platonai/Browser4/tree/main/skills/browser4-fix-bug into .opencode/skills/browser4-fix-bug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "browser4-fix-bug", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
browser4-fix-bugFix 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.
Browser4 Fix Bug is an agent skill from platonai/Browser4. 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.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Debugging, Failing and flaky tests and Android development. It works with Kotlin and Python. The repository describes itself as: Browser4 — an AI-native browser engine for autonomous agents, intelligent extraction, and large-scale web automation. The licence is Apache-2.0.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 0fdba82. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
coding.shellcoding.readcoding.readLinescoding.replacecoding.replaceRegexcoding.editLinescoding.insertAftercoding.diffcoding.changeSummarycoding.revert…and 6 more on the same allowed-tools line.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Browser4 Fix Bug loads about 1.5k tokens when it runs. Until then it costs about 76 tokens; SKILL.md has 434 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from platonai/Browser4 at commit 0fdba82, republished under its Apache-2.0 licence (© platonai). 434 words, ~1,534 tokens.
.claude/skills/browser4-fix-bug/SKILL.md (or your agent's skills folder).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 greenDrive 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.
coding.diagnostics) report errors in a fileThe 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.
coding.shell(command="mvn -pl <module> -am compile -DskipTests")
coding.readLines(path=<file>, startLine=<line-8>, endLine=<line+8>)
coding.replace(path=<file>, old="...", new="...")
coding.shell(command="mvn -pl <module> -am compile -DskipTests")coding.shell(command="mvn test -pl <module> -Dtest=<TestClass>")
coding.readLines(path=<test-file>, startLine=<line-8>, endLine=<line+8>)
coding.replace(path=<file>, old="...", new="...")coding.diagnostics(path=<file>)
coding.readLines(path=<file>, startLine=<line-8>, endLine=<line+8>)
coding.replace(path=<file>, old="...", new="...")coding tools take structured arguments, not CLI flags — see Workflow below for each tool's parameters.
| Symptom | Cause | Fix |
|---|---|---|
| Build still fails after an edit | Edit didn't address the real error | Re-read the error output; check the exact line numbers |
| Edit had no effect | Wrong file or path | Verify the path with coding.readLines before editing |
| Loop never goes green | Fix introduced a new error | Revert (coding.revert), then make a smaller edit |
coding.shell(command="mvn -pl <module> -am compile -DskipTests") # Kotlin/Maven
coding.shell(command="tsc --noEmit") # TS
coding.shell(command="python -m py_compile <file>.py") # Python
coding.shell(command="bash -n <file>.sh") # Bash
tab.eval(expression=<read the JS file>) + tab.console() # Browser JSIf LSP servers are available, prefer instant pre-checks first:
coding.diagnostics(path=<file>) — structured errors with line numbers.
coding.readLines(path=<file>, startLine=<line-8>, endLine=<line+8>)
coding.references(path=<file>, symbol=<suspected-symbol>) # impact check before edits
coding.diff(path=<file>) # what changed recently| Symptom | Tool |
|---|---|
| Wrong string | coding.replace(path, oldStr, newStr) |
| Pattern-based | coding.replaceRegex(path, regex, replacement) |
| Whole block | coding.editLines(path, startLine, endLine, content) |
| Add a line | coding.insertAfter(path, anchor, content) |
| Edit went wrong | coding.revert(path) then redo |
Loop 1→4 until green. Do not make multiple unrelated edits between verifications — one fix, one check, so you always know which edit worked.
Summarize: root cause (one line), fix (file:line), verification result (build/test output tail). If the fix took more than 3 attempts, re-read the error output carefully before continuing — do not fire-and-forget edits.
coding.lspServers tells you which
language servers are installed; prefer coding.diagnostics over a full build
for TS/JS/Python.coding.revert restores
the pre-edit snapshot, then retry with a different approach.User: 编译报错了,browser4-seo 插件 mvn compile 失败
Agent: 1. coding.shell(command="mvn -pl browser4-plugins/browser4-seo -am compile -DskipTests")
2. → error: SeoToolExecutor.kt:42 Unresolved reference 'foo'
3. coding.readLines(path="browser4-plugins/browser4-seo/src/main/kotlin/ai/platon/pulsar/seo/tools/SeoToolExecutor.kt",
startLine=34, endLine=50)
4. coding.replace(path=..., oldStr="foo", newStr="bar")
5. coding.shell(command="mvn -pl browser4-plugins/browser4-seo -am compile -DskipTests") → BUILD SUCCESS
6. 报告:根因 import 拼写;修复 SeoToolExecutor.kt:42;mvn compile 通过© platonai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/browser4-fix-bug of platonai/Browser4.
Open the folder on GitHubat commit 0fdba82
Browser4 Fix Bug next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Browser4 Fix Bug this skillplatonai/Browser4 | 1.2k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Dbgtheodo-group/debug-that | 158 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Code Revieweralirezarezvani/claude-skills | 28k | 1 repos | ~1.6k | Automated safety check: Pass | MIT | |
| Code Reviewerborghei/Claude-Skills | 874 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Failure Oriented InstrumentationArabelaTso/Skills-4-SE | 253 | — | ~2.1k | Automated safety check: Pass | Apache-2.0 | |
| Exposed Bug Fix WorkflowJetBrains/Exposed | 9.3k | — | ~3.8k | Automated safety check: Pass | Apache-2.0 |
theodo-group/debug-that
Debug applications using the dbg CLI debugger. An agent skill from theodo-group/debug-that.
alirezarezvani/claude-skills
Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin, C, .NET, Java, C, C++, Rust, Ruby, PHP, and Dart/Flutter.
borghei/Claude-Skills
Code review automation for TypeScript, JavaScript, Python, Go, Swift, and Kotlin.
ArabelaTso/Skills-4-SE
Selectively instruments code to capture runtime data for debugging failures and bugs.
JetBrains/Exposed
Takes a GitHub or YouTrack issue for the Exposed project through reproduction, a failing test, a fix, validation and a pull request.
jewbetcha/opentrace
Comprehensive code review skill for TypeScript, JavaScript, Python, Swift, Kotlin, Go.
platonai/Browser4
Validates data against common and custom rules (required fields, formats, ranges).
platonai/Browser4
Automatically fills web forms using provided field data and can optionally submit the form.
platonai/Browser4
Extracts data from web pages using browser automation and CSS/JavaScript selectors.
platonai/Browser4
Lists, pairs, deduplicates, and moves task files across the Coworker task state machine (0draft → 6git-pushed).
platonai/Browser4
Analyzes Claude Code session traces (JSONL) and draft task files to report token usage per task.
platonai/Browser4
Fetches current weather conditions and a 7-day forecast for a requested location using Open-Meteo geocoding and forecast APIs.
Categories
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. Browser4 Fix Bug is an agent skill from platonai/Browser4. 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.
Browser4 Fix Bug fits situations like: the user reports a build failure; asks to fix an error in Browser4 plugins.
Run `npx skills add platonai/Browser4 --skill browser4-fix-bug -a claude-code`. Or copy the skill folder (skills/browser4-fix-bug in platonai/Browser4) into .claude/skills/browser4-fix-bug in your project. Claude Code loads it when a task matches its description.
Run `npx skills add platonai/Browser4 --skill browser4-fix-bug -a codex`. Or copy the skill folder (skills/browser4-fix-bug in platonai/Browser4) into .agents/skills/browser4-fix-bug in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add platonai/Browser4 --skill browser4-fix-bug -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/browser4-fix-bug, .gemini/skills/browser4-fix-bug, .github/skills/browser4-fix-bug and .opencode/skills/browser4-fix-bug in your project.
SKILL.md names no scripts, command-line tools or credentials: Browser4 Fix Bug is instructions for the agent only. Our summary lists: Python 3. Its frontmatter pre-approves these tools: coding.shell, coding.read, coding.readLines, coding.replace, coding.replaceRegex, coding.editLines, coding.insertAfter, coding.diff, coding.changeSummary, coding.revert, coding.diagnostics, coding.references, coding.symbols, coding.lspServers, tab.eval, tab.console.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Browser4 Fix Bug is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Browser4 Fix Bug: Dbg (theodo-group/debug-that, 158 stars), Code Reviewer (alirezarezvani/claude-skills, 28k stars), Code Reviewer (borghei/Claude-Skills, 874 stars) and Failure Oriented Instrumentation (ArabelaTso/Skills-4-SE, 253 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
platonai (a GitHub user) maintains it in platonai/Browser4, which has 1,152 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 7, 2026.
Source: platonai/Browser4 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.