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

thread-run

Skill0 starsChanged 2 months agoMITView on GitHub

Do the open tasks of a thread in its repositories, and check each one when it is done, with its commits. Use for run the tasks, do the next task, implement this, continue the thread, build it. Writing the tasks is thread-tasks; checking the work against the spec is thread-verify.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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. Distinctive:

    do the work. Change files with Edit and Write, not with the shell.

    line 24
  2. Distinctive:

    commit in the repository's own git, with a message that names the task and the thread's id.

    line 26
  3. Distinctive:

    Check a task when it is done, not in a batch at the end.

    line 30
  4. Very specific:

    When the work shows a step the list lacks, add it (thread tasks) before you do it.

    line 31
  5. Very specific:

    When a task is not needed, drop it (thread check with state: dropped, reason).

    line 32
  6. Distinctive:

    When the work shows that a requirement is wrong, or cannot be met, stop that task.

    line 33
  7. Very specific:

    When the thread waits on something outside: thread block with reason (one line).

    line 42
  8. Distinctive:

    After the last task of a repository is checked, the guard refuses more edits there.

    line 45

≈ “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-run

Starting a thread binds this session to it: the board shows it active, no other session takes it by accident, and the guard lets this session edit each repository the thread has open tasks for. The task list is the record of what was done: a check mark with its commits, task by task.

Tools: thread (load, start, check, tasks, block, note), context. References: threads.md.

Procedure

  1. thread load with thread. Read the spec and the open tasks with their details.
  2. thread start with thread. When another live session holds it, ask the user before you start with take: true. When this session started it already, go on.
  3. For each repository, context with repository: follow its instruction files and the spec's rules.
  4. Take the open tasks in order. For each:
    • do the work. Change files with Edit and Write, not with the shell; use the shell to run commands. Test what can break;
    • commit in the repository's own git, with a message that names the task and the thread's id;
    • thread check with thread, task, and commits. Work that made no commit takes note, one line on what was done. Check a task when it is done, not in a batch at the end.
  5. When the work shows a step the list lacks, add it (thread tasks) before you do it. When a task is not needed, drop it (thread check with state: dropped, reason).
  6. When the work shows that a requirement is wrong, or cannot be met, stop that task. Say what you found. A change to the spec is the user's to approve; after the yes, revise it (thread-spec).
  7. What you learn on the way has a home, and it is not the stub or the spec:
    • where the work stands, what you tried → a dated line under ## Progress in your session document;
    • a fact the wiki should hold (how a tool behaves, a result, a pitfall) → wiki-save, now;
    • work for another thread → thread stub.
  8. When the thread waits on something outside: thread block with reason (one line); add a progress line; stop.

After the last task of a repository is checked, the guard refuses more edits there. A fix needs a task first.

Gate

None inside the tasks. The gate was the spec.

Hand off

thread-verify, when every task is done or dropped.

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.