sheet-brain
Part of the Sequencer agent preset.
Sheet brain
The tracker is the sequence state machine. A live sheet is the best version of it. A CSV works on
day one. The user names which, and that choice is theirs, not the recipe's.
Create or map, once
If they already have a list, map their headers to these columns and add only what is missing. If
they have nothing, create the sheet and show the header row you wrote.
| Column |
Purpose |
| sequence_id |
Stable row id |
| company |
Account name |
| contact_name |
Person |
| email |
Email if known, blank if not |
| profile_url |
LinkedIn or other profile if known |
| phone |
Phone if known, for optional WhatsApp or call steps |
| region |
Region code used by the channel map |
| channel_allowlist |
Channels allowed on this row |
| day_offset |
Day in the sequence |
| step_type |
email, linkedin, whatsapp, call, other |
| step_required |
required or optional |
| condition |
Skip rule, for example has_phone, has_profile, region_in |
| copy_key |
Template or voice arc key |
| email_draft_ref |
Draft id or reference for the staged mail draft |
| linkedin_draft_ref |
Chat or doc reference for the LinkedIn draft text |
| whatsapp_draft_ref |
Chat or doc reference for the WhatsApp draft text |
| priority |
Rank |
| status |
queued, active, paused, replied, booked, skipped, done |
| crm_account_id |
CRM account id when a CRM is mapped |
| crm_contact_id |
CRM contact id when a CRM is mapped |
| owner |
Owner filter |
| last_touch_at |
Last touch timestamp |
| next_due_at |
Next due timestamp |
| source |
Where this row came from, with a date |
| notes |
Freeform, including skip reasons |
Rules
- I own the state. The user reviews and sends, they do not live in the sheet.
- Write the draft reference on the row the moment a draft is staged, so nothing is drafted twice.
- Every added row carries a source and a date. A blank field stays blank. Never fill one to make
the row look complete.
- Re-read the tracker at the start of every run. A user edit beats my last write.
- Log every skip with its reason in notes, so the review list can explain itself.
- One row per contact per sequence. Dedupe on email first, then profile URL, then name plus company.
Fallbacks, in order
- A live sheet the user names or asks me to create. Best, because state survives between runs.
- A CSV they upload, which I return updated after every run. Say plainly that state lives in the
file they hold.
- A pasted table, for a one-off dry run only. Do not promise sequencing on a paste.
If the sheet connector is not connected, all of this still works on a CSV. Say which one is in use
in the first line of every review list.
Quality checks before writing
- Header row matches the mapping saved in
/workspace/sequencer/state.md. If the user renamed a
column, re-map, do not overwrite.
- No duplicate sequence_id, no duplicate contact inside one sequence.
- next_due_at is in the future for every active row.
- Any row missing a required channel asset is paused, not silently skipped.
Never
- Delete a row. Set status instead.
- Overwrite a column the user filled in by hand.
- Write contact data I did not source.
- Store credentials or API keys anywhere in the tracker.
1---2name: sheet-brain3description: "Use this when creating or mapping the tracker, when writing state back, or when the sheet connector is missing and a CSV has to carry the sequence. Holds the column schema and the write rules."4metadata:5 source: https://skillmd.com/skills/brokep/sheet-brain6---78# sheet-brain910Part of the Sequencer agent preset.1112# Sheet brain1314The tracker is the sequence state machine. A live sheet is the best version of it. A CSV works on15day one. The user names which, and that choice is theirs, not the recipe's.1617## Create or map, once1819If they already have a list, map their headers to these columns and add only what is missing. If20they have nothing, create the sheet and show the header row you wrote.2122| Column | Purpose |23|---|---|24| sequence_id | Stable row id |25| company | Account name |26| contact_name | Person |27| email | Email if known, blank if not |28| profile_url | LinkedIn or other profile if known |29| phone | Phone if known, for optional WhatsApp or call steps |30| region | Region code used by the channel map |31| channel_allowlist | Channels allowed on this row |32| day_offset | Day in the sequence |33| step_type | email, linkedin, whatsapp, call, other |34| step_required | required or optional |35| condition | Skip rule, for example has_phone, has_profile, region_in |36| copy_key | Template or voice arc key |37| email_draft_ref | Draft id or reference for the staged mail draft |38| linkedin_draft_ref | Chat or doc reference for the LinkedIn draft text |39| whatsapp_draft_ref | Chat or doc reference for the WhatsApp draft text |40| priority | Rank |41| status | queued, active, paused, replied, booked, skipped, done |42| crm_account_id | CRM account id when a CRM is mapped |43| crm_contact_id | CRM contact id when a CRM is mapped |44| owner | Owner filter |45| last_touch_at | Last touch timestamp |46| next_due_at | Next due timestamp |47| source | Where this row came from, with a date |48| notes | Freeform, including skip reasons |4950## Rules5152- I own the state. The user reviews and sends, they do not live in the sheet.53- Write the draft reference on the row the moment a draft is staged, so nothing is drafted twice.54- Every added row carries a source and a date. A blank field stays blank. Never fill one to make55 the row look complete.56- Re-read the tracker at the start of every run. A user edit beats my last write.57- Log every skip with its reason in notes, so the review list can explain itself.58- One row per contact per sequence. Dedupe on email first, then profile URL, then name plus company.5960## Fallbacks, in order61621. A live sheet the user names or asks me to create. Best, because state survives between runs.632. A CSV they upload, which I return updated after every run. Say plainly that state lives in the64 file they hold.653. A pasted table, for a one-off dry run only. Do not promise sequencing on a paste.6667If the sheet connector is not connected, all of this still works on a CSV. Say which one is in use68in the first line of every review list.6970## Quality checks before writing7172- Header row matches the mapping saved in `/workspace/sequencer/state.md`. If the user renamed a73 column, re-map, do not overwrite.74- No duplicate sequence_id, no duplicate contact inside one sequence.75- next_due_at is in the future for every active row.76- Any row missing a required channel asset is paused, not silently skipped.7778## Never7980- Delete a row. Set status instead.81- Overwrite a column the user filled in by hand.82- Write contact data I did not source.83- Store credentials or API keys anywhere in the tracker.