Skip to content
Back to skills

Lifecycle

ASecurity

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.

  • 94 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 12, 2026
toolsgobash

Works with

  • cli

Security analysis

A100/100

Scanned November 14, 2026

npx -y skills add matthewdonsemail-lab/log --skill lifecycle --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lifecycle?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lifecycle
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/matthewdonsemail-lab-lifecycle/badge)](https://www.skillsdirectory.com/skills/matthewdonsemail-lab-lifecycle)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.