work
Skill2 starsChanged 5 months agoMITView on GitHub
Supervise Engram's work loop — read remaining-tasks.md (local, gitignored), confirm each task with the user before implementing, delegate to implementer + reviewer subagents, commit, remove the task, and repeat. Enforces the deslop checkpoint and CLAUDE.md/ADR self-reflection at the end.
42 other projects use a version of this.
Adopted by
Most recently taken up by
- Firzus/agent-skillstheir own version, first seen Nov 8, 2026
- isanchez-aguilar/relayrace-aitheir own version, first seen Nov 8, 2026
- Mharbulous/probanda-devtheir own version, first seen Nov 8, 2026
- Jasenpan1987/multi-codetheir own version, first seen Nov 8, 2026
- withpiper/pipekittheir own version, first seen Nov 8, 2026
- cekrauseee/harnesstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use authoring, done and 10 more.
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.
automagik-devSkillauthoring
Write or revise a Genie skill so it survives the shipped contract — frontmatter, house size, starter card, and runtime-neutral voice.
Also in 3 projects that use this
robzolkosSkilldone
Reset the working directory for the next task by ensuring no uncommitted changes exist, then switching to the main branch and pulling latest.
Also in 3 projects that use this
Google CloudSkillfix
Plan a remediation strategy after a test failure.
Also in 4 projects that use this
AlexPEClubSkillrefine
Always use when the user wants to discuss an exsiting feature or specification. Open an existing feature spec to improve, extend, or fundamentally challenge it. Pass the feature ID as argument (e.g. /refine PROJ-2).
Also in 3 projects that use this
MicrosoftSkillmerge
Merge changes from the topic branch to the merge base branch. Use when the user wants to merge their session's work back to the base branch.
Also in 3 projects that use this
Microsoft AzureSkilltest
Also in 6 projects that use this
Other versions42 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 42
- cwinvestments/memstack★ 425same name
- automagik-dev/genie★ 351same name
- namastexlabs/automagik-genie★ 351same name
- ohad6k/emulo★ 292same name
- first-fluke/fullstack-starter★ 226same name
- OutThisLife/brooklyn-skills★ 207same name
- guardana/guardana★ 203same name
- Towow-ai/Flowness★ 107same name
- assaio/assaio★ 63same name
- HubSpot/agent-cli-skills★ 28same name
32 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- deslopSkill
- dreamSkill
- queueSkill
- self-reflectionSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 8 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 37 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Read in this order:
- Distinctive: line 22
If the user's hint scopes the run (e.g.
- Very specific: line 29
Read remaining-tasks.md (local, gitignored).
- Distinctive: line 32
Right-size: If the task is > ~200 lines of net new code or touches more than ~4 files, plan a split.
- Very specific: line 34
Plan: Use Read/Bash to gather the files the task touches.
- Very specific: line 63
After the agent returns: write its full response to transcripts/<task-slug>-implementer-<timestamp>.md (task-slug = first 5 words of the …
- Distinctive: line 66
Run git status --short + git diff --cached --stat — inspect what actually changed.
- Distinctive: line 68
Commit with a Conventional Commit message.
- Distinctive: line 72
Commit hash + list of touched files.
- Very specific: line 78
After the reviewer returns: write its full response to transcripts/<task-slug>-reviewer-<timestamp>.md.
- Very specific: line 105
If count ≥ 10, run the deslop pass (.claude/skills/deslop/SKILL.md) before the next implementer.
- Very specific: line 109
Before terminating, invoke .claude/skills/self-reflection/SKILL.md.
- Distinctive: line 123
Skip the confirmation gate: Every task is confirmed with the user before implementation — that is the point of this skill.
- Distinctive: line 124
Skip the reviewer step: Every task gets a reviewer.
“Common” is measured: kept by at least 6 in 10 of the 37 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.
Files
/work — drive Engram's work loop end-to-end
The user wants the work in remaining-tasks.md executed. This skill orchestrates implementer + reviewer subagents through every queued task, confirms each task with the user before any implementation, commits each result, enforces the deslop checkpoint, and prompts CLAUDE.md/ADR self-reflection at the end. You are the orchestrator, not the implementer. Implementation happens in subagents.
0. Before you start
Read in this order:
git pull(fast-forward only) — sync with remote. Surface conflicts and stop if any arise.remaining-tasks.md— the queue. If empty ("No tasks queued"), report and stop.CLAUDE.md(project) — the authoritative ruleset. Note the ADR rule: architectural changes (storage/sync strategy, the Claude Code integration model, embedding backend, module boundaries) MUST have an ADR indocs/adr/written before implementation. Docs stay in sync as part of every change (ADR 0002).git log --oneline -10— recent work + the deslop counter.git status --short— should be clean before starting. If modified tracked files are present andmake build && make testpass on them, queue them as a task and process immediately rather than asking; if checks fail, surface the dirt and stop.
If the user's hint scopes the run (e.g. "phase 1 only", "single task"), narrow accordingly. If genuinely unclear, ask one targeted clarification before starting.
1. The loop, one iteration
For each iteration:
- Pick the next task from
remaining-tasks.md:- Read
remaining-tasks.md(local, gitignored). - Pick the first unblocked task (skip any marked
[IN PROGRESS]).
- Read
- Right-size. If the task is > ~200 lines of net new code or touches more than ~4 files, plan a split. Splitting before delegating is non-negotiable — wide briefs fail more often.
- Plan. Use Read/Bash to gather the files the task touches. Decide: exact files to modify, the approach in 1–3 lines, whether an ADR is required first, and the quality check that applies (
make build && make test; addmake appif the Xcode app changed). ⛔ CONFIRMATION GATE — ask the user before implementing. This is mandatory on every task. Present a tight summary:
- Task title (verbatim).
- Right-sizing decision (proceed as-is / split into N).
- Exact files to be touched.
- The 1–3 line approach.
- ADR required? (yes + which / no).
Then call
AskUserQuestionwith options:- Proceed — implement as described.
- Revise — user adjusts scope/approach; re-present and ask again.
- Skip — leave the task queued, move to the next one.
- Stop — end the run.
Do not spawn the implementer until the user picks Proceed. If they picked Proceed, append
[IN PROGRESS]to the task line inremaining-tasks.mdso concurrent sessions see the claim. If an ADR is required, write/update it first (delegate it like any other implementation, or — for a short ADR — confirm with the user whether the orchestrator may draft it), and get it committed before the code.Build the implementer brief. Fetch every file the agent needs and compose a self-contained brief (≤800 words) with all context inline — don't rely on the agent to re-read from disk. Required ingredients:
- The task text (verbatim) + acceptance criteria, restated.
- Full contents of every file to modify or understand (pasted inline).
- Quality check pasted verbatim:
make build && make test— report PASS/FAIL. If no tests cover the touched module yet, note it. If the task touches the Xcode app (Engram/), the agent MUST also runmake app(programmaticxcodebuildof the macOS app) and report PASS/FAIL — Xcode "Run" builds only the app, andswift buildnever compiles the app target, so this is the only check that the app actually builds. - Engram conventions (from CLAUDE.md): run
make testafter changingEngramCoreor the CLI;make installto refresh the CLI; ADRs indocs/adr/for architectural changes; keepREADME.md,CLAUDE.md, ADRs + index,docs/ROADMAP.md, and skill descriptions in sync in the same change. - Style (from global + project rules): explicit variable names over abbreviations; comments only where logic is non-obvious; simple/readable over clever; match surrounding code.
- "Implementer scope-creep budget is zero. No extra helpers, no bonus logging, no speculative abstractions. Only these files may be touched:
<list each path explicitly>." - "Do not touch
remaining-tasks.md— orchestrator handles task removal." - "Do NOT commit. Report under 150 words: files modified,
make build/make testPASS/FAIL, judgment calls one line each."
Spawn the implementer (
subagent_type: general-purpose).After the agent returns: write its full response to
transcripts/<task-slug>-implementer-<timestamp>.md(task-slug = first 5 words of the title, lowercase-hyphenated; timestamp =date +%Y%m%d-%H%M%S).- Commit. Once the implementer reports clean checks:
- Run
git status --short+git diff --cached --stat— inspect what actually changed. Verify only intended files are staged. - Stage only intended files:
git add <specific paths>, nevergit add .. - Commit with a Conventional Commit message. The orchestrator owns committing.
- Run
Delegate review. Fetch the changed files and paste them inline. Spawn a different subagent with:
- Task text + acceptance criteria (verbatim).
- Commit hash + list of touched files.
- Full contents of the changed files (
git show <hash> -- <file>or Read). - Checks: acceptance met, no scope creep, explicit naming, comments only where non-obvious, ADR present if architectural, docs updated in sync, no regressions in existing
Sources//Engram/code,make build && make testclean (plusmake appclean if the Xcode app was touched). - "Verify blockers before flagging — construct the concrete failure scenario. Don't fix phantoms."
- Report shape: "VERDICT: APPROVE / APPROVE-WITH-NITS / REQUEST-CHANGES. Blockers as
file:line. Nits optional."
After the reviewer returns: write its full response to
transcripts/<task-slug>-reviewer-<timestamp>.md.- Address feedback.
- APPROVE: continue.
- APPROVE-WITH-NITS: judge whether worth fixing; if yes, delegate the nit-fix to a subagent — the orchestrator does not edit source files.
- REQUEST-CHANGES: send back to the implementer with a tight "what to fix and why". Re-review only if changes are non-trivial.
- Cross-check reviewer claims against the diff before acting. Downgrade non-reproducible "bugs".
- Remove the task from
remaining-tasks.md(no commit — it's gitignored). Delete the entry and any[IN PROGRESS]marker. - Verify.
make build && make testmust be clean. If the task touched the Xcode app (Engram/),make appmust also build clean. Fix forward if they fail — do not revert. - Loop. Return to step 1 (which re-enters the confirmation gate for the next task).
2. Parallelism
When two tasks are disjoint (don't share files), you may spawn both implementers in parallel with isolation: "worktree" — but only after each has passed its own confirmation gate. Sequential is the default; parallel is the optimization. Merge sequentially; reviewers can fan out. Verify worktree isolation before cherry-picking: if the commit is already on the orchestrator's branch, skip the cherry-pick. Don't poll background agents — the harness notifies on completion.
3. The deslop checkpoint
Match the conventional-commit subject:
LAST=$(git log --extended-regexp --grep='^(refactor|fix|chore|feat)\(deslop\)' -1 --format=%H)
git rev-list --count $LAST..HEAD --no-mergesIf count ≥ 10, run the deslop pass (.claude/skills/deslop/SKILL.md) before the next implementer.
4. CLAUDE.md / ADR self-reflection (end of run)
Before terminating, invoke .claude/skills/self-reflection/SKILL.md. Null reflections are valid — don't fabricate.
5. Final report
- Iterations completed (commit hashes + one-line summaries).
- Tasks skipped or stopped at, and why.
- Deslop passes run (count + hashes).
- Self-reflection outcome (hash or "no changes warranted").
- Anything uncommitted, broken, or weird.
- "Queue is empty" OR "Stopped early because
<reason>".
What you must NOT do
- Implement work yourself. Allowed orchestrator actions: reading state, spawning agents, mechanical git operations,
remaining-tasks.mdedits, rescuing uncommitted diffs to/tmp. Everything else: subagent. - Skip the confirmation gate. Every task is confirmed with the user before implementation — that is the point of this skill.
- Skip the reviewer step. Every task gets a reviewer.
- Let a subagent commit. The orchestrator owns all git commits.
- Implement an architectural change without its ADR landing first.
- Use destructive git commands (
--force,reset --hard,branch -D) without explicit user confirmation. - Poll background agents.
- Bundle unrelated edits into a task's commit.
git add <specific paths>, notgit add .. - Feed a subagent only file paths. Paste actual file contents inline — the brief must be self-contained.
- Leave stale
[IN PROGRESS]markers inremaining-tasks.md.
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.

