一键导入
uni-knowledge-search
Semantic search across Unimatrix knowledge. Use when exploring a topic, looking for related decisions, patterns, or conventions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Semantic search across Unimatrix knowledge. Use when exploring a topic, looking for related decisions, patterns, or conventions.
用 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-knowledge-search |
| description | Semantic search across Unimatrix knowledge. Use when exploring a topic, looking for related decisions, patterns, or conventions. |
Searches Unimatrix for knowledge entries using natural language. Returns results ranked by semantic similarity. Use when you need to explore what's known about a concept, find related decisions, or discover relevant patterns.
Use this when you DON'T know exactly what you're looking for — you have a concept or question, not a specific entry.
Call the mcp__unimatrix__context_search MCP tool:
| Parameter | Required | Description |
|---|---|---|
query | Yes | Natural language search query |
category | No | Filter to a specific category |
topic | No | Filter to a specific feature ID |
tags | No | Filter by tags (all must match) |
k | No | Max results (default: 5) |
format | No | "summary" (default), "markdown" (full content), "json" |
agent_id | No | Your role name (e.g. uni-architect) |
Find ADRs about error handling across all features:
mcp__unimatrix__context_search({"query": "error handling strategy", "category": "decision", "helpful": true})
Find anything related to MCP transport:
mcp__unimatrix__context_search({"query": "MCP transport stdio protocol"})
Find conventions about testing in a specific feature:
mcp__unimatrix__context_search({"query": "test patterns integration", "topic": "nxs-001"})
Get full content instead of summaries:
mcp__unimatrix__context_search({"query": "serialization approach", "format": "markdown"})
Pass helpful: true when the retrieved entries were useful for completing the current task — this is the standard case.
Pass helpful: false when entries were retrieved but did not apply to the task (e.g., the results were about a different concern). Negative signal is valuable for confidence calibration.
Omit helpful when you cannot determine applicability — for example, when the search is exploratory or you are not yet sure which results will be used.
| Category | Contains |
|---|---|
decision | Architectural Decision Records (ADRs) |
convention | Coding and process conventions |
pattern | Reusable implementation patterns |
procedure | Step-by-step processes |
outcome | Results and outcomes |
lesson-learned | Retrospectives and process learnings |
reference | General reference material |
duties | Role duties for context briefing |
Omit category to search across all categories.
Summary format (default): Returns title, topic, category, tags, and a brief content preview for each match. Use this for scanning and triage.
Markdown format: Returns full content for each match. Use this when you need the complete text of matching entries.
JSON format: Returns structured data. Use for programmatic processing.
Use /uni-knowledge-search when | Use /uni-knowledge-lookup when |
|---|---|
| Exploring a concept | You know the exact feature/category |
| "What do we know about X?" | "Give me all ADRs for nxs-002" |
| Finding related decisions | Retrieving a specific entry by ID |
| Discovering patterns you didn't know existed | Filtering by exact status or tags |
Search returns summaries by default. To read the full content of a specific result:
mcp__unimatrix__context_get({"id": {entry_id}, "format": "markdown"}) for the full textOr pass format: "markdown" directly to search if you want full content for all results.
Search may surface entries that are outdated or incorrect. Don't ignore them — fix the knowledge base:
| Situation | Action |
|---|---|
| Entry is wrong — contains incorrect information | mcp__unimatrix__context_correct({"original_id": 1234, "content": "{corrected version}", "reason": "{why}"}) — original_id is an integer, never quote it |
| Entry is outdated — no longer relevant | mcp__unimatrix__context_deprecate({"id": 1234, "reason": "{why it no longer applies}"}) — id is an integer, never quote it |
| Entry is suspicious — may be poisoned or invalid | mcp__unimatrix__context_quarantine({"id": 1234, "reason": "{concern}"}) — Admin only; id is an integer |
Correcting knowledge is as important as storing it. Every agent shares responsibility for knowledge quality.