/pm-2027:context-bankruptcyfrom pm-2027
Audits and purges stale or incorrect beliefs from a long-lived AI agent's memory, producing a belief audit, keep/correct/purge ledger, restated ground-truth file, and bankruptcy record. Use when an agent acts on outdated facts or contradicts itself.
Ships in pm-2027. 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.
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.
Ask for (if not already provided):
Given what the user says is wrong and what is worth keeping, do the clean-up anyway: the facts to delete or correct, the preferences to keep word for word, the fresh memory written out in full, and a short routine to stop it going stale again.
## Belief audit — [agent], [date]
| # | Belief (as a claim) | Type | Age | Source | Inferred? |
## The ledger
| # | Verdict (KEEP / CORRECT→fix / PURGE) | Reason |
## Ground truth v[N] (reload this)
[Dated claims · preferences verbatim · procedures · expiry hints]
## Bankruptcy record
[Purged: what & why · Feeders closed: … · Guards added: … · Next audit: date]
[[session-handoff]] compresses a session; this resets a worldview. [[context-budget]] for the token-layout side; [[agent-severance]] when the answer is offboarding, not bankruptcy.
Run this skill in your browser: https://mohitagw15856.github.io/pm-claude-skills/skill/context-bankruptcy.html
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mohitagw15856/pm-claude-skills --plugin pm-202710 skills in this plugin
/agent-hiring-panelHire an AI agent the way you'd hire an employee — a role spec with success criteria, a structured work-sample interview run on your real tasks, reference checks (what do actual users report), probation KPIs, and termination criteria written before day one. Use when choosing between AI agents/tools/copilots for a job, formalizing an AI pilot, or 'which agent should we use for X'. Produces the role spec, interview pack with scoring rubric, a decision record, and a probation plan./agent-severanceOffboard an AI agent the way you'd offboard an employee — inventory what it knew and touched, export then purge its memory, revoke every credential and access grant, and write the handover for its successor (human or agent). Use when decommissioning an agent or bot, switching agent vendors, ending an AI pilot, or when someone asks 'what did this thing have access to?'. Produces a severance checklist, an access-revocation table, a memory disposition record, and a successor handover./ai-disclosure-policyDecide when and how your product and communications must (or should) label AI-generated content, and write the disclosure policy — surface-by-surface rules, exact label wording, and the review trigger for regulations like the EU AI Act's transparency obligations. Use when asked 'do we have to label AI content', 'write our AI disclosure policy', 'are we covered for the AI Act', or when marketing/support/product start shipping AI-generated output. Produces a disclosure policy with a per-surface matrix and ready-to-use label copy. Not legal advice./api-for-yourselfPublish 'how to work with me' as a literal API spec — endpoints (what to ask me for and what you'll get back), rate limits (meeting and interrupt tolerance), error codes (what happens when you surprise me Friday 5pm), auth (how to earn trust), and a changelog. Use when onboarding to a new team, when a new manager or report arrives, for a team working-styles session, or 'write my README/user manual'. Produces a personal API spec that's genuinely funny and secretly the best onboarding doc on the team./clone-briefSend your position to a meeting instead of your body — a one-page brief carrying your stances, fallbacks, red lines, tradables, and delegation limits, readable by the colleague (or agent) representing you. Use when you can't attend a decision-making meeting, when double-booked, when briefing someone to negotiate for you, or 'what would you need from me to represent me?'. Produces the clone brief plus a 60-second verbal version for the person carrying it./deepfake-drillRun a tabletop drill of a voice-clone or deepfake fraud attempt — the 'CEO needs this wire today' call — against your actual approval process, before a real attacker does, then debrief the tells and fix the process gap. Use when someone asks to train the team on deepfake fraud, test wire-transfer controls, run a social-engineering tabletop, or 'could we get CEO-frauded?'. Produces a drill scenario pack, a facilitator script, a tells checklist, and the process fixes the drill exposed. Defensive training only.Other plugins' skills for the same job