bug-bash
Skill4 starsChanged 16 days agoMITView on GitHub
Use when the user asks to explore, bug-bash, bug-hunt, dogfood or exploratory-test a feature in the running app (web, API, or a target you define), or asks what the approved claims missed.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- calvin-archastro/skillstheir own version, first seen Nov 29, 2026
- Beakpoint-Insights/roosttheir own version, first seen Nov 1, 2026
- jonmumm/skillstheir own version, first seen Oct 13, 2026
- zenkat/claude-skillstheir own version, first seen Jun 16, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- Beakpoint-Insights/roost★ 37same name
- jonmumm/skills★ 3same name
- calvin-archastro/skills★ 1same name
- zenkat/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- evidenceSkill
- fix-and-proveSkill
- show-your-workSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 0 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Run terms are in <show-your-work directory>/RUN.md: read them first.
- Very specific: line 24
Follow <show-your-work directory>/RUN.md with kind explore.
- Very specific: line 27
If the product's docs describe users no profile covers (a role, a device, a place of work), propose up to two more in the same shape, with …
- Very specific: line 30
If it exists: run node <skill directory>/scripts/profiles.mjs <project folder>/tester-profiles.json <skill directory>/tester-profiles.json.
- Very specific: line 52
When your caller gives Spec claims:, Earlier rounds:, Learnings from: or Changed files: lines, add them to this prompt as given.
- Very specific: line 69
Check that ## Evidence has a line other than none for every target the charters use.
- Very specific: line 83
Before the first dispatch, and each time a batch of explorers returns (one that crashed or stopped on a blocker too), close the run's …
- Very specific: line 92
Do the evidence skill's ## For calling skills step 6 (close the sessions), then step 5.
- Very specific: line 99
Only when the run is in auto mode.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Bug bash
Explore a feature as real users would, and file each bug with evidence and the behaviour a user should see. Proving comes later, on the user's request, with show-your-work: typically once a bug is fixed.
Core rule: explorers learn only from their charter, the docs, the app and learnings.jsonl, which the charter planner and explorers write from the code, each fact with its source; lead charters also read their lines of leads.jsonl, the planner's suspects. Never put a suspected bug, a file, a function or any code detail into a charter, a prompt or brief.md yourself. Prompts hold only the dispatch lines below, plus the two lines PARALLEL.md adds. Never fix the app, offer a fix or start one.
Terms
- Skill directory: the absolute folder that holds this
SKILL.md. - Show-your-work directory:
<skill directory>/../show-your-work/. Evidence directory:<skill directory>/../evidence/. If either is missing, stop and tell the user to install it next tobug-bash. - Run terms are in
<show-your-work directory>/RUN.md: read them first.
1. Set up
- Input: the user's words for what to explore, verbatim. If they are too thin to aim at a feature, ask. Auto mode turns on as
<show-your-work directory>/AUTO.mdsays; when it is on, read the file and the## Auto modesection at the end of this one before going on. - Quick start, when
<project folder>/environment.mddoes not exist and the request gives the app's web URL or its API base URL (not one found in the app's docs or code): read<skill directory>/QUICKSTART.mdand follow it. - Follow
<show-your-work directory>/RUN.mdwith kindexplore. The brief's second heading is## To explore. Profiles: if
<project folder>/tester-profiles.jsondoes not exist:- Copy
<skill directory>/tester-profiles.jsonthere, and fill each profile'swhoandknowswith the product's domain, from its docs, its own pages, its API docs, its--helpor the user (on a quick start, only what the app itself shows). Add each target defined for this project to thetargetsof the profiles that listapi: the namesnode <evidence directory>/scripts/definitions.mjs <project folder> --list targetsprints with sourceprojectoruser. - If the product's docs describe users no profile covers (a role, a device, a place of work), propose up to two more in the same shape, with
"optIn": true, and add only those the user accepts. On a quick start, propose none. - Show the profiles in a few lines, marking those
defaultruns, and ask which should run on every run. Write the answer asProfiles:in Preferences. On a quick start, ask nothing: say in one line which run by default and thatProfiles:changes it.
If it exists: run
node <skill directory>/scripts/profiles.mjs <project folder>/tester-profiles.json <skill directory>/tester-profiles.json. When it lists what the skill added since the copy was made, show those lines and ask once: "Merge them into your profiles?" On yes, run it again with--merge. In auto mode, show them and merge nothing.The run's profiles: those the request names, else
Profiles:in Preferences, elsedefault.defaultmeans every profile without"optIn": true;allmeans every profile. Words in the request or anywhere inenvironment.mdthat ask for every profile ("use all tester profiles") meanall, in auto mode too, over aProfiles:line. When the run's profiles leave outbad-actorand the feature shows what one user types (text, links, images) to other people (an email, an invite, a shared or public page), say in one line, in auto mode too:This feature shows user-typed text and links to others: add bad-actor with "profiles: default,bad-actor" to test abuse.Keep only profiles whosetargetsinclude a target in## Targets(notargets: web). If none is left, say so and stop. Ifbad-actoris among them, tell the user, in auto mode too: "Warning: the bad actor sends emails and invites to made-up addresses, look-alike domains included. Run it only where the app's mail stays in a test inbox and never reaches real people."- Copy
- Passes:
bothorleadswhen the request asks for them ("with leads", "leads only"), elsePasses:in Preferences, elseblind.blindruns only blind testers, who never see the planner's suspects.bothadds one or two lead testers after them, who try the suspects the blind pass did not hit. - Depth:
lightwhen the request says--lightorlight mode,fullwhen it says--fullorfull mode, elseDepth:in Preferences, elsefull.lightruns one short blind charter per profile at one viewport each, the charters spread across the viewports, about half the tokens, and finds the bugs each person meets first; passes areblindwhatever step 5 says. Say it in one line, in auto mode too:Light mode: one short charter per profile; --full explores each profile twice as long.
2. Charters
Dispatch one subagent with exactly this prompt, filled in:
Read <skill directory>/CHARTERS.md and follow it.
Run folder: <run folder>
Project folder: <project folder>
Code path: <app repo, or none>
Ledger dir: <ledger dir, or none>
Profiles: <profile ids, comma-separated>
Passes: <blind | both | leads>
Depth: <full | light>When your caller gives Spec claims:, Earlier rounds:, Learnings from: or Changed files: lines, add them to this prompt as given. When it gives a Batch: or Until: line, add it to each explorer prompt in §3 as given. Add none otherwise.
Before you show its view, count the charters on each key of ## Accounts. When New accounts allows one and more than two charters share a key, dispatch the planner once more with the same prompt and this line, and take that view instead: Accounts: a new account for each charter that needs no seeded data or the key's plan; a charter that keeps a key names in its mission what it needs from it. Charters on their own accounts can run at once (PARALLEL.md), and none is stopped by a limit another charter filled.
Show its view verbatim. When a Not reachable now: line needs a plan or account type and ## Accounts has no Plans: line naming it, ask once, outside auto mode: <part> needs a <plan> account (suggested from the code: <the line's suggestion, or none found>). How each app reaches a plan differs, so testers use only the way you give and never pay, start a trial or edit data to reach one. Test on that account type? Answer with a key on it, a setup command that sets it, or skip. Write a key or command into a Plans: line under ## Accounts (a new key also goes in its table, a command in ## Setup commands), and dispatch the planner once more with the same prompt. For each other Not reachable now: line, suggest a setup command that reaches the state it needs (a back-dating one such as seed-invites {org} {count} {hoursAgo}, or one such as set-plan {org} pro for a paid plan), to add to ## Setup commands for a later run; in auto mode too, in chat. The user answers "ok" or edits in words ("drop 3", "add: a lapsed paid user cancels", "T2 on mobile too"). Apply the edits to <run folder>/charters.json, and record them in brief.md under ## Charter edits, never under ## Added at approval. Every run profile must keep a charter: if one lost its last, say which and ask. Repeat until "ok".
Then, when a charter has groundwork, ask once: one line per such charter, then the question:
T1 needs 9 invites sent today from a new Free org first.
May explorers reach that state by a shortcut and test only the last steps in the browser? Answer yes, no, or the charter ids to allow.In charters.json, write "shortcut": true into each charter the answer allows, and "shortcut": false into the other charters with groundwork. Nothing is explored before that.
3. Explore
- Check that
## Evidencehas a line other thannonefor every target the charters use. If not, follow the evidence skill'sSETUP.mdfor those targets (defaults mode on a quick start). - For each charter, dispatch a fresh subagent with exactly this prompt, filled in. In Claude Code, when the charter's driver runs from the shell (its target's
driver.shellistruein<run folder>/targets.json) and theevident:evident-explorerorevident-exploreragent type is listed, use that type: it carries only Read and Bash, which cuts each turn's cost by about three quarters, and its guard keeps tokens out of files outside the run folder.
Each explorer logs to its own file, also when they run one at a time, so the evidence check can split the run into batches; this is theRead <skill directory>/EXPLORER.md and follow it. Run folder: <run folder> Project folder: <project folder> Evidence directory: <evidence directory> Charter: <charter id> Session id: <charter id, or <name>-<charter id> when the request names a browser session name> Code path: <app repo, or none> Commit: <the value from the evidence skill's `## For calling skills` step 4> Evidence log: evidence-<charter id>.jsonlEvidence log:linePARALLEL.mdnames. Blind charters first, then lead charters once every blind one has returned. One at a time, unless<evidence directory>/PARALLEL.mdallows parallel. Dispatch every explorer in the foreground and wait for its report, never in the background, in parallel too: a headless run ends when your turn ends, with the explorers unread. Send parallel explorers together in one message, in waves: a wave holds one charter per profile (every profile's first charter in the first wave), and the next wave starts once the whole wave has returned, so start.mjs shows each later charter what the earlier ones did and found. Before the first dispatch, and each time a batch of explorers returns (one that crashed or stopped on a blocker too), close the run's sessions as the evidence skill's## For calling skillsstep 6 says. - If an explorer reports a blocker (dialog, rate limit, app down), clear it or ask the user, never by changing the app's code, then dispatch that charter once more. If an explorer is waiting on its own background work (a timer, a sleep), tell it to stop waiting, log what is left as not covered, and return. An explorer that crashed or returned under its budget: run
node <skill directory>/scripts/step.mjs <run folder> <charter id> --left. When it names a viewport or heuristic with no step and the explorer named no blocker, dispatch that charter once more, with the same prompt: it continues from its log and runs only what is left. Else never retry it. - With a
Batch: <n>line: before each dispatch, runnode <evidence directory>/scripts/new-bug.mjs <run folder> --list. Atnor more bugs, dispatch no more charters. With anUntil:line, dispatch none past that time. - In
charters.json, add to each charter"notCovered": its explorer'sNot covered:line, or"not run: batch full"("not run: time") for a charter you did not dispatch. - Explorers can file one failure twice, under different titles, also when they run one at a time. Run
--listonce more, and for each bug whose title andactualshow the same failure as an earlier one, runnode <evidence directory>/scripts/new-bug.mjs <run folder> --duplicate <BUG-NNN> <earlier BUG-NNN>. Mark nothing you are unsure of. - A bug that rests on a document (its
expected,actualorhypothesisnames a doc, a spec or a<file>:<line>): read that line in the document. A rule covers only what its own words name: a rule for one state, role or plan says nothing about another. When the bug's case is one the line's words do not name, and nothing else its explorer had (the brief, an owner decision, a lookFor list) makes it wrong, runnode <evidence directory>/scripts/new-bug.mjs <run folder> --withdraw <BUG-NNN> '<the line, and the case it does not name>'. Withdraw nothing you are unsure of.
4. Report
- Do the evidence skill's
## For calling skillsstep 6 (close the sessions), then step 5; in its join, join every explorer'sevidence-<charter id>.jsonl, in the order they ran, never a session twice. - Run
node <show-your-work directory>/scripts/build-proof.mjs <run folder>. It checks every capture, writes the step'sresult.jsonand the request'sreport.html, the bug report, and prints the chat summary. Fix aProblem:line that names a broken data file (a broken JSON line, a wrong path), and run it again. Anot checkedline: dispatch one more checker for each log those lines belong to, as the evidence skill's step 5 says, join again and run it again. Never editreport.html,result.json,evidence.jsonl,evidence-check.jsonlorenvironment.mdby hand, and never change a bug's evidence. Acheck says mismatchline stays: show it. A bug whose own picture the check contradicts shows as not confirmed and is not counted. - Show two lines and nothing more: the summary's first line and its
Open:URL. The page holds the bugs, questions, evidence problems and what each charter covered; never repeat them in chat. - Release the lock (
node <show-your-work directory>/scripts/run-folder.mjs --release <project folder>) and stop. Never fix the app, offer a fix or start one.
Auto mode
Only when the run is in auto mode. Read <show-your-work directory>/AUTO.md fully. Its rows hold here too, but where a row here and an AUTO.md row differ, this one wins. Below are only bug-bash's own rows.
| Where | In auto mode | Kind |
| §1 step 1: input too thin to aim at a feature | Stop: Stopped: auto mode needs the change's intent in the request. Run again with what to explore. | hard stop |
| §1 step 4: first-run profiles | Use the defaults. Propose none. Write nothing to Preferences. Record it as a default. | default |
| §2: charters | Approve them as written once every run profile has a charter. Write "approvedBy": "auto" into charters.json. Record it in decisions.md as Ruling: default: . Show the view in chat and go on. A run profile with no charter: stop with Stopped: auto mode found no charter for profile <id>. Run again in ask mode. | default / hard stop |
§2: a charter has groundwork | Ask nothing. Write "shortcut": true into each such charter. Record it in decisions.md as Ruling: default: . | default |
| §3 step 1: evidence missing for a charter's target | Follow the evidence skill's SETUP.md auto mode line, as AUTO.md says. | default |
| §3 step 3: an explorer reports a blocker | Ask nothing. Dispatch that charter once more. Still blocked: it ends blocked, and §4 says why. | rule |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

