| name | wiki-ingest |
| description | Ingest a source into the project wiki. Point at a file, PR, or doc and the wiki-curator extracts knowledge and updates relevant pages. |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"maintainers","workflow":"project-wiki"} |
Wiki Ingest
When to Use
- "Add this to the wiki"
- "Ingest this PR/file/doc into the wiki"
- "Update the wiki with these changes"
- "What did this PR change?" (ingest + query)
Workflow
- Identify the source to ingest (user provides file path, PR number, or topic)
- If
.opencode/wiki/index.md doesn't exist, ask: "No initialized wiki found. Bootstrap one by scanning the project?"
- Invoke the wiki-curator agent with the ingest operation
- Report what pages were created or updated
Bootstrap (First Run)
If no initialized wiki exists (there is no .opencode/wiki/index.md), the wiki-curator will:
- Scan the project structure
- Read key files (README, AGENTS.md, main entrypoints)
- Create architecture/overview.md
- Create entity pages for major modules
- Initialize index.md and log.md