/ultragoal:setupfrom Ultragoal
Initializes or reconfigures ultragoal project scaffolding, preference knobs, and CLAUDE.md integration. Handles first-run setup automatically.
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.
Read when SKILL.md points to them.
Initialize (or reconfigure) ultragoal for this project. Takes about a minute.
Ask the user the seven questions below in one AskUserQuestion call (recommended default first). If .ultragoal/config.md already exists, show current values and ask only what they want changed. If running non-interactively, take all defaults.
.ultragoal/harness-log.md. Opt-in, local markdown only, never transmitted — sharing is user-initiated. On adds a small CLAUDE.md protocol snippet and seeds the log file; off adds nothing.Six more settings with sensible defaults — mention they exist in config.md rather than asking: default budget (25 gate-checked turns — the standard depth tier; the goal skill asks depth per goal as quick ~10 / standard 25 / deep 60+), verification cadence (final — one verifier pass at sign-off; "every-claim" verifies before each box for stricter, costlier loops), interview depth (adaptive — the goal skill sizes the interview to the goal's stakes and length; "quick" forces one batch, "deep" forces multi-round), auto-update (on — the session hook refreshes the plugin pin in the background daily, since project-scoped installs never auto-update natively), and auto-memory (unified — Claude Code's native auto memory is redirected to .ultragoal/memory via autoMemoryDirectory in .claude/settings.local.json, so the repo has ONE memory brain instead of two; setup writes the key only if absent. "separate" opts out and keeps native memory as a personal machine-local store). When scaffolding with auto-memory unified, write the autoMemoryDirectory key (absolute path to this repo's .ultragoal/memory) into .claude/settings.local.json, merging with any existing JSON and never overwriting an existing key. The sixth: execution (frontier — the session model implements everything itself; "economy" delegates implementation to cheaper Sonnet executor subagents while the session model orchestrates, reviews, and verifies — the goal skill offers it as a per-run dial on execution-heavy goals).
Workspace placement: if this directory sits inside a larger workspace that holds several repos, offer to put .ultragoal/ at the workspace root instead — the hooks walk up from the current repo to the nearest .ultragoal/, so one shared brain can serve all the nested repos.
Create (don't overwrite anything that exists):
.ultragoal/
├── config.md ← from [config-template.md](config-template.md), with chosen knobs
├── harness-log.md ← ONLY if harness-log = on; from the template in [memory-templates.md](memory-templates.md)
├── goals/archive/.gitkeep
└── memory/
├── MEMORY.md ← from [memory-templates.md](memory-templates.md)
├── facts.md ← " (resolver header + compiled layer + evidence log)
├── patterns.md ← "
└── failures.md ← "
Running non-interactively (no user present), scaffold the minimum instead: config.md and memory/MEMORY.md only — topic files get created by the remember protocol on first write, and a throwaway run that never writes memory shouldn't pay for empty templates.
If memory sharing = local-only, add .ultragoal/memory/ to .gitignore. Either way add .ultragoal/goals/active/*/.turns, .ultragoal/goals/active/*/.rubric-hash, and .ultragoal/memory/.sessions to .gitignore (machine-local, per-session counters that shouldn't be shared).
Assemble the block from claude-md-block.md: the fixed memory/goal protocol plus the snippet for each chosen knob. Then:
CLAUDE.md already has <!-- ultragoal:start --> markers, replace the content between them.CLAUDE.md (create the file if missing).If this repo has history worth mining (existing docs, postmortems, devlogs, a long git log), offer once: "Want me to bootstrap memory from existing history? I'll use subagents to identify core themes and lessons and store them in .ultragoal/memory/." On yes: dispatch parallel subagents, one per source kind (git log for recurring fix patterns and reverted approaches; docs/postmortems for known gotchas; configs for non-obvious invariants), then file the distilled lessons per the ultragoal:remember protocol — tagged [READ · source] or [INFERRED · confidence], never [VERIFIED] (nothing was re-run), each with an evidence line naming where it came from. A seeded memory starts the very first goal warm instead of cold.
Finish by confirming what was created and pointing at the next step: /ultragoal:goal <brain dump>.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ultragoal, goal-management, project-setup, scaffolding, configuration
npx claudepluginhub shamilkayal/ultragoal --plugin ultragoal7 skills in this plugin
/compactLint 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)./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./statusShow the current ultragoal state — active goal, rubric progress, budget, memory health./stopStop the active ultragoal loop — archive the goal as abandoned (or paused) and release the gate./verifyIndependent audit of a goal — the active one or a named archived goal. A fresh-context verifier re-runs every rubric check and tries to refute the work. Use after completion for extra assurance, or anytime you doubt the claims.Other plugins' skills for the same job