Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By 88plugFSL-1.1-ALv2In 1 marketplace
Recover Claude Code sessions after an Anthropic API output-classifier false positive (the "cyber-related safeguards" / "appears to violate our Usage Policy" hard failure). A JSON-aware .jsonl log surgeon that surgically removes the triggering message + refusal turn and re-stitches the parentUuid chain so the session resumes cleanly, cleans accumulated refusals across old sessions, and installs a per-repo CLAUDE.md framing guard to stop recurrence.
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
claude-code, claude, anthropic, ai, llm, ai-agents, developer-tools, automation ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code session recovery for Anthropic API output-classifier false positives — JSON-aware .jsonl log repair, parentUuid re-stitch, and CLAUDE.md framing guards.
Recover Claude Code sessions after an Anthropic API content-filter false positive — the hard failure "appears to violate our Usage Policy" / "cyber-related safeguards" that kills a turn mid-generation on dense-but-legitimate engineering. This Claude Code plugin is a JSON-aware .jsonl log surgeon for session management: it removes the triggering message and refusal turn, re-stitches the parentUuid chain so claude --resume works, cleans accumulated refusals across old sessions, and installs a per-repo CLAUDE.md framing guard so coding agents and LLM workflows stop re-tripping.
Built for developers whose AI agents hit the classifier on legitimate work — mining/PoW software, supply-chain/sigstore tooling, payment automation, chaos/infra-ops, security infra — not for bypassing policy on real abuse.
/plugin marketplace add 88plug/claude-code-plugins
/plugin install recover-from-false-positive@88plug
grok plugin marketplace add 88plug/claude-code-plugins
grok plugin install recover-from-false-positive@88plug --trust
The skill auto-triggers when Usage-Policy / cyber-safeguards error text appears in the conversation. To run the log surgeon yourself:
# Fix ONLY the session that just fired (removes trigger + refusal,
# re-stitches the chain, backs up first). Resume cleanly afterward.
python3 ${CLAUDE_PLUGIN_ROOT}/skills/recover-from-false-positive/scripts/scrub_refusals.py --fix-active
[!NOTE] Detect-only by default. The script makes a backup tarball before writing and refuses any change that would add a dangling
parentUuid.
| Feature | What you get |
|---|---|
| Active session recovery | Remove only the trigger message + refusal; resume as if neither happened |
| Machine-wide cleanup | Dry-run then --apply to scrub accumulated refusal turns; chain-safe |
| Recurrence guard | Classify the trigger; install a CLAUDE.md framing section naming real files and vocab |
| Hands-free hooks | Detect on StopFailure, inject recovery on next prompt, frame every subagent |
| JSON-aware repair | Re-stitch uuid / parentUuid — never a blind sed delete |
--apply to remove accumulated refusal turns machine-wide. Chain-safe; old sessions stay resumable.## Cyber-safeguard false positives — READ FIRST guard in the right CLAUDE.md, naming the actual trigger files and vocabulary.Bundled hooks make recovery and prevention hands-free:
StopFailure → detect — when a turn dies on the classifier, a pure-Python hook reads the live transcript, extracts trigger vocabulary, pre-classifies it (project-only vs cross-project), and writes ~/.claude/.fp-state.json. No model generation, so it cannot re-trip.UserPromptSubmit → recover — on your next prompt, if that state file exists, recovery steps (repair the log, classify with edgar-morin, update the right CLAUDE.md) are injected and the state is consumed. Always injects a short neutral generation guideline.SubagentStart → frame — every subagent gets the neutral guideline so spawned prompts do not trip; Explore/Plan also get full CLAUDE.md re-injected (they skip it by default).sed -i '/violate/d'Claude Code .jsonl logs are a linked list — every turn carries a uuid and a parentUuid pointing at the previous turn. Deleting a line with sed orphans the next turn (its parentUuid points at a uuid that no longer exists), which breaks claude --resume. This script re-stitches the chain — rewiring each orphan's parentUuid up to the removed turn's parent — before dropping lines. That is real json-repair / data-recovery for session debugging, not a text filter.
recover-from-false-positive@88plug is listed by 88plug/claude-code-plugins — review the source before installing
npx claudepluginhub 88plug/claude-code-plugins --plugin recover-from-false-positiveBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground