Skip to content
Skills Library
AI & agents · Tool integration

thrum

/thrum

Multi-agent coordination via messaging, groups, and shared context. Use when agents need to communicate, delegate work, or coordinate across worktrees and sessions.

Repository
thrum ↗
Licence
MIT
Last repository change
23.06.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 23.06.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Multi-agent coordination via messaging, groups, and shared context. Use when agents need to communicate, delegate work, or coordinate across worktrees and sessions.

Original author description

Multi-agent coordination via messaging, groups, and shared context. Use when agents need to communicate, delegate work, or coordinate across worktrees and sessions.

How it works

  1. Quick Command Reference
  2. Addressing Protocol
  3. Notification Delivery
  4. Background Listener Pattern
  5. References
Original SKILL.md headings · 125 lines, 636 words
SKILL.md preview
---
name: thrum
description: >
  Multi-agent coordination via messaging, groups, and shared context. Use when
  agents need to communicate, delegate work, or coordinate across worktrees and
  sessions.
---

# Thrum - Git-Backed Agent Messaging

Run `thrum prime` for full session context.

## Quick Command Reference

### Messaging

```bash
thrum send "msg" --to @name              Direct message
thrum send "msg" --to @everyone          Broadcast to all agents
thrum reply <msg-id> "response"          Reply (same audience)
thrum inbox                              List messages (auto-marks displayed as read)
thrum inbox --unread                     Unread only (does not mark as read)
thrum sent                               List messages you sent
thrum message read --all                 Mark all messages as read
thrum wait                               Block until message arrives (30s timeout)
thrum wait --timeout 120s                Custom timeout (duration)
```

### Agents

```bash
thrum quickstart --name <name> --role R --module M --intent "..."   Register + start session
thrum whoami                                          Show identity
thrum team                                            List active agents
thrum ping @name                                      Check if agent online
thrum who-has <file>                                  Who's editing a file
```

### Groups

```bash
thrum group create <name>                Create group
thrum group add <name> @agent            Add agent to group
thrum group list                         List groups
thrum send "msg" --to @group-name        Message a group
```

### Sessions & Context

```bash
thrum session start                      Start session
thrum session end                        End session
thrum session set-intent "..."           Update work description
thrum context show                       Show saved work context
thrum overview                           Combined status + team + inbox
```

### Daemon & Sync

```bash
thrum daemon start                       Start daemon
thrum daemon stop                        Stop daemon
thrum daemon status                      Daemon health
thrum sync force                         Force immediate sync
thrum sync status                        Sync state
```

### Utility

```bash
thrum init                               Initialize thrum in repo
thrum prime                              Full session context
thrum <cmd> --help                       Detailed command usage
```

## Addressing Protocol

| Target               | Routing                                     | When to use                          |
| -------------------- | ------------------------------------------- | ------------------------------------ |
| `--to @agent_name`   | **Direct** — routes to the named agent      | Default for all task messages        |
| `--to @coordinator`  | **Role fanout** — ALL agents with that role | Only when you want every coordinator |
| `--to @backend-team` | **Group** — all members of the named group  | Team-wide announcements              |
| `--to @everyone`     | **Broadcast** — all registered agents       | Critical alerts                      |

**Critical:** `@coordinator` is a role, not an agent name. Use `thrum team` to
find agent names, then send `--to @<name>` for direct messages.

## Notification Delivery

Agents get message nudges via three converging paths on supported runtimes — you
don't need to run a background listener. All three paths lead you back to the
same action: run `thrum inbox --unread` when you see a nudge.

1. **Tmux nudge** — if you're running in a tmux-managed session (e.g.,
   `thrum tmux start`), the daemon types a notification directly into your pane.
2. **Hook injection** — `thrum init` installs runtime lifecycle hooks that read
   a per-agent spool directory and surface the nudge as injected context when
   the runtime fires events on tool completion, user prompts, turn end, or
   before a context-summarize.
3. **Scheduled backstop** — a periodic scheduled task runs
   `thrum inbox --unread` directly while the runtime is idle, catching anything
   the hooks missed.

All three paths emit the same nudge text:

> New message from @sender -- run `thrum inbox --unread` to read

Always act by running `thrum inbox --unread`. The previous `thrum wait` listener
pattern (see `references/LISTENER_PATTERN.md`) is deprecated for newly
initialized agents — it still works but burns context tokens for the entire
session.

## Background Listener Pattern

Launch a background listener to monitor for messages:

1. Spawn a lightweight background process that calls `thrum wait --timeout 8m`
2. When a message arrives, the listener returns immediately
3. Process the message, then re-arm the listener

See [LISTENER_PATTERN.md](references/LISTENER_PATTERN.md) for setup details.

## References

| Reference                                             | Content                            |
| ----------------------------------------------------- | ---------------------------------- |
| [MESSAGING.md](references/MESSAGING.md)               | Protocol, addressing, context mgmt |
| [LISTENER_PATTERN.md](references/LISTENER_PATTERN.md) | Background listener setup          |
| [CLI_REFERENCE.md](references/CLI_REFERENCE.md)       | Complete command syntax reference  |

Run `thrum <command> --help` for any command's full usage.
Files in this package (4)
  • SKILL.md 5 KB
  • references/CLI_REFERENCE.md 8 KB
  • references/LISTENER_PATTERN.md 3 KB
  • references/MESSAGING.md 3 KB

Versions

RepositoryScoreLicence
This page · leonletto/thrum100MIT
leonletto/thrum100MIT

Database snapshot: 13.11.2026 · package version 9d1a10731fdb (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100thrum-restart
    Save a conversation snapshot and prepare for session restart. Use when you need a fresh session due to context exhaustion, rate limits, or stuck state. # source: claude-plugin/commands/restart.md # generated-by: scripts/sync-skills.sh
  • 95intercom
    Streamline session-to-session coordination with the intercom extension. Send messages, delegate tasks, and coordinate work across multiple atomic sessions on the same machine. Use for planner-worker workflows, cross-session context sharing, and real-time collaboration between sessions.
  • 100thrum-sleep
    Park this agent for operator-initiated wake. Saves a standard 11-section snapshot (does NOT signal coordinator) then thrum-tmux-kills own session. Use when the operator is shutting down (e.g. computer restart) and the agent should resume from snapshot on next boot. # source:…
  • 100parallel-agent-worktrees
    Run several coding agents against one repository without cross-contamination. Use when dispatching agents into git worktrees, writing a worktree agent's brief, auditing a repo after parallel agents built in it, or writing a tool that counts "real callers" while worktrees exist.…
  • 100agent-handoff
    Coordinate long-running or multi-agent work through a shared Continua Project Room: a write-ahead plan and progress log, deterministic task keys, snapshot reads by immutable file ID, and conflict checks before writes. Use when work spans several sessions, machines, subagents, or…
  • 95agent-relay
    Use when you need Codex to coordinate multiple agents through Agent Relay for peer-to-peer messaging, lead/worker handoffs, or shared status tracking across sub-agents and terminals.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.