compact
Skill17 starsChanged 4 months agoMITView on GitHub
Lint and compact the ultragoal project memory — find contradictions and stale claims, merge duplicates, refresh the index. Run every ~10 sessions (the session banner nudges when due).
9 other projects use a version of this.
Adopted by
Most recently taken up by
- Thingscorp/skillstheir own version, first seen Sep 25, 2026
- Kali-Decoder/Midnight-Skillstheir own version, first seen Sep 17, 2026
- crisandrews/ClawCodetheir own version, first seen Sep 12, 2026
- ChasePassion/skillstheir own version, first seen Sep 5, 2026
- atharh/career-corpus-kittheir own version, first seen Sep 3, 2026
- tusharpamnani/Midnight-Skillstheir own version, first seen May 2, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- crisandrews/ClawCode★ 63same name
- xiaobei930/cc-best★ 48same name
- Kali-Decoder/Midnight-Skills★ 16same name
- Magnifico4625/locus★ 14same name
- atharh/career-corpus-kit★ 4same name
- ChasePassion/skills★ 2same name
- Thingscorp/skills★ 1same name
- tusharpamnani/Midnight-Skills★ 1same name
- chanhyeok-made/ccx★ 0same 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.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 6
Run a lint-and-compact pass over .ultragoal/memory/ (MEMORY.md, facts.md, patterns.md, failures.md).
- Distinctive: line 12
Read every file end to end, then report findings in three tiers before changing anything:
- Very specific: line 22
Re-verify cheaply: if a [VERIFIED] claim has a one-command check, run it.
“Common” is measured: kept by at least 6 in 10 of the 8 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
Run a lint-and-compact pass over .ultragoal/memory/ (MEMORY.md, facts.md, patterns.md, failures.md).
The cardinal rule: only the compiled layer (above the ---) is ever rewritten. Evidence logs below the line are append-only history — never edit, reorder, or delete their lines. Compaction that touches evidence is corruption, not cleanup.
1. Lint — triaged findings first
Read every file end to end, then report findings in three tiers before changing anything:
- Errors (fix now): compiled claims that contradict each other across files; compiled claims contradicted by newer evidence in any log; index lines pointing at entries that no longer exist; the same fact compiled in two places.
- Warnings (fix if cheap, else flag):
[VERIFIED]claims whose evidence is old and whose subject area has changed since (checkgit logon the relevant paths);[INFERRED]entries no session has touched since they were written; entries the repo or git history now records on its own. - Info:
[no data yet]slots in MEMORY.md that sessions keep needing; areas with lots of evidence but no compiled rule yet.
2. Compact — above the line only
- Merge near-duplicate compiled claims into the strongest one, keeping the best provenance.
- Generalize: observations sharing a cause become one rule; cite the supporting evidence dates ("evidence: S2, S6, S11 below").
- Re-verify cheaply: if a
[VERIFIED]claim has a one-command check, run it. Passes → refresh its date. Fails → rewrite the claim, append the contradicting run to the evidence log. - Downgrade honestly: a claim that can't be re-verified and looks doubtful becomes
[INFERRED], not deleted. Never silently promote[INFERRED]or[READ]to[VERIFIED]— that laundering is exactly how a memory starts citing itself. - Archive, don't destroy: compiled entries that are obsolete move to an
## Archivedsubsection at the bottom of the compiled layer with a one-line reason; their evidence stays in the log untouched. - Rewrite MEMORY.md's index so it exactly matches what remains — one line per entry, most load-bearing first, well under 100 lines.
3. Close out
Reset the cadence counter: write 0 to .ultragoal/memory/.sessions.
Report: Errors/Warnings/Info found, what was merged, generalized, re-verified, downgraded, archived, and the new index size. Memory should come out smaller and sharper, not summarized into mush — when in doubt between compressing an entry and keeping the specifics that would change what a future session does, keep the specifics.
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.

