/reflect:errors-ackfrom reflect
Triages and acknowledges entries in the reflect errors sink (~/.reflect/errors.json). Invoked from the statusline badge when pipeline errors accumulate.
Ships in reflect. 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.
Triages unacknowledged entries in ~/.reflect/errors.json and
acknowledges them (individually or in bulk). The statusline ⚠N /reflect:errors-ack badge is the entry point — clicking the badge or
typing /reflect:errors-ack lands here.
⚠N /reflect:errors-ack badge~/.reflect/errors.json and filter to unacked entrieskind so repeats are obviousAskUserQuestion):
drain_poison after fixing the parser)reflect errors ack [ids...] and report the count
of records flipped to acked: trueid when source kind message (first 80 chars)
─────────────────────────────────────────────────────────────────────────
err-b177eb 05-17 drain drain_poison poison after 3 retries: …
err-614742 05-17 drain drain_poison poison after 3 retries: …
err-579ed4 05-17 drain drain_no_output claude -p produced no out…
err-c942a3 05-17 drain drain_poison poison after 3 retries: …
Group repeats by kind in the prompt: "4 drain_poison + 1 drain_no_output — ack all? ack just drain_poison? show one in detail?"
Use the installed reflect CLI (from uv tool install reflect-kb). If reflect
isn't on $PATH, self-bootstrap with uv run --with reflect-kb python -m reflect_kb.errors <args> — the bare python3 -m reflect_kb.errors form only
works when reflect_kb is importable by system python3, which it usually isn't.
# Count of unacked entries (what the statusline badge reads)
reflect errors count
# Ack all unacked entries
reflect errors ack
# Ack specific entries by ID
reflect errors ack err-b177eb err-614742
# Append a new error (used by hooks/scripts, not user)
reflect errors append \
--source drain --kind drain_poison --message "…" --context '{}'
The store at ~/.reflect/errors.json is locked via fcntl so it's
safe to ack and append concurrently. Entries are deduplicated within a
short window (same kind + same hash) to prevent loops from flooding it.
When invoked:
# 1. show the count + table
reflect errors count
python3 <<'PY'
import json, datetime
with open('/Users/stevengonsalvez/.reflect/errors.json') as f:
d = json.load(f)
unacked = [e for e in d.get('errors', []) if not e.get('acked')]
for e in unacked[:20]:
eid = e.get('id', '?')
ts = e.get('timestamp', e.get('ts', '?'))[:10]
src = (e.get('source') or '?')[:10]
kind = (e.get('kind') or '?')[:18]
msg = (e.get('message') or '')[:80]
print(f"{eid:12} {ts:10} {src:10} {kind:18} {msg}")
PY
# 2. ask user via AskUserQuestion (ack all / ack by kind / show detail / leave)
# 3. run ack
reflect errors ack [optional-ids]
After ack the badge disappears on next statusline refresh (10s cache).
Found N unacked errors in ~/.reflect/errors.json.
By kind:
drain_poison ×4
drain_no_output ×1
Acked M entries. Badge will clear within 10s.
parser_typeerror or ingest_* failures usually point at a real bug
that needs fixing before acking (otherwise the same error returns
next session).~/.reflect/errors.json to clear the badge — that loses
the history. Always ack./reflect:status — broader system health view/reflect:recall — search learnings (separate concern, not errors)~/.reflect/errors.json⚠N /reflect:errors-ack (rendered red, only when
count > 0)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub stevengonsalvez/ainb-reflect-memory --plugin reflect2 plugins in one repository ship this exact skill · first indexed Jul 16, 2026
10 skills in this plugin
/consolidatereflect:consolidateProject-level memory consolidation. Merges orphaned worktree memory
directories into a single .agents/MEMORY.md for the current project.
Deduplicates, sections, and proposes cleanup of orphan dirs.
Does NOT index into the global knowledge base — use reflect:ingest for that.
/corpusreflect:corpusBuild a long-lived, filtered SLICE of the global learnings KB and answer a question-set over it ("ask the auth subsystem", "ask the migration log"). Unlike /reflect:recall (a fresh hybrid query each time), a corpus is a saved filter snapshotted to disk — prime it once, ask many questions, reprime when the KB drifts. Use when the user wants a durable Q&A session against one filtered area of their own code history rather than a one-shot search./cost