The account lifecycle (rule 35): one XState machine per Facebook account from import to its host, the browser opened once per local day and kept open, onboarding (proxy, sign-in, checks, profile, name, location, a day of warm-up) and host (watching, acting, overnight). Use when the owner asks where an account is, what it has left, what happens on a checkpoint or restriction, or to change the lifecycle.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Lifecycle?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/matthewdonsemail-lab-lifecycle)
---
name: lifecycle
description: 'The account lifecycle (rule 35): one XState machine per Facebook account from import to its host, the browser opened once per local day and kept open, onboarding (proxy, sign-in, checks, profile, name, location, a day of warm-up) and host (watching, acting, overnight). Use when the owner asks where an account is, what it has left, what happens on a checkpoint or restriction, or to change the lifecycle.'
---
# lifecycle
## Hard boundaries
1. **The browser stays open.** One open per account per local day (plus one
crash reopen); every action is a step or a tab inside it; every close has a
logged reason (top of AGENTS.md, rule 35). Never add a command that opens a
browser of its own.
2. **The machine is the spec.** Change the lifecycle in
`src/platformKit/lifecycle/machine.ts` and its tests, then regenerate the
doc: `log facebook lifecycle states --write`. Never hand-edit the generated tree.
3. **Final is final.** Restricted, banned, lost and deactivated: the record stays in Twenty;
nothing resumes them. A `/checkpoint` page is never pressed through: the
checkpoint watch sets the account DEACTIVATED and the machine closes the browser for
`checkpoint` and ends in `deactivated`. Only a video selfie or ID waits in
`needsPerson`.
4. **Live only with the owner's go.** Warm-up likes, publish and replies need
`liveActions` (rule 8).
## The routine
```bash
log facebook lifecycle # where every account is, and what it has left
log facebook lifecycle --account <name> # one, with its standing
log facebook lifecycle states # the state tree from the machine itself
```
A field the lifecycle reads is added through `scripts/twenty/twentySetup.mjs` and the
client regenerated. A fact it reads from a past run (a rename, a
location) is backfilled only from that run's recording (rule 25), never guessed.
Full description: `docs/lifecycle.md`. Requirements: `docs/specs/accountLifecycle.md`.