hydrate-propose
Skill2 starsChanged 15 days agoMITView on GitHub
Stage reconciled drafts as a single commit (or PR for multi-developer projects) that updates the working memory files in a reviewable batch. activeContext.md is excluded. After acceptance, the synchronizer agent takes over for ongoing maintenance.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- template/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- hydrate-discoverSkill
- hydrate-draftSkill
- hydrate-extractSkill
- hydrate-reconcileSkill
- initSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
When this skill is activated:
- Distinctive: line 17
Write the proposed changes to each file:
- Very specific: line 24
Write a body file per finding, holding its statement, source, and scope_reason, in a temp directory outside the repo (for example from …
- Distinctive: line 32
Write the proposed commit message: a one-line summary plus a body that lists each draft and its source provenance.
≈ “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
hydrate-propose
Input: annotated drafts from hydrate-reconcile.
When this skill is activated:
- Group drafts by target file. One commit (or PR) updates multiple working memory files in a coherent batch.
- Write the proposed changes to each file:
- Append-only updates to
decisionLog.md(most recent at top) - Section updates in
projectOverview.md,conventions.md,dataContracts.md - New entries in
openQuestions.md - Skip
activeContext.mdentirely
- Append-only updates to
- Handle
scope: orgfindings, whichhydrate-draftandhydrate-reconcilepassed through unchanged. If none arrived, say nothing about org memory.- With
.ltm.yamlat the repo root, list them under an "Org memory candidates" heading in your output. Print one command per finding and don't run it. Print each in two blocks, one labeledbash/zshand one labeledPowerShell, because the shells quote differently. Both use the same shape,ltm propose --type <Decision|PolicyRule|Exception|Context> --title '<title>' --summary '<statement>' --source-ref '<source>' --body-file '<body-file>'..ltm.yamlis the only Bank signal;ltmon PATH doesn't count. - Write a body file per finding, holding its statement, source, and scope_reason, in a temp directory outside the repo (for example from
mktemp -d). Never stage it with the working-memory batch, and print its path with the commands. Name it in--body-file. --titleis a short title taken from the statement.- Pick
--typefrom the finding. A choice is a Decision, and a rule someone must follow is a PolicyRule. A bounded departure from a PolicyRule is an Exception. Background that agents need but that is neither a choice nor a rule is Context. Leave out--applies-to; the user adds it. - Single-quote every value in both blocks, so
$(…)stays inert. Quote an embedded'by shell:- bash/zsh writes it as
'\''. - PowerShell writes it as
''. It does the same for each of ‘ ’ ‚ ‛, which PowerShell also reads as single quotes. bash/zsh leaves those four alone.
- bash/zsh writes it as
- Long text goes in the body file. So does any text with a
", so keep"out of--titleand--summarywhere you can, because Windows PowerShell 5.1 and pwsh 7.2 and earlier mangle an embedded"passed to a native program. - Without
.ltm.yaml, add each one toopenQuestions.mdas an entry, "May belong in org memory:<statement>(source:<source>; <scope_reason>)", in the same staged batch. Skip a finding whose "May belong in org memory" line is already inopenQuestions.md, so a second run doesn't duplicate it.
- With
- Write the proposed commit message: a one-line summary plus a body that lists each draft and its source provenance.
- For solo or small-team repos: stage the commit and leave it for the developer to review and commit.
- For multi-developer repos: open a PR. Tag reviewers based on CODEOWNERS or recent committers to the relevant files.
Output
A staged commit (or open PR), with all drafts applied and a clear commit message.
What this skill does NOT do
- It does not auto-commit. Solo flow: changes are staged for review. Team flow: PR awaits review.
- It does not run
ltm proposeor write into a Bank. It prints the commands and stops. - It does not touch
activeContext.md. That file is per-developer and gitignored. - It does not run the synchronizer agent. Synchronization is ongoing maintenance; hydration is the deeper periodic job. Different cadences.
Common gotchas
- Rewriting
decisionLog.mdinstead of appending. The decision log is append-only; never edit past entries. - Forgetting source provenance in the commit body. Reviewers use provenance to trust the drafts.
- Including
activeContext.mdin the proposed commit. It's gitignored and per-developer; never propose changes to it.
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.

