verbatim-goal-anchoring
Skill0 starsChanged 2 months agoMITView on GitHub
Anchor goals to the user's raw verbatim. The project keeps the user's full unedited words in docs (docs/verbatim.md) as the source of meaning, and the MAIN agent re-reads that verbatim after every context compaction to re-derive the goal — adjusted by what has happened so far — so the work never loses the path to the user's goal. Use when you receive raw log/thinking text from the user, at every context compaction or session resume, and whenever a long-running goal must stay traceable to the user's own words.
In this repository16 other files it gives its agents.
- agentica-spawnSkill
- agent-orchestrationSkill
- background-agent-pingsSkill
- dispatching-parallel-agentsSkill
- executing-plansSkill
- goal-driven-parallel-orchestratorSkill
- nested-subagentsSkill
- no-polling-agentsSkill
- parallel-agent-contractsSkill
- parallel-agentsSkill
- parallel-repo-safetySkill
- subagent-driven-developmentSkill
- sub-agentsSkill
- using-git-worktreesSkill
- verification-before-completionSkill
- writing-plansSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
The full verbatim is always in docs: If the user gives raw text and there is no docs/verbatim.md, create it before doing anything else.
- Very specific: line 31
Only spelling changes: If you must annotate, add clearly-marked [main-agent note] blockquotes.
- Distinctive: line 60
Only then resume dispatching waves.
- Distinctive: line 62
If no verbatim exists for this project yet, derive the goal from the user's latest words and note in the ledger that the verbatim is …
- Very specific: line 77
Re-read
docs/verbatim.mdend to end: Do not decide "this is all done" from your recollection. - Very specific: line 84
Update the goal system (set_goal/goal_set): objective quoted from the verbatim, success criteria in the verbatim's own terms.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Verbatim Goal Anchoring
The user's raw words are the fixed point of the work. Context windows, notes, and memories are adjusted copies of it — the verbatim is the original.
What the user's workflow is
- The user produces raw log text for a project — what they think, said, or want; dense, one detail after another, unpolished.
- Whenever they hand you raw text, store the full verbatim in the repo,
always in docs:
docs/verbatim.md(rolling history:docs/verbatim/YYYY-MM-DD-<slug>.md, with the latest fully copied intodocs/verbatim.md). Only fix spelling. Never paraphrase, compress, restructure, or "clean up for readability." - Meaning lives only in the verbatim. The goal of the system is found by reading the verbatim — not by reading notes about it.
- One AI round cannot cover the whole verbatim. Work proceeds in chunks against it, tracked in a coverage ledger.
- The verbatim is for the main agent (the one controlling the rest). Subagents usually never need it; they get derived tasks and interfaces.
Invariants (never broken)
- The full verbatim is always in docs. If the user gives raw text and
there is no
docs/verbatim.md, create it before doing anything else. - Only spelling changes. If you must annotate, add clearly-marked
[main-agent note]blockquotes; never edit the user's words. - Never summarize the verbatim into the goal. The goal is quoted from the verbatim or points at it. Your summary is only ever a pointer to the fixed point, never a replacement.
- The main agent re-reads the verbatim after EVERY context compaction. On compaction, a recollected goal drifts; the verbatim does not.
- A goal completed is a goal swapped, not a stop. The verbatim is not a
single goal — it is a chain of goals. When the current goal's criteria are
met, re-read the verbatim, derive the next goal from it, change the goal
(
set_goal/goal_set), and continue. Goals are never static; they are re-derived from the verbatim at every boundary (compaction AND completion).
The compaction protocol (mandatory, in this order)
Whenever a context compaction happens — or a session starts/resumes mid-goal:
- Re-read
docs/verbatim.mdend to end. This is the anchor. Do not resume from your recollection of the goal. - Re-derive the goal from the verbatim, adjusted with what has happened until now: the wave ledger, git log/status, Nowledge Mem checkpoints for this goal, and any user feedback since. Next goal state = (verbatim intent) + (reality so far).
- Update the goal system (
set_goal/update_goal): objective quoted from the verbatim (or referencing it), success criteria restated in the verbatim's own terms, constraints verbatim. - Check the coverage ledger (below): continue from the next uncovered, goal-relevant chunk — not from wherever the conversation last happened to be.
- Only then resume dispatching waves.
If no verbatim exists for this project yet, derive the goal from the user's latest words and note in the ledger that the verbatim is missing, so the user can supply it.
The completion protocol — goal chaining, do not stop
The user's rule, verbatim (2026-09-20): "when one goal is done you should not stop it the verbatim contains the next goal you should only change the goal and continue."
A goal reaching its success criteria is a boundary, exactly like a compaction — the verbatim must be re-read and the goal re-derived:
- Close the finished goal in the goal system
(
goal_complete/update_goal(status=complete)) with real evidence. - Re-read
docs/verbatim.mdend to end. Do not decide "this is all done" from your recollection; the user's later words may already contain the next goal. - Derive the next goal: the newest directive in the verbatim, or the
highest-value
remainingchunk indocs/verbatim-coverage.mdthat the verbatim implies, adjusted by what has happened so far (ledger, git log, NM checkpoints). - Update the goal system (
set_goal/goal_set): objective quoted from the verbatim, success criteria in the verbatim's own terms. - Continue working. Stop only when every goal-relevant chunk is
done/deferredwith a ruling AND no directive is pending — and even then, report the completed chain instead of halting silently.
The coverage ledger (one round cannot cover the verbatim)
Because the verbatim is dense and too big for one round, track coverage separately from the conversation:
- Where:
docs/verbatim-coverage.md, plus anowledge_mem_save/updatememory (unit_typeplan/event, labelverbatim:<project>). - Shape: a table of verbatim chunks → status (
done/in-progress/remaining/deferred) + the ruling (why deferred/obsolete). - Update: at every wave fan-in, before compaction, and at every session/resume. The main agent maintains it; subagents don't.
- Drive the next round from it: next goal = highest-value
remainingchunk the verbatim implies, adjusted by what happened. Reality may reorder or obsolete chunks — record the ruling in the ledger, then move on. - Deferred ≠ forgotten: a chunk marked
deferredkeeps its reasoning attached, so future rounds can legitimately reopen it.
Reading rights
| Who | Reads the verbatim? | Gets instead |
| main agent | always on compaction/resume; on demand otherwise | the verbatim itself |
| subagents | only the excerpt the main agent pastes (never the whole doc) | self-contained task + interfaces + the quoted chunk |
| Nowledge Mem | the coverage ledger + extracted decision summaries | pointers to docs/verbatim.md |
Copying a chunk into a subagent prompt is fine — reference docs/verbatim.md
by path, quote the exact segment, and say what to do with it. Never tell a
subagent "go read the verbatim" wholesale.
Anti-patterns (do NOT)
- ❌ Paraphrasing or summarizing the user's raw text before storing it.
- ❌ Trimming parts you "don't understand yet" — that is where the goal hides.
- ❌ Resuming after compaction from memory instead of re-reading the verbatim.
- ❌ Letting a subagent (or the conversation's accident) define the goal.
- ❌ Treating your notes about the verbatim as the source of truth.
- ❌ Forgetting the coverage ledger — without it, each round restarts at zero.
- ❌ Stopping when the current goal's criteria are met — the verbatim already contains the next goal; change the goal and continue (user rule 2026-09-20). Completion is a re-read and re-derive boundary, like a compaction.
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.

