PlaygroundCatalog › Context Bankruptcy
CB

Context Bankruptcy

🔵 Stable🕐 updated 2026-07-26 🔷 SkillSpec L3 pm-2027

Declare bankruptcy on a long-lived AI agent's accumulated memory — audit what it currently believes, separate ground truth from stale and wrong, purge deliberately, restate the truths that survive, and log what was lost. Use when an agent keeps acting on outdated facts, contradicts itself across sessions, 'remembers' things wrong, or after a reorg/pivot makes its worldview obsolete. Produces a belief audit, a keep/correct/purge ledger, a restated ground-truth file, and the bankruptcy record.

▶ Run it free — no key needed 📝 Grade your existing draft View SKILL.md ↗

What to give it

The agent's memory contents, exported or pasted — (memory files, saved context, custom instructions, whatever the platform exposes) — the audit works on what it can see, and says so
The symptoms — what it keeps getting wrong, where it contradicts itself
What changed in reality — (reorg, pivot, new stack, new owner) and when
What the agent is *good* at that must survive — the reason this is bankruptcy, not deletion

✅ The bar it holds itself to

Every skill in this library self-verifies — these are this skill's own quality checks, straight from its definition.

Beliefs are discrete, checkable claims — not pasted memory prose
Every PURGE has a reason; every CORRECT has the actual correction written
At least one feeder was traced — bankruptcy without closing feeders is a
subscription to this skill
Ground-truth claims are dated and the file says where it should live on
the platform (durable slot, not chat)
What-was-lost is recorded — the user can consciously re-teach, rather
than discover absence mid-task

⚠️ What it refuses to do

Do not rage-wipe — full deletion without the audit loses the judgment
that took months to accumulate, which is why this skill exists
Do not keep contradictions to "be safe"; two contradictory beliefs means
the agent picks one at random per session
Do not restate ground truth undated — undated truth is next quarter's

Install

npx pm-claude-skills add --agent claude   # or codex · cursor · gemini · hermes
# or one-line MCP (every skill, any client):
claude mcp add pm-skills -- npx -y pm-claude-skills-mcp

Related skills

🔌 Embed this skill

Drop this on your blog, docs, or site — it renders a "Run this skill" card:

<div data-pm-skill="context-bankruptcy"></div>
<script src="https://mohitagw15856.github.io/pm-claude-skills/embed.js" async></script>

💬 Discussion

Context Bankruptcy is one of 1174 open-source professional AI agent skills — all SkillSpec L3. Try them all in the browser · ⭐ Star on GitHub · Browse the full catalog