From substrate
Capture durable project knowledge into Substrate. Use when the conversation produces a decision, constraint, convention, or other fact worth persisting across sessions — or when the user asks to remember/store/record context. Requires the project to be tracked by Substrate (a .substrate/ directory).
How this skill is triggered — by the user, by Claude, or both
Slash command
/substrate:capture-contextThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Substrate stores project context in committed `.substrate/` files (the shared
Substrate stores project context in committed .substrate/ files (the shared
"collective mind") plus gitignored *.priv.jsonl files (personal context). The local
SQLite cache is rebuilt from those files; git is the sync transport.
Capture context when something durable emerges that a future session (yours or a teammate's) would benefit from knowing:
Do NOT capture transient chatter, secrets, or anything already obvious from the code.
Only act if the project is tracked (a .substrate/ directory exists). If it does not,
the project hasn't opted in — don't create context; defer to the enable flow.
note only when nothing else fits.substrate add "<clear, self-contained statement>" --type <type> [--tag <tag>,<tag>]
--private so they go to the gitignored *.priv.jsonl and are never committed:
substrate add "My local DB runs on port 5544" --type note --private
substrate link add <fromShortId> <toShortId> --relation <relates_to|depends_on|blocks|implements|extends|references>substrate sync pushgit add .substrate && git commit -m "Update context" && git push
(The *.priv.jsonl personal files are gitignored and won't be committed.)At the start of work in a tracked project, you can rehydrate context with:
substrate brief --format agent # or: --budget medium for a token-bounded brief
On a fresh clone, run substrate sync pull first to load the committed files into the cache.
npx claudepluginhub seamoss/substrate --plugin substrateProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.