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
- 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.
- 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.
- 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.
- 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.
- 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
Anti-Patterns
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.
1---2name: agent-severance3description: 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.4---5
6# Agent Severance Skill
7
8Orgs learned employee offboarding the hard way: the contractor whose VPN worked
9for a year after the contract, the shared password nobody rotated. Long-lived
10agents recreate every one of those failure modes with worse logging — an agent
11accumulates credentials, memory, integrations, scheduled jobs, and undocumented
12responsibilities, and then one day it's "turned off" by deleting a chat window
13while its API keys live on. This skill runs the severance properly: know what
14it had, keep what's valuable, kill what's live, and hand over what it did.
15
16## What This Skill Produces
17
18- An **inventory**: everything the agent could touch (credentials, tools, data
19 stores, channels), everything it knew (memory, context files, fine-tuning or
20 instructions), and everything it *did on a schedule*
21- An **access-revocation table** with owner and verification step per row —
22 revoked isn't revoked until someone confirmed the key is dead
23- A **memory disposition record**: exported / retained (where, why, how long) /
24 purged (how verified) — the part compliance will ask about in 2027
25- A **successor handover**: the agent's actual duties, including the
26 undocumented ones users discovered, for whoever inherits them
27
28## Required Inputs
29
30Ask for (if not already provided):
31- The agent: platform, what it was for, how long it ran, who owned it
32- Known integrations and credentials (then treat the list as incomplete on
33 principle — the inventory step hunts for the rest)
34- Why it's being offboarded (vendor switch, pilot ended, incident, cost) —
35 incident-driven severance changes the order: revoke first, inventory second
36- What must survive: memory worth exporting, workflows someone still needs
37
38## Process
39
401. **Inventory before touching anything** (unless incident — then revoke
41 first). Hunt beyond the known list: API keys and OAuth grants · service
42 accounts · webhook URLs pointing at it · scheduled/cron jobs it ran ·
43 channels it posted in · data stores it read or wrote · other agents that
44 called it (the A2A dependencies nobody documented) · what its memory
45 contains, including personal data.
462. **Decide memory disposition per store, not wholesale.** Export what has
47 value (decisions log, learned context) to an owned location; name a
48 retention owner and period for anything kept; purge the rest and record
49 *how* purged (vendor deletion request ≠ deleted — note what the vendor
50 actually promises). Personal data follows your privacy policy's deletion
51 rules, flagged explicitly.
523. **Revoke with verification.** Every row gets: the credential, who revokes
53 it, and the test that proves it's dead (the call that now fails). Rotate
54 any *shared* secrets the agent ever held — its copy dying doesn't kill the
55 copies.
564. **Write the honest handover.** What it was supposed to do, what it actually
57 did (ask its users — there are always undocumented duties), open threads
58 mid-flight, and the workflows that will silently break next Tuesday when it
59 stops.
605. **Announce the death.** One message to the channels it served: it's gone,
61 here's who/what replaces it, here's where its exported memory lives.
62
63## Output Format
64
65```
66## Severance summary
67[Agent, tenure, reason, severance owner, target date]
68
69## Inventory
70Access: [table — system, grant, discovered-how] · Knowledge: [stores + contents]
71Duties: [scheduled + reactive + undocumented] · Dependents: [who/what calls it]
72
73## Memory disposition
74| Store | Export → where | Retain (owner, period) | Purge (method, verified how) |
75
76## Revocation
77| Credential/grant | Revoked by | Dead-key test | Status |
78
79## Handover to successor
80[Duties with enough detail to actually run them · open threads · will-break list]
81
82## Announcement
83[The message to its channels]
84```
85
86## Quality Checks
87
88- [ ] The inventory includes at least one category the user didn't mention —
89 scheduled jobs and agent-to-agent callers are the usual blind spots
90- [ ] Every revocation row has a verification test, not just an action
91- [ ] Shared secrets the agent held are rotated, not just revoked
92- [ ] Memory disposition distinguishes vendor-promised deletion from verified
93 deletion, and flags personal data
94- [ ] The handover names what breaks when the agent stops — if the answer is
95 "nothing", the duties inventory probably isn't done
96
97## Anti-Patterns
98
99- [ ] Do not equate "deleted the chat/app" with offboarded — the checklist
100 exists because credentials outlive interfaces
101- [ ] Do not purge memory before the export decision — severance is
102 irreversible in exactly one direction
103- [ ] Do not skip the users interview; the undocumented duties are the ones
104 that page someone at 2am after shutdown
105- [ ] Do not write this as a vendor grudge document — it's an operational
106 record compliance and the successor will both read
107
108## Related
109
110[[agent-hiring-panel]] is the front door this is the back door of;
111[[context-bankruptcy]] when the agent stays but its memory shouldn't;
112[[agent-incident-postmortem]] if an incident triggered this.