agent-severance
Offboard 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.
git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills /tmp/agent-severance && cp -r /tmp/agent-severance/exports/openclaw/agent-severance ~/.claude/skills/agent-severanceSKILL.md
# Agent Severance Skill
Orgs learned employee offboarding the hard way: the contractor whose VPN worked
for a year after the contract, the shared password nobody rotated. Long-lived
agents recreate every one of those failure modes with worse logging — an agent
accumulates credentials, memory, integrations, scheduled jobs, and undocumented
responsibilities, and then one day it's "turned off" by deleting a chat window
while its API keys live on. This skill runs the severance properly: know what
it had, keep what's valuable, kill what's live, and hand over what it did.
## What This Skill Produces
- An **inventory**: everything the agent could touch (credentials, tools, data
stores, channels), everything it knew (memory, context files, fine-tuning or
instructions), and everything it *did on a schedule*
- An **access-revocation table** with owner and verification step per row —
revoked isn't revoked until someone confirmed the key is dead
- A **memory disposition record**: exported / retained (where, why, how long) /
purged (how verified) — the part compliance will ask about in 2027
- A **successor handover**: the agent's actual duties, including the
undocumented ones users discovered, for whoever inherits them
## Required Inputs
Ask for (if not already provided):
- The agent: platform, what it was for, how long it ran, who owned it
- Known integrations and credentials (then treat the list as incomplete on
principle — the inventory step hunts for the rest)
- Why it's being offboarded (vendor switch, pilot ended, incident, cost) —
incident-driven severance changes the order: revoke first, inventory second
- What must survive: memory worth exporting, workflows someone still needs
## Process
1. **Inventory before touching anything** (unless incident — then revoke
first). Hunt beyond the known list: API keys and OAuth grants · service
accounts · webhook URLs pointing at it · scheduled/cron jobs it ran ·
channels it posted in · data stores it read or wrote · other agents that
called it (the A2A dependencies nobody documented) · what its memory
contains, including personal data.
2. **Decide memory disposition per store, not wholesale.** Export what has
value (decisions log, learned context) to an owned location; name a
retention owner and period for anything kept; purge the rest and record
*how* purged (vendor deletion request ≠ deleted — note what the vendor
actually promises). Personal data follows your privacy policy's deletion
rules, flagged explicitly.
3. **Revoke with verification.** Every row gets: the credential, who revokes
it, and the test that proves it's dead (the call that now fails). Rotate
any *shared* secrets the agent ever held — its copy dying doesn't kill the
copies.
4. **Write the honest handover.** What it was supposed to do, what it actually
did (ask its users — there are always undocumented duties), open threads
mid-flight, and the workflows that will silently break next Tuesday when it
stops.
5. **Announce the death.** One message to the channels it served: it's gone,
here's who/what replaces it, here's where its exported memory lives.
## Output Format
```
## Severance summary
[Agent, tenure, reason, severance owner, target date]
## Inventory
Access: [table — system, grant, discovered-how] · Knowledge: [stores + contents]
Duties: [scheduled + reactive + undocumented] · Dependents: [who/what calls it]
## Memory disposition
| Store | Export → where | Retain (owner, period) | Purge (method, verified how) |
## Revocation
| Credential/grant | Revoked by | Dead-key test | Status |
## Handover to successor
[Duties with enough detail to actually run them · open threads · will-break list]
## Announcement
[The message to its channels]
```
## Quality Checks
- [ ] The inventory includes at least one category the user didn't mention —
scheduled jobs and agent-to-agent callers are the usual blind spots
- [ ] Every revocation row has a verification test, not just an action
- [ ] Shared secrets the agent held are rotated, not just revoked
- [ ] Memory disposition distinguishes vendor-promised deletion from verified
deletion, and flags personal data
- [ ] The handover names what breaks when the agent stops — if the answer is
"nothing", the duties inventory probably isn't done
## Anti-Patterns
- [ ] Do not equate "deleted the chat/app" with offboarded — the checklist
exists because credentials outlive interfaces
- [ ] Do not purge memory before the export decision — severance is
irreversible in exactly one direction
- [ ] Do not skip the users interview; the undocumented duties are the ones
that page someone at 2am after shutdown
- [ ] Do not write this as a vendor grudge document — it's an operational
record compliance and the successor will both read
## Related
[[agent-hiring-panel]] is the front door this is the back door of;
[[context-bankruptcy]] when the agent stays but its memory shouldn't;
[[agent-incident-postmortem]] if an incident triggered this.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.
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.
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.
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.
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.
Plan a trip that actually works with a disability or access need — confirm real accessibility (not just 'accessible' labels), book the assistance in advance, plan for equipment and medication, and build in the contingencies for when access breaks down. Use when someone says 'plan an accessible trip', 'travelling with a wheelchair/disability', 'book assistance for my flight', or 'will this hotel actually work for me'. Produces an access-verified itinerary, an assistance-booking checklist, an equipment/medication plan, and contingency scripts. Verify specifics with providers.
Request a reasonable accommodation at work or in education — frame it around the barrier and the adjustment (not your diagnosis), cite the right process, and navigate the back-and-forth constructively. Use when someone says 'I need a workplace accommodation', 'request reasonable adjustments', 'ADA/Equality Act accommodation', or 'how do I ask for accommodations for my disability/condition'. Produces the request letter, a barriers-and-adjustments map, disclosure guidance, and a plan for the interactive process. Not legal advice — routes to the formal process and to advocacy where needed.
Build a structured account plan for any key customer or target account. Use when asked to create an account plan, key account strategy, strategic account review, or territory plan. Produces a complete account plan with relationship map, growth opportunities, risks, and 90-day action plan.