Context Bankruptcy
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.
Install
/plugin marketplace add mohitagw15856/pm-claude-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add mohitagw15856/pm-claude-skills --skill context-bankruptcygit clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills.git /tmp/pm-claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/pm-claude-skills/plugins/pm-2027/skills/context-bankruptcy ~/.claude/skills/context-bankruptcyPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Context Bankruptcy Skill Every long-lived agent slowly fills with sediment: the org chart from two reorgs ago, the project that got cancelled but still shapes its suggestions, the preference you expressed once, sarcastically, in March. Deleting everything loses the genuinely valuable judgment it accumulated; deleting nothing means arguing with a colleague who lives in the past. Bankruptcy is the middle path with discipline: audit the beliefs, keep what's true, correct what drifted, purge what's wrong or expired — and write down what was lost, because silent memory loss is how the same wrong belief gets re-learned from the same stale sources next month. ## What This Skill Produces - A **belief audit**: what the agent currently holds, organized into facts / preferences / procedures / relationships, each dated and sourced where possible - A **keep / correct / purge ledger** with a reason per entry — the artifact that makes the bankruptcy deliberate instead of a rage-wipe - A **restated ground-truth file**: the clean, current worldview to reload, written to survive the next drift longer (dated claims, expiry hints) - A **bankruptcy record**: what was purged and why, plus the re-learn guards — which stale sources fed the bad beliefs and how to stop them refeeding ## Required Inputs Ask for (if not already provided): - The agent's memory contents, exported or pasted (memory files, saved context, custom instructions, whatever the platform exposes) — the audit
Details
- Skill name
context-bankruptcy- Repository
- mohitagw15856/pm-claude-skills
- Path
plugins/pm-2027/skills/context-bankruptcy/SKILL.md- License
- MIT
- Repo updated
- 18 November 2026
- Listed in
- BehiSecc/awesome-claude-skills
FAQ
What does the Context Bankruptcy skill do?
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.
How do I install the Context Bankruptcy skill?
Claude Code plugin: /plugin marketplace add mohitagw15856/pm-claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Context Bankruptcy popular?
It lives in mohitagw15856/pm-claude-skills, which has 1,573 GitHub stars and 281 forks, and is included in 1 curated skill list.
Related skills
Ab Test Planner
1.6kmohitagw15856/pm-claude-skills
Diseña pruebas A/B estadísticamente rigurosas para características de producto, cambios de UI, flujos de onboarding y experimentos de precios. Úsalo cuando te pidan configurar un experimento, diseñar una prueba A/B, calcular tamaño de muestra o interpretar resultados de pruebas. Produce un plan de prueba completo con hipótesis, definición de variantes, tamaño de muestra, estimación de duración, métricas de seguridad y una guía de interpretación de resultados.
Ab Test Planner
1.6kmohitagw15856/pm-claude-skills
प्रोडक्ट फ़ीचर, UI बदलाव, ऑनबोर्डिंग फ़्लो और प्राइसिंग प्रयोगों के लिए सांख्यिकीय रूप से कठोर A/B टेस्ट डिज़ाइन करें। जब कोई प्रयोग सेट करने, A/B टेस्ट डिज़ाइन करने, सैंपल साइज़ निकालने या टेस्ट के नतीजे समझाने को कहे, तब इसका उपयोग करें। परिकल्पना, वेरिएंट की परिभाषा, सैंपल साइज़, अवधि का अनुमान, गार्डरेल मेट्रिक और नतीजों की व्याख्या की गाइड के साथ एक पूरा टेस्ट प्लान तैयार करता है।
Accessible Travel Planner
1.6kmohitagw15856/pm-claude-skills
Summarise what Accessible Travel Planner does in one line. Use when asked to [trigger phrases the user would say]. Produces [the concrete artifact].
Context Engineering Review
1.6kmohitagw15856/pm-claude-skills
Review what an LLM feature or agent actually puts in its context window — and find what's bloating, missing, or fighting itself. Use when asked to review a system prompt and context assembly, cut token usage without losing quality, debug an agent that ignores instructions, or audit how retrieval results, history, and tool definitions are packed into the window. Produces a context inventory with a keep/cut/restructure verdict per component, ordering and caching fixes, and a token budget. For wording-level prompt tuning use prompt-optimizer.
Computer Use Runbook
1.6kmohitagw15856/pm-claude-skills
Write the step-by-step runbook a computer-use or browser agent follows to finish a real online task, such as cancelling a subscription or changing an energy supplier: what to look for on screen, one action per step, how to know it worked, and where to stop for a human. Use when asked to write instructions for a browser agent, make my agent cancel or change something online, or check whether a task is safe to hand to an agent. Produces the runbook, the stop points and the final verification.
Crossborder Platform Playbook
1.6kmohitagw15856/pm-claude-skills
Use when asked Temu 全托管还是半托管, TikTok Shop 怎么入驻, 亚马逊和 Temu 选哪个, 跨境电商平台怎么选, 产品出海要哪些认证, or choose and launch on cross-border marketplaces (Temu, TikTok Shop, Amazon, SHEIN, AliExpress). Produces a platform fit matrix for the seller's product and capacity, the operating model of each shortlisted platform (fully managed, semi-managed or self-operated), the compliance checklist by target market, a 90-day launch plan, and the questions to ask each platform's account manager. For the product listing copy itself, use cross-border-listing.
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.