bug-echo

You just fixed a bug. Is the same mistake somewhere else in your project?
bug-echo looks at the fix you just made, works out what the underlying mistake was, and searches
the rest of your code for the same thing hiding elsewhere. You get a short report: here's a real
one, here's a false alarm, here's one you should look at yourself.
4 min read · how it works · what changed
The problem
When you fix a bug, you fix it in one place. But the same mistake is often sitting in three other
places you've forgotten about — copy-pasted, typed again from habit, or left behind when a
refactor didn't reach every corner.
Those copies wait. One of them breaks for a real user, weeks later.
Finding them by hand means remembering every place the same shape could have appeared, which is
exactly what people are worst at.
Why this catches things your other tools don't
A linter checks your code against a list of problems somebody wrote down in advance. That's
useful, and you should keep using one.
bug-echo works the other way round. It looks for one specific thing: the bug that just proved
it was real, in your own code, fifteen minutes ago. Nobody had to predict it. Reality picked it
out for you.
That's why it finds bugs your linter has no rule for — the bug was novel enough to need fixing in
the first place.
| A linter is better at | bug-echo is better at |
|---|
| Running on every save | Running once, after a fix |
| Problems everyone already knows about | The specific bug you just hit |
| Style and formatting | Copies of your latest real bug |
| Mature, well-tested rules | New bugs nobody wrote a rule for |
The safeguard. Before searching, bug-echo tests its understanding against the broken version
of your file. If it got the bug wrong, it stops rather than searching for the wrong thing. You
never get a report built on a misunderstanding.
Install for Codex or Claude Code
Both apps use the same skill in skills/bug-echo/. No separate
Codex copy or fork is needed. You need a coding assistant with access to your project;
Git is needed to infer a pattern from a fix. This is not a custom GPT for browser chat.
Codex
Ask Codex:
$skill-installer Install the bug-echo skill from https://github.com/Terryc21/bug-echo/tree/main/skills/bug-echo.
Then, in your project:
$bug-echo
$bug-echo "await inside a forEach, so nothing actually waits"
$bug-echo --version
If it does not appear, start a fresh Codex session.
Claude Code
Run these one at a time inside Claude Code, not Terminal:
/plugin marketplace add Terryc21/bug-echo
/plugin install bug-echo@bug-echo
Then use the installed command (normally /bug-echo:bug-echo; check the / menu):
/bug-echo:bug-echo
/bug-echo:bug-echo "await inside a forEach, so nothing actually waits"
/bug-echo:bug-echo --version
One local checkout for both apps
For contributors or anyone who wants both apps to read the exact same files, clone
once and link the skill subfolder into both discovery locations:
git clone https://github.com/Terryc21/bug-echo.git /path/to/bug-echo
mkdir -p ~/.agents/skills ~/.claude/skills
ln -s /path/to/bug-echo/skills/bug-echo ~/.agents/skills/bug-echo
ln -s /path/to/bug-echo/skills/bug-echo ~/.claude/skills/bug-echo
Replace /path/to/bug-echo with your checkout's absolute path. If either destination
already exists, preserve it before replacing it; do not overwrite an existing skill
blindly. For Claude Code, choose this manual install or the plugin, so two copies
do not compete. A manual Claude install uses /bug-echo.
Update a linked checkout with git -C /path/to/bug-echo pull --ff-only; both apps then
read that checkout. For a Codex copy installed by the installer, update or reinstall
it from the same repository subfolder. For a Claude plugin install, update its
marketplace and plugin. Start fresh sessions and ask --version to confirm the
version and loaded path. A copied installation does not track GitHub automatically.
The examples below use /bug-echo as shorthand. In Codex, substitute $bug-echo;
for a Claude plugin, use its listed command. You can also ask in plain words.
After a bug fix, run the skill to look for siblings. A committed fix is convenient,
but staged or unstaged fixes also work; name the source when several changes are present.
No recent fix? Describe the pattern instead.