agentleFS
nathanadaynathanaday/atlas-obsidian/skills/thread-work/SKILL.md

thread-work

Skill0 starsChanged 2 months agoMITView on GitHub

Take a thread from where it stands to its next gate and on: load it by id or find it by the request, then run the thread skill its next step names, in a loop. This is what a hand-off line asks for. Use for Resume Atlas thread, resume work on, continue, pick up where we left off, work on X, do this, fix this, implement, build. Planting an idea for later with no work now is thread-stub; a goal that needs several threads is chord-create.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every edit in a linked repository belongs to a started thread with an open task for that repository.

    line 8
  2. Very specific:

    Write ## Description in this session's document with Edit: the thread, and what this session will do.

    line 26
  3. Very specific:

    Stop at a gate, or when the user's turn is needed.

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

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

thread-work

Every edit in a linked repository belongs to a started thread with an open task for that repository; the guard refuses the edit otherwise. This skill finds the thread, or plants it, and then follows what thread load says comes next. Code derives the next step from the documents, so every session takes the same path: spec, tasks, run, verify, close.

Tools: search, context, thread (load, list, stub). References: threads.md.

Procedure

  1. Find the thread.
    • The request gives an id (Resume Atlas thread doc-…) or a title → thread load.
    • The request names work → search with types: [stub] and the request's words, and repository when it names one. One match that is not ended → say it in one line, and load it. Several → ask which, or whether this is new work. None → thread-stub, with the request in the user's words, then load the new thread.
  2. Write ## Description in this session's document with Edit: the thread, and what this session will do.
  3. Say where the thread stands in two lines: its status, what missing lists, and next.
  4. Loop on next.step (from thread load, or from state after any write):

    StepDo
    specthread-spec. Gate: the user agrees with the spec.
    tasksthread-tasks.
    start, runthread-run.
    verify, findingsthread-verify. Gate: a finding that changes the spec, or that the user accepts.
    closethread-close. Gate: the wiki change.
    waitSay what it waits on (a block, or a thread before it), and stop. Offer to work on the thread it waits for.
    noneThe thread is closed, dropped, or resolved. Say so, and stop.
  5. Stop at a gate, or when the user's turn is needed. Before you stop, add a dated line to ## Progress in your session document: where the work stands.

Small work takes the same path, with short documents: a spec of one requirement, one task, one verification. Write the spec and the task list in one pass, show both, and take one yes for both. Do not skip a document, and do not put one document's content into another.

Work that turns out to need several threads, in several repositories or over many sessions, is a chord: chord-create.

Gates

Three: the spec; a finding that changes the spec or that the user accepts; the wiki change that closes the thread. A run with no user present (a test, or a request that says so) takes the recommended default at the first two and says so. It stops at the third: only the user closes a thread.

Hand off

The thread skills, in the order next names.

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.