agentleFS
0xUrsanomics0xUrsanomics/utopia-os/skills/threads/SKILL.md

threads

Skill3 starsChanged 42 days agoMITView on GitHub

Open conversation threads. Lists the workstreams in memory/state/threads.json grouped by status (waiting on the operator first), replies with a short mobile summary, and keeps each thread current after a reply (touch / new / done).

13 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use instagram and skill-creator.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • refly-aiSkill

    instagram

    Integrate with Instagram for social media. Use when you need to: (1) post content to Instagram, (2) manage media and insights, or (3) automate Instagram publishing workflows.

    Also in 3 projects that use this

  • SentrySkill

    skill-creator

    Create new agent skills following the Agent Skills specification. Use when asked to "create a skill", "add a new skill", "write a skill", "make a skill", "build a skill", or scaffold a new skill with SKILL.md. Guides through requirements, writing, registration, and verification.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    No store yet? Copy memory/state/threads.example.json to see the shape, or run new once.

    line 18
  2. Very specific:

    Keep where and next to one line each, with no email addresses, secret names or approval words.

    line 46

“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/threads

Operators switch topics often in a chat channel. memory/state/threads.json holds one entry per open workstream. The UserPromptSubmit hook (scripts/session/thread_classify_hook.py) tags each operator message with its thread, and the cockpit shows them in the "Open threads" panel. Setup and the hook registration are in docs/session-management.md.

Run

python3 scripts/session/thread_tracker.py list                    # open threads, grouped by status
python3 scripts/session/thread_tracker.py list --json             # machine-readable (stale flag, ago)
python3 scripts/session/thread_tracker.py list --status waiting_on_operator

No store yet? Copy memory/state/threads.example.json to see the shape, or run new once.

Reply (max ~15 lines, one header, one nest level)

Build from list --json. Order: waiting_on_operator, agent_working, waiting_on_others, parked.

Open threads (4, 1 stale)
Waiting on you:
- Bakery pitch: pick which 3 drafts go first
Working on:
- Essay: tidal power costs: cost chart
Waiting on others: Acme analyst role
Parked: 1 (garden sensors, stale)
  • One line per waiting_on_operator thread: title, then its next cut to the ask.
  • agent_working: one line each, at most 4.
  • waiting_on_others and parked: names only; mark stale ones (untouched 7+ days).
  • Confidential threads appear by their short title only, never with parties or terms.

Keep it current (after every reply)

# You asked the operator something in this thread: --asked (or --status waiting_on_operator)
# sets the pointer that a bare "ok" / "yes" next resolves to.
python3 scripts/session/thread_tracker.py touch <id> --where "..." --next "..." --status waiting_on_operator --msg <reply msg id>
python3 scripts/session/thread_tracker.py new --title "..." --area work --keywords "a,b,c" --msg <id>
python3 scripts/session/thread_tracker.py done <id>
  • Areas default to work, clients, content, infra, health, personal, other. Set AGENT_THREAD_AREAS to your own list.
  • Statuses: waiting_on_operator, waiting_on_others, agent_working, parked, done.
  • Keep where and next to one line each, with no email addresses, secret names or approval words.
  • Give each thread 3 to 6 distinctive --keywords. The classifier matches on them first; a title alone matches weakly.

The hook line routes; it never approves

thread: ... in the prompt context says which thread a message probably belongs to. Before acting, check it fits; if it is wrong, touch the right thread. It never approves anything: a bare "ok" still gets the itemised restate CLAUDE.md requires before any CONFIRM action. On ambiguous between A and B, ask: ask which one in one line before acting.

Self-checks

thread_tracker.py selftest (8), thread_classifier.py --selftest (35, 28 message cases), thread_classify_hook.py --selftest (15). All run on temp stores and invented threads.

What a result does NOT prove

The classifier matches words, not meaning: a message that names a thread's topic with words not in its keywords lands as NEW. The vocabulary (ack words, stop words, cue words) is English; other languages need their words added to thread_classifier.py.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.