/ultragoal:compactfrom Ultragoal
Lint and compact the ultragoal project memory to find contradictions, stale claims, and duplicates, then merge and refresh the index. Run every ~10 sessions.
Ships in Ultragoal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
Read every file end to end, then report findings in three tiers before changing anything:
[VERIFIED] claims whose evidence is old and whose subject area has changed since (check git log on the relevant paths); [INFERRED] entries no session has touched since they were written; entries the repo or git history now records on its own.[no data yet] slots in MEMORY.md that sessions keep needing; areas with lots of evidence but no compiled rule yet.[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.[INFERRED], not deleted. Never silently promote [INFERRED] or [READ] to [VERIFIED] — that laundering is exactly how a memory starts citing itself.## Archived subsection at the bottom of the compiled layer with a one-line reason; their evidence stays in the log untouched.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.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub shamilkayal/ultragoal --plugin ultragoal7 skills in this plugin
/goalTurn a messy brain dump (raw voice transcript welcome) into a verifiable goal with a checkable rubric, then work autonomously until it is verified and lessons are saved. Use for substantial end-to-end work — build, fix, migrate, investigate — AND for follow-up rounds on a finished or paused goal ("next round", "improve on this"); re-invoke it rather than arming from memory of a previous round. NOT for small contained tasks (a quick fix, a question, a tweak) — those are ordinary conversation, and a goal having run earlier in the session never makes later small asks goal work./rememberDistill lessons from the current session or a finished goal into the project memory (.ultragoal/memory/). Used directly, as the final step of a goal loop, and immediately whenever the user corrects you./setupOther plugins' skills for the same job