/stacktale:fix-loopfrom stacktale
Iteratively fixes Java app failures by reading stacktale error reports, fixing the root cause, re-running, and checking for new errors until clean.
Ships in stacktale. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
stacktale writes errors-ai.log next to the app's normal logs. Each entry is a complete
report: the root cause first, the app's own culprit frame marked ← YOUR CODE, the log
lines that led up to the failure, the values involved, and the environment. It is written
for you to read — you should not need to ask the user for a stack trace.
errors_since_last_check is the whole point. It keeps a cursor per session, so:
errors_since_last_check once. The first call reports what is
currently on file — that is your starting position, not new breakage.← YOUR CODE; that is the app's own code, and it is
almost always where the fix belongs. Read the story before deciding — it usually
contains the line that explains why the value was wrong, which the stack trace alone
never shows.stacktale-junit is on the test classpath (a failing
test writes a report too).errors_since_last_check again. It reports 🆕 for errors that are new since
your last call, 🔁 for ones still occurring, and ✓ No new errors when the run is clean.Do not re-read the whole file between rounds. The cursor is there so you only look at what changed.
list_errors — the most recent reports, newest first. Good for orienting yourself.get_report — one report in full, by id.errors_since — everything after a timestamp, when you want a specific window rather
than the cursor.find_similar_errors — has this failure happened before? Useful before assuming a fix is
novel.match_report — the user pasted a bare stack trace: this finds the captured report for
it, with the story and values the paste is missing. Reach for it whenever a trace arrives
without context.audit_redaction — before you paste a report anywhere, or attach errors-ai.log to a
ticket or a PR, run this. It scans for credential shapes redaction did not mask and answers
with the report and line, never the value. Treat a hit as a leak that already happened: the
value has been on disk, so the fix is to rotate it, not only to add a pattern.culprit_source — the code at the culprit line, read from the working tree rather than the
log. Reach for it before proposing a fix: the report tells you which line failed, this tells
you what is on it, and it is current where the log may be days old.tests_covering — which test files name the culprit's class and method. It is a name match,
not coverage, and the reply says so. The answer to act on is none: that means the failing
path has no test, so write one instead of looking for the one that does not exist.repro_for — before writing a reproduction test, ask for one. It returns a JUnit skeleton
built from the throw site itself: the class, the method, the declared parameter types and
the arguments the failing call was given. Those are what you would otherwise infer from the
stack trace, and a wrong declared type or argument order produces a test that passes while
reproducing something else. It needs repro=true and stacktale-agent, and says so when
the report has no seed — that answer is not a failure, it is the switch you are missing.🔁 still occurring after a fix means the fix did not take. Check whether the app
actually restarted and picked up your change before assuming the diagnosis was wrong.━ #id repeated N× ━) is a frequency signal. An error occurring
hundreds of times is usually the one to fix first, even if it is not the newest.seen: N× this session distinguishes a new failure from a long-standing one.wrapped by: chain is context, not the diagnosis.If the tools return nothing and no errors-ai.log exists, the app either has not failed
yet or does not have stacktale installed. Setup is one dependency:
https://github.com/stacktale/stacktale#quickstart — the Spring Boot starter needs no
configuration at all.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub stacktale/stacktale --plugin stacktaleOther plugins' skills for the same job