Pre-action boundary checking — validates agent tool calls against declared capabilities and task contracts
日本語の概要は準備中です。原文の説明を表示しています。
Use the project wiki as RAG knowledge source — search wiki pages to answer codebase questions before exploring raw files
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Query the project wiki to answer questions about the codebase. The wiki is a pre-compiled knowledge base — searching it is faster and more accurate than exploring raw source files.
/omcustom:wiki-rag "how does orchestration work?"
/omcustom:wiki-rag "what agents handle database tasks?"
/omcustom:wiki-rag "explain the compilation metaphor"
Also triggered automatically by intent-detection when a user asks about project architecture, agent roles, skill purposes, or rule behavior.
Read and parse wiki/index.yaml to get the full page catalog. If wiki/index.yaml does not exist, report:
[wiki-rag] Wiki not initialized. Run /omcustom:wiki first to create wiki/index.yaml.
Then abort.
From the question and the index, identify 3–7 most relevant wiki pages. Selection criteria:
| Criterion | Detail |
|---|---|
| Title/summary keyword match | Direct term overlap with the question |
| Category relevance | Architecture questions → architecture/; agent questions → agents/ |
| Cross-reference chains | Follow [[related]] links to surface adjacent context |
Read identified pages in parallel per R009. Extract sections relevant to the question; ignore unrelated sections to control context size (R013).
Compose a direct answer citing wiki pages inline:
[wiki/architecture/orchestration.md] 참조 — 메인 대화가 유일한 오케스트레이터...
Answer format:
[wiki/path/to/page.md])After synthesizing, assess whether the wiki alone was sufficient.
| Coverage Level | Condition | Action |
|---|---|---|
| Full | Wiki pages answer the question completely | Return wiki-sourced answer |
| Partial | Wiki covers some aspects; gaps remain | Supplement with raw codebase exploration (Read/Glob/Grep); offer to ingest |
| Miss | Wiki has no relevant pages | Full raw exploration; offer to create wiki page |
If raw file exploration was needed, offer to persist the new knowledge:
[wiki-rag] This answer required raw file exploration. Save findings to wiki? [Y/n]
If yes: delegate wiki page creation/update to the wiki-curator agent (R010 — orchestrator delegates all wiki writes).
Insert into wiki/log.duckdb:
duckdb wiki/log.duckdb "INSERT INTO wiki_log (operation, target, pages_consulted, coverage, details) VALUES ('query', '{question}', N, 'full/partial/miss', '{\"fallback\": false, \"new_page_created\": false}');"
Log writes are delegated to a subagent (R010).
The following trigger patterns route user questions to wiki-rag automatically:
| Trigger Keywords | Language | Confidence | Action |
|---|---|---|---|
| "어떻게 작동", "how does X work" | KO/EN | 85% | wiki-rag |
| "무슨 에이전트", "which agent" | KO/EN | 80% | wiki-rag |
| "규칙", "rule R0XX" | KO/EN | 75% | wiki-rag |
| "아키텍처", "architecture" | KO/EN | 90% | wiki-rag |
| "워크플로우", "workflow" | KO/EN | 85% | wiki-rag |
Patterns should be registered in .claude/skills/intent-detection/patterns/agent-triggers.yaml when that file is updated.
| Wiki Coverage | Action |
|---|---|
| Full (answer from wiki alone) | Return wiki-sourced answer |
| Partial (wiki + raw files needed) | Supplement with raw exploration, offer to ingest findings |
| Miss (wiki has nothing relevant) | Full raw exploration, offer to create new wiki page |
For partial and miss cases: always acknowledge what the wiki covered before pivoting to raw exploration. Do not silently fall back.
| Rule | Requirement |
|---|---|
| R000 | Answers to user in Korean; wiki content and citations reference English file paths |
| R009 | Parallel reads for identified wiki pages (Step 3) |
| R010 | All wiki write operations (log.duckdb, new pages) delegated to subagents |
| R013 | Ecomode: return concise answers when context pressure is high; suppress "See also" section |
[wiki/agents/mgr-creator.md]| Skill | Role |
|---|---|
wiki | Builds and maintains the wiki (ingest, update, lint) |
wiki-rag | Queries the wiki as a RAG source; surfaces gaps; triggers ingest offers |
wiki-rag is the read-path; wiki is the write-path. They share wiki/index.yaml and wiki/log.duckdb as the coordination layer.
| Rule / Skill | Integration |
|---|---|
| R009 | Parallel page reads in Step 3 |
| R010 | Log writes and wiki page creation delegated to subagents |
| R000 | Korean user responses; English wiki content and paths |
| R013 | Ecomode: suppress extended "See also" section; summary answer only |
| R015 | Intent detection routes architecture/agent/rule questions here at 75–90% confidence |
| wiki | Counterpart write-path skill; wiki-rag triggers ingest offers to wiki when gaps found |
| intent-detection | Registers trigger patterns for auto-routing user questions to wiki-rag |
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Pre-action boundary checking — validates agent tool calls against declared capabilities and task contracts
日本語の概要は準備中です。原文の説明を表示しています。
Auto-detect project context and optimize harness — deactivate unused agents/skills, suggest missing experts, generate project profile
日本語の概要は準備中です。原文の説明を表示しています。
Adversarial code review using attacker mindset — trust boundary, attack surface, business logic, and defense evaluation
日本語の概要は準備中です。原文の説明を表示しています。
Apache Airflow best practices for DAG authoring, testing, and production deployment
日本語の概要は準備中です。原文の説明を表示しています。
Alembic migration patterns for naming conventions, safety checks, expand-contract, env.py configuration, and CI integration
日本語の概要は準備中です。原文の説明を表示しています。
Pre-routing ambiguity analysis — scores request clarity and asks clarifying questions when needed (inspired by ouroboros)
日本語の概要は準備中です。原文の説明を表示しています。