wiki-focus
Installation
SKILL.md
wiki-focus
Manage which wiki documents the agent sees. The focus list lives in
AGENTS.md at the project root under ### Wiki Focus. Agents read
AGENTS.md at session start, so no manual trigger is needed.
Prerequisites
| # | Check | On failure |
|---|---|---|
| 1 | .wiki symlink exists |
"Run /wiki-init or /wiki-connect first" |
| 2 | AGENTS.md exists with ## Wiki section |
"Run /wiki-init or /wiki-connect first" |
How It Works
AGENTS.md (project root)
└── ## Wiki
└── ### Wiki Focus
- .wiki/CONTRIBUTING.md
- .wiki/common/prd.md
- .wiki/projects/my-app/architecture.md
Workflow
1. Show current focus
Read AGENTS.md, find ### Wiki Focus section.
List documents. Check file existence, flag missing ones.
2. Add documents
- Read current Wiki Focus list from AGENTS.md
- Add the new path (
.wiki/relative from project root) - Write back using the Edit tool
- Confirm the addition
3. Remove documents
Use AskUserQuestion (multiSelect) to let user choose which to remove. Edit AGENTS.md directly to remove selected entries.
4. Clear all
Remove all entries under ### Wiki Focus, leaving the section header.
5. Agent recommendation
When the agent detects relevant docs during work:
- Browse
.wiki/for related files - Suggest via AskUserQuestion (multiSelect)
- Edit AGENTS.md to add selected documents
Important
- Always use the Edit tool to modify AGENTS.md
- Paths should be
.wiki/relative from project root - Preserve all other content in AGENTS.md when editing
Related skills