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.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- atlas-onboardSkill
- atlasSkill
- chord-closeSkill
- chord-createSkill
- chord-workSkill
- repo-ingestSkill
- repo-linkSkill
- repo-unlinkSkill
- thread-closeSkill
- thread-runSkill
- thread-specSkill
- thread-stubSkill
- thread-tasksSkill
- thread-verifySkill
- wiki-editSkill
- wiki-ingestSkill
- wiki-mapSkill
- wiki-querySkill
- wiki-reviewSkill
- wiki-saveSkill
- wiki-syncSkill
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
- Very specific: line 8
Every edit in a linked repository belongs to a started thread with an open task for that repository.
- Very specific: line 26
Write ## Description in this session's document with Edit: the thread, and what this session will do.
- Very specific: line 42
Stop at a gate, or when the user's turn is needed.
≈ “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.
Files
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
- Find the thread.
- The request gives an id (
Resume Atlas thread doc-…) or a title →threadload. - The request names work →
searchwithtypes: [stub]and the request's words, andrepositorywhen 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.
- The request gives an id (
- Write
## Descriptionin this session's document with Edit: the thread, and what this session will do. - Say where the thread stands in two lines: its status, what
missinglists, andnext. Loop on
next.step(fromthreadload, or fromstateafter any write):Step Do 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. - Stop at a gate, or when the user's turn is needed. Before you stop, add a dated line
to
## Progressin 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.
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.

