{"id":51447266,"url":"https://github.com/fr1j0/bonk","last_synced_at":"2026-07-05T17:01:32.883Z","repository":{"id":365165598,"uuid":"1270861426","full_name":"fr1j0/bonk","owner":"fr1j0","description":"bonk — a pattern-interrupt plugin for Claude Code: stop the agent's wrong path, audit its assumptions, and restart from clean context.","archived":false,"fork":false,"pushed_at":"2026-06-23T09:52:21.000Z","size":380,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-23T12:11:57.960Z","etag":null,"topics":["ai-agents","anthropic","claude-code","claude-code-plugin","context-engineering","developer-tools","llm","productivity","prompt-engineering","slash-commands"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fr1j0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-16T05:46:14.000Z","updated_at":"2026-06-23T09:20:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fr1j0/bonk","commit_stats":null,"previous_names":["fr1j0/bonk"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/fr1j0/bonk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fr1j0%2Fbonk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fr1j0%2Fbonk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fr1j0%2Fbonk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fr1j0%2Fbonk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fr1j0","download_url":"https://codeload.github.com/fr1j0/bonk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fr1j0%2Fbonk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35162071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-05T02:00:06.290Z","response_time":100,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agents","anthropic","claude-code","claude-code-plugin","context-engineering","developer-tools","llm","productivity","prompt-engineering","slash-commands"],"created_at":"2026-07-05T17:01:31.719Z","updated_at":"2026-07-05T17:01:32.828Z","avatar_url":"https://github.com/fr1j0.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/bonk.png\" alt=\"bonk\" width=\"220\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003ebonk\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\u003cem\u003ePattern-interrupt \u0026amp; context re-grounding for Claude Code — stop the wrong path, audit the assumptions, restart clean.\u003c/em\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/fr1j0/bonk/tags\"\u003e\u003cimg src=\"https://img.shields.io/github/v/tag/fr1j0/bonk?style=for-the-badge\u0026label=version\u0026color=2563eb\u0026logo=github\u0026logoColor=white\" alt=\"version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://docs.claude.com/en/docs/claude-code\"\u003e\u003cimg src=\"https://img.shields.io/badge/Claude_Code-plugin-8A2BE2?style=for-the-badge\u0026logo=anthropic\u0026logoColor=white\" alt=\"Claude Code plugin\"\u003e\u003c/a\u003e\n  \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue?style=for-the-badge\" alt=\"license MIT\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/fr1j0/bonk/issues\"\u003e\u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen?style=for-the-badge\u0026logo=github\u0026logoColor=white\" alt=\"PRs welcome\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/context-freshly_cleared-success?style=for-the-badge\" alt=\"context freshly cleared\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/powered_by-the_Esc_key-lightgrey?style=for-the-badge\" alt=\"powered by the Esc key\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/%22you're_absolutely_right%22-blocked-critical?style=for-the-badge\" alt=\"you're absolutely right: blocked\"\u003e\n\u003c/p\u003e\n\n---\n\nWhen the agent commits to a wrong path and keeps compounding it — defending the\nbad approach turn after turn — `bonk` halts it, audits what it's actually\nassuming, and (when the context is too far gone) restarts from a clean, verified\nproblem statement re-derived by a fresh-context subagent.\n\nThe real problem usually isn't the model's reasoning — it's the **polluted\ncontext** it keeps conditioning on (stale assumptions, dead ends, its own prior\ncommitments). `bonk` is about re-grounding that context, not scolding the model.\n\n## Install\n\nIn Claude Code:\n\n```\n/plugin marketplace add fr1j0/bonk\n/plugin install bonk@bonk\n```\n\nThen use `/bonk:it` and `/bonk:resume`.\n\n## Usage ritual\n\n`bonk` runs *after* you've stopped the agent (a slash command can't interrupt a\nrunning turn — only `Esc` can):\n\n```\nEsc            # stop the wrong-path execution immediately\n(Esc Esc       # optional: rewind to undo bad edits\n or /rewind)\n/bonk:it [hint] # re-ground on the clean state\n```\n\n\u003e Note: `/rewind` only undoes edits made by Claude's edit tools — not bash\n\u003e side-effects (`rm`/`mv`/generated files), which need git.\n\n\u003e Note: run `/bonk:it` and `/bonk:resume` in the **same project**. The clean brief\n\u003e is saved under the repo root's `.bonk/` (resolved via `git`, so any subdirectory\n\u003e of the repo works), but resuming from a *different* repo — or outside any repo,\n\u003e where it anchors to the working directory — won't find it.\n\n## Commands\n\n- **`/bonk:it [optional hint]`** — emits a **Drift check** report: what triggered\n  it, a plain-language verdict (*start over* or *keep going*), the load-bearing\n  assumptions ranked by confidence, and the context it's working from. On *start\n  over*, a fresh-context subagent re-derives the approach blind to the bad turns;\n  you approve, and it persists a clean brief.\n- **`/bonk:resume`** — after you `/clear`, rehydrates the clean brief into the\n  fresh context and continues from the corrected approach.\n\n\u003e Want to see the report format? Run `bash plugins/bonk/scripts/preview-report.sh`\n\u003e for a rendered sample.\n\n## Status\n\nv0.5.0 shipped. See [the design spec](docs/superpowers/specs/2026-06-16-bonk-design.md)\nfor the full design and [the plan](docs/superpowers/plans/2026-06-16-bonk-v1.md)\nfor how it was built; the [report-format redesign](docs/superpowers/specs/2026-06-16-report-format-redesign-design.md)\nand the [visual redesign](docs/superpowers/specs/2026-06-23-report-visual-redesign-design.md)\n(banners, monochrome icons, grid) cover the current Drift-check report.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffr1j0%2Fbonk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffr1j0%2Fbonk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffr1j0%2Fbonk/lists"}