Hook Development for Claude Code Plugins
anthropics/claude-plugins-official
Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.
Run a multi-agent bug bash — pick a batch of open bugs by priority label, claim them, investigate then implement via subagents, pair adversarial reviews, and shepherd every PR to ready-for-review…
$ npx skills add boardsesh/boardsesh --skill bug-bash-campaign -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install boardsesh/boardsesh bug-bash-campaign --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/boardsesh/boardsesh.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/bug-bash-campaign .claude/skills/bug-bash-campaign && 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 "bug-bash-campaign" agent skill from https://github.com/boardsesh/boardsesh/tree/main/.claude/skills/bug-bash-campaign into .claude/skills/bug-bash-campaign/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bug-bash-campaign", 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/boardsesh/boardsesh/tree/main/.claude/skills/bug-bash-campaignType 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 boardsesh/boardsesh --skill bug-bash-campaign -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install boardsesh/boardsesh bug-bash-campaign --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/boardsesh/boardsesh.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/bug-bash-campaign .agents/skills/bug-bash-campaign && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "bug-bash-campaign" agent skill from https://github.com/boardsesh/boardsesh/tree/main/.claude/skills/bug-bash-campaign into .agents/skills/bug-bash-campaign/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bug-bash-campaign", 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 boardsesh/boardsesh --skill bug-bash-campaign -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install boardsesh/boardsesh bug-bash-campaign --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/boardsesh/boardsesh.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/bug-bash-campaign .cursor/skills/bug-bash-campaign && 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 "bug-bash-campaign" agent skill from https://github.com/boardsesh/boardsesh/tree/main/.claude/skills/bug-bash-campaign into .cursor/skills/bug-bash-campaign/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bug-bash-campaign", 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/boardsesh/boardsesh.git --path .claude/skills/bug-bash-campaign--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 boardsesh/boardsesh --skill bug-bash-campaign -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install boardsesh/boardsesh bug-bash-campaign --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/boardsesh/boardsesh.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/bug-bash-campaign .gemini/skills/bug-bash-campaign && 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 "bug-bash-campaign" agent skill from https://github.com/boardsesh/boardsesh/tree/main/.claude/skills/bug-bash-campaign into .gemini/skills/bug-bash-campaign/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bug-bash-campaign", 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 boardsesh/boardsesh bug-bash-campaignInstalls 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 boardsesh/boardsesh --skill bug-bash-campaign -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/boardsesh/boardsesh.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/bug-bash-campaign .github/skills/bug-bash-campaign && 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 "bug-bash-campaign" agent skill from https://github.com/boardsesh/boardsesh/tree/main/.claude/skills/bug-bash-campaign into .github/skills/bug-bash-campaign/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bug-bash-campaign", 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 boardsesh/boardsesh --skill bug-bash-campaign -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install boardsesh/boardsesh bug-bash-campaign --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/boardsesh/boardsesh.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/bug-bash-campaign .opencode/skills/bug-bash-campaign && 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 "bug-bash-campaign" agent skill from https://github.com/boardsesh/boardsesh/tree/main/.claude/skills/bug-bash-campaign into .opencode/skills/bug-bash-campaign/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bug-bash-campaign", 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.
bug-bash-campaignRun a multi-agent bug bash — pick a batch of open bugs by priority label, claim them, investigate then implement via subagents, pair adversarial reviews, and shepherd every PR to ready-for-review…
Bug Bash Campaign is an agent skill from boardsesh/boardsesh. Run a multi-agent bug bash — pick a batch of open bugs by priority label, claim them, investigate then implement via subagents, pair adversarial reviews, and shepherd every PR to ready-for-review for Marco to merge. Use when asked to "do a bug bash", "pick up N bugs", "run a batch of P1s", "continue the bug loop", or to adopt stale in-flight fix PRs. For from-sentry issues, also follow sentry-issue-campaign. Repo boardsesh/boardsesh.
Its SKILL.md is about 2.4k 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 Agent Workflows. It works with Bash. The licence is Apache-2.0.
10 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 93cf9a7. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
ghgitclaudeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh and git, which can reach the network depending on how they are called.
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.
Bug Bash Campaign loads about 2.4k tokens when it runs. Until then it costs about 115 tokens; SKILL.md has 1,362 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 boardsesh/boardsesh at commit 93cf9a7, republished under its Apache-2.0 licence (© boardsesh). 1,362 words, ~2,426 tokens.
.claude/skills/bug-bash-campaign/SKILL.md (or your agent's skills folder).Turn a batch of open bugs into ready-for-review PRs. The work is orchestration: you pick, claim, delegate, judge, and shepherd. You rarely write the fix yourself, and you never merge.
Name the loop at the start (e.g. bugbash42). The name goes in claim comments, scratch
directories and the closing campaign memory.
gh issue list --label bug --state open --limit 200 \
--json number,title,labels,assignees,createdAtOrder: priority:P0 → P1 → P2 → P3, then newest first within a label, and
from-sentry ahead of the rest on ties. Take the batch size the user asked for (default 10). Skip
issues assigned to someone else, and skip admin-only work (secret rotation, GitHub settings) since
it has to go back to Marco anyway.
Prior-art scan before claiming. A matching fix often exists under a branch name with no issue number in it.
gh pr list --state all --limit 200 --json number,title,body and grep the bodies for the
issue number. Grepping titles or branch names alone has missed real fixes.gh issue view <n>: a closed event about 1 s after a PR merge is an auto-close, which means
the fix already landed.find /tmp ~/projects/boardsesh -maxdepth 1 \( -name 'boardsesh-*' -o -name 'wt-*' \): another
loop checked out on this issue has effectively taken it. (find, not ls with globs: zsh
aborts on a glob that matches nothing.) Adjust ~/projects/boardsesh to wherever your checkouts
live.If a PR already exists but is unmerged, the job is to get that PR ready, not start over.
gh issue edit <n> --add-assignee @me
gh issue comment <n> --body "🤖 Claimed by bug-batch loop \`<loop>\` (batch <N>, session <id>)"A claim with no PR after about 10 days has lapsed. Reclaim it with a note. Some parallel loops ignore claims entirely, so commit and push early: a pushed commit survives another loop rewriting your worktree.
One read-only investigator per issue. Scope the prompt as two-phase up front: "investigate now; implement only after coordinator approval". Never write "PLAN ONLY — do not modify files": the permission classifier binds the agent's whole session to that boundary, and neither a later message nor a fresh implementer spawn can lift it cleanly.
Tell the investigator that these are good answers: already fixed on main, duplicate, cannot reproduce, the ticket misdiagnoses the cause. In one 30-issue campaign, 6 were stale, duplicated or overstated. Require it to check the issue's claims against the code.
Keep prod-DB reads out of subagent prompts. A local dev-DB EXPLAIN is fine. Put prod queries in
the PR body as a read-only checklist for Marco.
Read every plan yourself.
Model by risk: Sonnet for bounded or mechanical work (copy, i18n, tests, small UI). Opus for concurrency, data correctness, security, sync and native code. Pair every implementer with a reviewer.
Worktree per issue, as a sibling of the repo checkout (~/projects/boardsesh/ on the dev box;
adjust to wherever your checkouts live), off fresh origin/main:
git fetch origin main
git worktree add -b fix/<issue>-<slug> ~/projects/boardsesh/wt-<issue> origin/mainNever under /tmp or .claude/worktrees/ (the mobile bundle check needs a sibling worktree).
Paste this block into every implementer prompt, replacing <scratchpad> with the absolute path
of your session's scratchpad directory (Claude Code names it in the system prompt; subagents share
it; with none, use ${TMPDIR:-/tmp}/<loop>) and <issue>/<loop> with real values:
- Prove each guard fires: revert the fix, watch the test go red, restore, and paste the real red output. A new lint rule or checker needs a deliberately broken fixture.
- Report any unverified step as unverified. "CI is authoritative for X" is fine; claiming green you did not see is not.
- Commit before mutating code to test a guard.
git checkout -- <file>also throws away uncommitted real work.- Scratch files go in
<scratchpad>/<issue>-<loop>/with unique names. The shell hasnoclobberon, so write files with the Write tool or>|, never bare>. Read the file back right before--body-file, and re-read the published PR body withgh pr view.- Run tests in the FOREGROUND with generous timeouts. Do not start background tasks or monitors and wait on them.
- Local checks are scoped only:
vp checkon touched files,vp run typecheck:backend|shared|db|mobile, one targeted test file. No full backend suite and notypecheck:web(it runs a Next build); several of those at once exhaust the box's memory. Push a draft and let CI run the full sweep.- Read upstream behaviour out of
node_modules, not memory. Resolve fingerprint impact withvp exec expo-updates runtimeversion:resolveor the PR's OTA check; never assert it.
Read the diff and the red output yourself before believing a report. If an agent stalls twice,
stop resuming it: check git status, validate its edits, and land them from the main session.
## Release Notes, ## Test plan (what a tester taps and sees,
1–5 steps) and a ## Risk heading with a separate Risk: N/5 — why line.commit-lint reads the webhook
payload, so a rerun keeps the stale title: fix the title (and amend if needed), then push.release/next with a [native-train] title, not main.git push --force-with-lease without asking. Check with
git merge-tree --write-tree origin/main <branch> | grep CONFLICT, since GitHub's mergeable
often reads UNKNOWN. A conflicted PR dispatches no CI at all.Claude Code Review after each
push. One PR alone can run CI normally.chatgpt-codex-connector[bot] GitHub App) fire when a draft is marked
ready. Work through them.packages/shared/ble-protocol/,
packages/mobile/src/lib/ble/, packages/mobile/modules/live-activity/ios/) or any PR that
moves the native fingerprint. That means a read-only reviewer subagent with model: "fable" that
posts its review on the PR. It is not a person.main.Marco reviews and merges. A merged PR showing mergedBy=marcodejongh with
reviewDecision=REVIEW_REQUIRED is normal here (an author cannot approve their own PR). It does not
mean a loop self-merged.
Surface these rather than deciding them:
A follow-up you find at P2 or worse gets a fix PR in the same turn, not just an issue.
The Sentry skill's "Hazards that cost real time" section covers the backend test-DB lock, load-induced shifting failures, disk and inode exhaustion, squash-merge retargets and parallel PRs in one file. The bug-bash additions:
vp check leaves a ~2 GB tsgolint behind
(pkill -f tsgolint || true). Don't pair a background job with a separate waiter.vp output cross-contaminates worktrees. Read the paths in a failing log before trusting a
red./tmp checkouts can exhaust inodes (df -i, not df -h). Never delete a
checkout you did not create.Write one campaign memory named after the loop: PRs opened and their state, issues resolved without a PR (already fixed, duplicate, handed back), issues filed on the way, and exactly what is still owed to Marco.
© boardsesh, 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 .claude/skills/bug-bash-campaign of boardsesh/boardsesh.
Open the folder on GitHubat commit 93cf9a7
Bug Bash Campaign 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 |
|---|---|---|---|---|---|---|
| Bug Bash Campaign this skillboardsesh/boardsesh | 163 | — | ~2.4k | Automated safety check: Pass | Apache-2.0 | |
| Hook Development for Claude Code Pluginsanthropics/claude-plugins-official | 38k | 11 repos | ~4.1k | Automated safety check: Notes | Apache-2.0 | |
| Plugin Settings Patternanthropics/claude-plugins-official | 38k | 7 repos | ~3k | Automated safety check: Pass | Apache-2.0 | |
| Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills | 21k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Crush Configurationcharmbracelet/crush | 29k | — | ~3.7k | Automated safety check: Pass | Custom licence | |
| Kimi Code DelegationCherryHQ/cherry-studio | 52k | 1 repos | ~504 | Automated safety check: Pass | AGPL-3.0 |
anthropics/claude-plugins-official
Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.
anthropics/claude-plugins-official
Shows how Claude Code plugins keep per-project settings and state in .claude/plugin-name.local.md files with YAML frontmatter and a markdown body.
KKKKhazix/khazix-skills
Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.
charmbracelet/crush
Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.
CherryHQ/cherry-studio
Delegates one bounded repository task to Kimi Code in non-interactive prompt mode and reads back the final result from its JSON event stream.
github/gh-aw
Designs and verifies a deterministic grader that measures whether a GitHub Agentic Workflow run reached its real-world or repository outcome.
boardsesh/boardsesh
Classify collected Boardsesh Discord messages into GitHub issue decisions — bug, feature, question, noise, or duplicate — deduplicating against the existing tracker.
boardsesh/boardsesh
Mine Boardsesh's PostHog telemetry (error tracking, session recordings, product analytics) with a multi-agent workflow, then file verified, deduplicated, severity-labelled GitHub issues.
boardsesh/boardsesh
Drive Sentry-derived GitHub issues to merged PRs at scale — pick by priority label, self-assign, plan then implement via subagents, pair adversarial reviews, and shepherd every PR to ready-for-review.
boardsesh/boardsesh
Capture screenshots of the Boardsesh React Native app (packages/mobile/) running on an Android emulator, driven against Metro with a cached dev-client APK.
Works with
Categories
Run a multi-agent bug bash — pick a batch of open bugs by priority label, claim them, investigate then implement via subagents, pair adversarial reviews, and shepherd every PR to ready-for-review…. Bug Bash Campaign is an agent skill from boardsesh/boardsesh. Run a multi-agent bug bash — pick a batch of open bugs by priority label, claim them, investigate then implement via subagents, pair adversarial reviews, and shepherd every PR to ready-for-review for Marco to merge.
Bug Bash Campaign fits situations like: asked to do a bug bash; run a batch of P1s; continue the bug loop; adopt stale in-flight fix PRs.
Run `npx skills add boardsesh/boardsesh --skill bug-bash-campaign -a claude-code`. Or copy the skill folder (.claude/skills/bug-bash-campaign in boardsesh/boardsesh) into .claude/skills/bug-bash-campaign in your project. Claude Code loads it when a task matches its description.
Run `npx skills add boardsesh/boardsesh --skill bug-bash-campaign -a codex`. Or copy the skill folder (.claude/skills/bug-bash-campaign in boardsesh/boardsesh) into .agents/skills/bug-bash-campaign 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 boardsesh/boardsesh --skill bug-bash-campaign -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bug-bash-campaign, .gemini/skills/bug-bash-campaign, .github/skills/bug-bash-campaign and .opencode/skills/bug-bash-campaign in your project.
Going by SKILL.md and its folder, Bug Bash Campaign needs the command-line tools its instructions call (gh, git and claude).
SKILL.md contains no URLs. Its commands use gh and git, which can reach the network depending on how they are called. 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.
Bug Bash Campaign 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 2.4k tokens (SKILL.md is roughly 9.7k 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 Bug Bash Campaign: Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Plugin Settings Pattern (anthropics/claude-plugins-official, 38k stars), Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars) and Crush Configuration (charmbracelet/crush, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
boardsesh (a GitHub organization) maintains it in boardsesh/boardsesh, which has 163 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 8, 2026.
Source: boardsesh/boardsesh on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.