원클릭으로
uni-seed
Populate Unimatrix with foundational repository knowledge through human-directed, gated exploration.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Populate Unimatrix with foundational repository knowledge through human-directed, gated exploration.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Version bump, changelog generation, tag, and push to trigger the release pipeline.
Manage a goal's capability map in Unimatrix — the behaviorally-proven units that must exist for a goal to be delivered. Decompose goals into capabilities, track delivery status, and report what's left. Status advances to proven ONLY on attached behavioral evidence.
Unimatrix Zero — vision guide mode. Strategic advisor for product evolution, feature ordering, vision alignment, security posture, and codebase health. Conversational. Does not modify application code or run delivery protocols.
Post-merge retrospective — extracts patterns, procedures, and lessons from shipped features into Unimatrix. Use after a feature PR is merged.
Store an architectural decision record in Unimatrix. ADRs live in Unimatrix only — no ADR files. Use after each design decision.
Ad-hoc independent product-lens review via uni-zero-reviewer. Use for re-reviews after rework or reviews outside protocol runs. Advisory only — human makes the call.
| name | uni-seed |
| description | Populate Unimatrix with foundational repository knowledge through human-directed, gated exploration. |
Before running this skill:
unimatrix) must be running and wired in your Claude Code settings.json. This skill calls context_status, context_search, and context_store — all require an operational MCP server./uni-init first to set up the CLAUDE.md knowledge block. Seeding works without it, but the CLAUDE.md block provides ongoing awareness.If context_status fails at startup, the MCP server is not available. Consult the installation documentation for wiring setup.
A fresh Unimatrix install starts with an empty database; this skill provides an initial curated knowledge set.
Guides you through populating Unimatrix with foundational knowledge about your repository. The skill explores your repo structure in bounded levels, proposes knowledge entries, and stores only what you approve.
Depth limit: Level 0 (automatic) + up to 2 opt-in levels. No deeper. You control how far to go.
Categories used: Only convention, pattern, and procedure. Categories like decision, outcome, and lesson-learned are excluded from seeding — they emerge from real feature work, not initial exploration.
Every proposed entry must pass this quality gate before being shown to you. Entries that fail are silently discarded — you only see quality entries.
| Field | Rule |
|---|---|
| What | One sentence, max 200 characters. Describes the knowledge. |
| Why | Min 10 characters. Explains the consequence or motivation — what goes wrong without this knowledge. Must not be tautological (restating "what" without adding value). |
| Scope | Where this applies — component, module, or workflow context. Must be present. |
Follow these steps in strict order. At every gate marked with STOP, halt and wait for the human to respond before proceeding. Do not auto-advance.
This must be the very first action. Do not read any files before this step.
Important: Run once per new project before the first delivery session. Do not re-run on an established installation — seed entries will duplicate existing knowledge.
Call mcp__unimatrix__context_status({}).
If the call fails or returns an error: Print the following and halt immediately. Do not proceed to any further steps.
Unimatrix MCP is not available.
Ensure unimatrix is running and wired in your Claude settings.json.
See installation documentation for setup instructions.
If the response is healthy (no error indicators, returns system status): Continue to Step 2.
Check whether seed entries already exist to avoid near-duplicates.
Call context_search for each seeding category:
mcp__unimatrix__context_search({"query": "repository", "category": "convention", "k": 5})mcp__unimatrix__context_search({"query": "repository", "category": "pattern", "k": 5})mcp__unimatrix__context_search({"query": "repository", "category": "procedure", "k": 5})Count the total results across all three searches.
If 3 or more entries found:
Print:
Found {count} existing entries in seeding categories (convention/pattern/procedure).
Re-seeding may create near-duplicates. You can save tokens by skipping if the knowledge base already has a good foundation.
Options:
supplement — continue and add new knowledge alongside existing entries
skip — exit without changes
STOP. Wait for human response before proceeding.
If fewer than 3 entries found: Continue to Step 3 (clean first run).
Read the following files without requiring human confirmation. Skip any that do not exist:
README.mdCLAUDE.mdCargo.toml (Rust)package.json (Node.js)pyproject.toml (Python)go.mod (Go).claude/ directory structure (if present) — directory listing only, not deep file readsFrom what you read, generate 2 to 4 high-level foundational entries. Typical entries cover:
Apply the quality gate (What/Why/Scope) to each candidate. Silently discard any that fail. If fewer than 2 entries pass the gate, include only what passes — do not pad with low-quality entries.
If 0 entries pass the quality gate:
Could not generate quality entries from available files. Consider adding a README.md with project context, then re-run /uni-seed.
Skip to the Done summary.
Present all Level 0 entries as a batch:
Level 0 — Foundational Knowledge
=================================
Proposed entries (approve or reject as a batch):
1. [convention] {what}
Why: {why}
Scope: {scope}
2. [pattern] {what}
Why: {why}
Scope: {scope}
...
Approve all entries? (approve / reject)
STOP. Wait for human response before proceeding.
If approved: Store each entry via context_store:
mcp__unimatrix__context_store({
"title": "{what}",
"content": "What: {what}\nWhy: {why}\nScope: {scope}",
"topic": "{repo name or top-level context}",
"category": "{convention|pattern|procedure}",
"tags": ["seed", "level-0"],
"agent_id": "uni-seed"
})
Report success or failure for each entry individually. If a context_store call fails, report which entry failed and continue storing the remaining entries.
Print: "Stored {count} entries."
If rejected: Print "0 entries stored. Re-invoke /uni-seed with more specific guidance if needed." and skip to the Done summary.
After storing (or rejecting), present the Level 1 exploration menu:
Would you like to explore deeper? Options:
a) Module structure — explore source directories and key modules
b) Conventions — look for coding standards, linting, formatting config
c) Build & test — explore build system, test framework, CI config
d) Done — stop here
STOP. Wait for human response before proceeding.
For each category the human selected, explore relevant files:
src/ or lib/ directory listings, key module entry points, workspace member crates.editorconfig, .eslintrc, rustfmt.toml, .clippy.toml, .prettierrc, similar config files.github/workflows/, Makefile, justfile), test directory structure, build scriptsFor each entry generated from exploration, apply the quality gate. For entries that pass, present them individually (not as a batch):
Proposed entry:
[{category}] {what}
Why: {why}
Scope: {scope}
Store this entry? (yes / no)
STOP. Wait for human response before proceeding.
context_store with tags ["seed", "level-1"]. Report success or failure.Continue until all Level 1 entries have been presented.
Level 1 complete. Stored {count} new entries.
Level 2 is the final exploration level. Would you like to go deeper into any area?
a) {list deeper explorations based on Level 1 selections — e.g., "specific module internals", "test patterns", "CI pipeline details"}
b) Done — stop here
STOP. Wait for human response before proceeding.
Explore the selected areas in greater depth. Read specific files within the directories explored at Level 1.
For each entry generated, apply the quality gate and present individually (same as Level 1):
Proposed entry:
[{category}] {what}
Why: {why}
Scope: {scope}
Store this entry? (yes / no)
STOP. Wait for human response before proceeding.
Store approved entries with tags ["seed", "level-2"].
After Level 2 entries are processed:
Level 2 complete. This is the final exploration level. No further levels are available.
Proceed directly to the Done summary. Do not offer a Level 3 option. Level 2 is the terminal level.
Seed Summary
============
Total entries stored: {total}
Level 0: {l0_count}
Level 1: {l1_count}
Level 2: {l2_count}
Knowledge base is ready. Future context_briefing calls will return these entries
to agents working in this repository.