inbox-notify
Skill16 starsChanged 32 days agoMITView on GitHub
Puts an inbox item that needs a person now on that person's phone as a Signal poll whose options are the item's own actions, and executes the vote through the inbox. Config in infra/channels/<slug>.yaml, runs as a declared workload. Trigger: "/inbox-notify", "notify me about approvals", "held answer on my phone", "approve from Signal", "inbox poll", "the approval never reached me".
In this repository47 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/board-pilot/references/agents.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- a2aSkill
- archiveSkill
- board-pilotSkill
- bridge-attachSkill
- bridge-auditSkill
- bridge-contributeSkill
- bridge-curatorSkill
- bridge-explorerSkill
- bridge-greetingSkill
- bridge-leak-checkSkill
- bridge-learnSkill
- bridge-onboardSkill
- bridge-overlaySkill
- bridge-promoteSkill
- bridge-statusSkill
- bridge-syncSkill
- briefingSkill
- browserSkill
- calendarSkill
- capability-brokerSkill
- channelSkill
- cmuxSkill
- cockpitSkill
- dashboardSkill
- debriefSkill
- doc-systemSkill
- github-projects-managerSkill
- html-canvasSkill
- html-slidesSkill
- knowledge-repo-initSkill
- mail-draftSkill
- mandantsSkill
- meeting-transcriptionSkill
- object-storeSkill
- onboard-simSkill
- remoteSkill
- scheduleSkill
- secretsSkill
- spec-kickoffSkill
- task-close-postmortemSkill
- tmuxSkill
- tracker-syncSkill
- workloadSkill
- workspaceSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
Read the referenced file ONLY when the branch below sends you there.
- Distinctive: line 61
One voter: Only a vote from the recipient the poll was sent to counts (its uuid is in the note).
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Inbox notify
The inbox holds what needs a person (docs/inbox.md). Nothing in
it rings. A held answer of a Bridge-Agent, filed by scripts/inbox-approve.py with
urgency now and the actions approve and reject, waited unseen until it expired.
This skill is the generic notifier: one text and one poll per item, the poll's options
are the item's actions, the vote runs that verb, the result lands on the item.
The engine is skills/inbox-notify/scripts/inbox_notify.py. Nothing instance specific
lives in it: the channel comes from infra/channels/<slug>.yaml, the slug from
inbox.notify_via in bridge-config.yaml, the cadence from the workload declaration.
Read the referenced file ONLY when the branch below sends you there.
Commands
python3 skills/inbox-notify/scripts/inbox_notify.py [--channel SLUG] tick [--dry-run] [--all]
python3 skills/inbox-notify/scripts/inbox_notify.py [--channel SLUG] test
python3 skills/inbox-notify/scripts/inbox_notify.py [--channel SLUG] show| Command | Does |
tick | announce every open item that needs a person now and has no poll yet; read the channel; run each vote (approve, reject, drop, close, defer); terminate the poll of an item decided elsewhere. The workload runs this every two minutes |
tick --dry-run | print the texts and polls a tick would send; send nothing, read nothing, note nothing |
tick --all | announce already announced items again (a new poll), after a lost phone or a changed recipient |
test | one test text and one two-option test poll to the recipient, to prove the channel before the workload exists |
show | the resolved configuration, handles included (they are handles, not secrets) |
Exit 0 after a tick, 2 on a config or usage problem before anything was sent, 1 when
the transport failed.
Three invariants
- One announcement per item. The poll's timestamp goes onto the item as a note
(
notify poll <ts> <uuid> via <slug> options approve,reject). That note is the only state: it keeps a second tick from announcing again and maps a vote back to its item. An item decided through the poll is notednotify decided <verb> via <slug>; one decided elsewhere has its poll terminated and is notednotify closed-elsewhere. - One reader per account.
signal-cli receiveconsumes. Nothing else may run it on this account, or it swallows the votes. The tick holds a lock and the workload runssingle_flight: true; a tick that finds the lock exits0and says so. - One voter. Only a vote from the recipient the poll was sent to counts (its uuid is in the note). Anyone else's vote, a vote on an unknown poll, a withdrawn vote and a vote on an item already decided do nothing but log a line.
Decision tree
What does the user want?
├── "Tell me on my phone when an answer waits" → references/setup.md (channel file, test, workload)
├── "The approval never reached me" → `tick --dry-run` shows what is due; `show` the config;
│ is the workload running? (`/workload reconcile`);
│ does anything else run `receive` on the account?
├── Other wording, other language on the phone → notify.labels and notify.texts in the channel file
├── Ring for more than held answers → notify.urgencies / notify.sources in the channel file
├── A second transport (Telegram, Matrix, …) → one class next to SignalCli in the engine; the
│ contract is send_text, send_poll, terminate_poll, receive
└── What the phone shows and why → this file § Three invariants; docs/inbox.md § actionsFiles
| File | Holds |
scripts/inbox_notify.py | the engine: selection, texts, the signal-cli transport, vote execution |
assets/channel.yaml | the channel file to copy to infra/channels/<slug>.yaml |
assets/workload.yaml | the declaration to copy to workflow/workloads/inbox-notify.yaml |
references/setup.md | setting it up on one machine, step by step, and the trap list |
tests/test_inbox_notify.py | hermetic tests with a fake signal-cli, bash skills/inbox-notify/run-tests.sh |
Related
docs/inbox.md§ What a person can do:actionsandexpires_at, which this skill rendersscripts/inbox-approve.py: files the held answers this skill most often announces; note that it mapscloseto rejectskills/workload/SKILL.md: provisions the tick as a declared runskills/channel/SKILL.md: inventory and health of the channel file
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

