context-sync
Skill2 starsChanged 5 months agoApache-2.0View on GitHub
End-of-session brain sync — diffs what changed against .context/ and applies the necessary updates. Run at the end of any session that touched product code, and after merges.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- shimo4228/akc-cycletheir own version, first seen Nov 8, 2026
- orrrrli/ai-engineering-stacktheir own version, first seen Nov 1, 2026
- orrrrli/clawd-harnesstheir own version, first seen Nov 1, 2026
- shimo4228/context-synctheir own version, first seen Nov 1, 2026
- shimo4228/claude-harnesstheir own version, first seen Oct 10, 2026
- wesm/middlemantheir own version, first seen Oct 9, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- wesm/middleman★ 198same name
- systemind-team/AICOO-Skills★ 35same name
- shimo4228/claude-harness★ 4same name
- orrrrli/ai-engineering-stack★ 2same name
- orrrrli/clawd-harness★ 2same name
- shimo4228/akc-cycle★ 2same name
- shimo4228/context-sync★ 1same name
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 repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- deploy-sanitySkill
- engine-adapter-scaffoldSkill
- file-issueSkill
- ir-schema-guardSkill
- issue-triageSkill
- pick-issueSkill
- reap-staleSkill
- tdd-cycleSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
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
- Very specific: line 29
Commit as part of the feature branch (same PR), message docs(context): sync <scope>.
- Distinctive: line 30
Never a separate PR — CI's context-freshness check requires same-PR updates.
“Common” is measured: kept by at least 6 in 10 of the 7 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
context-sync
.context/ is the living brain: read before acting, updated after acting. This
skill makes "updated" true.
Procedure
- Diff the session's work:
git diff --name-only main...HEAD(plus uncommitted). Also runnode .claude/hooks/context-sync-check.mjsfor the mechanical hints. - Map changes → brain files:
- New/changed package, dependency, API route, data flow →
architecture.md(current-state prose + diagram; keep it what is, not history). - Engine adapter capability/gap/lossy field →
engine-status.md(status table + per-engine section + checklist). - Any autonomous judgment call made this session →
decisions.mdas a new ADR (append-only, date, rationale, consequences). - IR shape changes →
interchange-format.md(already required by ir-schema-guard). - New domain term used in code/issues →
glossary.md. - Question raised but not answered →
open-questions.mdrow (owner + issue). Question answered → move todecisions.md, delete the row. - Production deploy happened →
deploy-log.mdline (the deploy-sanity skill owns the format).
- New/changed package, dependency, API route, data flow →
- Apply the edits. Precision beats completeness — wrong brain is worse than sparse brain.
- Commit as part of the feature branch (same PR), message
docs(context): sync <scope>. Never a separate PR — CI's context-freshness check requires same-PR updates.
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.

