本文へ移動
cccskills
無料GitHub で公開

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.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md5.7 KB

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 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

Process

  1. Extract beliefs, not text. Convert the memory dump into discrete claims: "believes the platform team owns billing" · "believes user prefers terse answers" · "believes deploys happen Fridays". Tag each: fact / preference / procedure / relationship, with best-guess age. Unstated-but-acted-on beliefs (visible in the symptoms) go in too, marked inferred.
  2. Sort against current reality. With the user, mark each claim KEEP (true, valuable) · CORRECT (right shape, wrong details — write the fix) · PURGE (wrong, expired, or toxic — including preferences the user no longer holds). Rule for ties: a belief that can silently misdirect output is PURGE-by-default; a belief that's merely unused can stay.
  3. Find the feeders. For each purged belief worth the trouble: where did it come from, and does that source still exist (an old doc it can read, a stale instruction file, a pinned message)? Purging the belief but not the feeder schedules the relapse.
  4. Restate ground truth to age well. Write the reload file with dated claims ("as of Jul 2026, billing is owned by…"), explicit preferences in the user's own words, and expiry hints ("re-verify org facts quarterly"). Load order matters on most platforms: ground truth in the durable slot (instructions/memory), not a chat message that scrolls away.
  5. Record the bankruptcy. What was purged, why, date, and the guards added. Schedule the next audit — sediment accumulates at a knowable rate; quarterly is the sane default for daily-driver agents.

Output Format

## 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]

Quality Checks

  • 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

Anti-Patterns

  • 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 sediment
  • Do not treat vendor "memory deleted" claims as verified for sensitive content — note what the platform actually promises (see [[agent-severance]] for full offboarding)

Related

[[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.

Example Trigger Phrases

  • "My agent keeps acting on outdated beliefs."
  • "Purge my assistant's stale memory."
  • "Audit what my agent currently believes."
  • "Reset the agent's memory after our pivot."

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Design a 360-degree feedback survey or write a structured 360 feedback report. Use when asked to build a 360 feedback process, write 360 feedback for a colleague, design a feedback survey, or produce a feedback report. Produces either a complete survey instrument with rating scales and open-ended questions, or a structured narrative feedback report with themes, strengths, and development areas.

日本語の概要は準備中です。原文の説明を表示しています。

mohitagw15856/pm-claude-skills1,4412026年10月13日 更新

Decode a 401k or workplace retirement plan — the real cost of its funds, the match's fine print, vesting math, and the plan features worth using or avoiding. Use when someone asks 'is my 401k any good', 'decode my 401k plan', 'which funds should I look at', or 'what fees am I paying'. Produces a fee decode in dollars-over-time, match and vesting math, a fund-lineup triage by cost, and the questions for HR or the plan administrator.

日本語の概要は準備中です。原文の説明を表示しています。

mohitagw15856/pm-claude-skills1,4412026年10月13日 更新

Design statistically rigorous A/B tests for product features, UI changes, onboarding flows, and pricing experiments. Use when asked to set up an experiment, design an A/B test, calculate sample size, or interpret test results. Produces a complete test plan with hypothesis, variant definitions, sample size, duration estimate, guardrail metrics, and a results interpretation guide.

日本語の概要は準備中です。原文の説明を表示しています。

mohitagw15856/pm-claude-skills1,4412026年10月13日 更新

Analyse a finished A/B test and write the readout — the result, whether it's statistically and practically significant, what it means, and the ship/no-ship call. Use when asked to analyse experiment results, write an A/B test readout, interpret test data, or decide whether to ship a variant. Produces a clear verdict with the lift and confidence, segment cuts, the risks (peeking, novelty, sample), and a recommendation. Distinct from planning a test — this reads results.

日本語の概要は準備中です。原文の説明を表示しています。

mohitagw15856/pm-claude-skills1,4412026年10月13日 更新

Build or tailor an academic CV for faculty, postdoc, research or fellowship applications: publications, grants, teaching, supervision and service in the order the field expects, with consistent citations. Use when asked to write my academic CV, update my CV for a lectureship, tenure-track or postdoc application, format my publications list, or adapt my academic CV for an industry research role. Produces the full academic CV, a field-appropriate section order, a clean publications list in one citation style, and a two-page summary version when asked.

日本語の概要は準備中です。原文の説明を表示しています。

mohitagw15856/pm-claude-skills1,4412026年10月13日 更新

Generate a WCAG 2.2 accessibility audit checklist and remediation suggestions for any UI or design. Use when asked to audit for accessibility, check WCAG compliance, review a design for a11y issues, or create an accessibility remediation plan. Produces a prioritised checklist with pass/fail assessments and specific fixes.

日本語の概要は準備中です。原文の説明を表示しています。

mohitagw15856/pm-claude-skills1,4412026年10月13日 更新

mohitagw15856 のスキルをすべて見る

このスキルの問題を報告する