description: "Research + persistent knowledge base. init|recall|ingest|retro|lint|status|digest. No args = recall with focus."
argument-hint: "[init|recall|ingest|retro|lint|status|digest] [focus|source|query]"
section: Knowledge
topLevelCli: true
/wiki
Use the wiki skill; do not assume a filesystem install path.
Parse $ARGUMENTS for a subcommand and focus:
No args / plain text → recall: search wiki for relevant pages and raw sources, synthesize answer. The text is the query.
init [topic] → init: bootstrap ~/Notes/Wiki/ if missing, set topic/schema.
recall [query] → recall: search compiled pages + raw sources + legacy ~/.pi/research/, then synthesize.
ingest <source> → ingest: register + capture + compile source. Source can be URL, repo URL, archive URL, file path, directory, pasted text, docs/code/concepts, or old ~/.pi/research item. Use web_fetch for readable URLs when available; use git_clone_safe for repos when available.
retro [insight] → retro: save an atomic insight from the current session as a wiki page.
---
description: "Research + persistent knowledge base. init|recall|ingest|retro|lint|status|digest. No args = recall with focus."
argument-hint: "[init|recall|ingest|retro|lint|status|digest] [focus|source|query]"
section: Knowledge
topLevelCli: true
---
# /wikiUse the `wiki` skill; do not assume a filesystem install path.
Parse `$ARGUMENTS` for a subcommand and focus:
- No args / plain text → **recall**: search wiki for relevant pages and raw sources, synthesize answer. The text is the query.
- `init [topic]` → **init**: bootstrap `~/Notes/Wiki/` if missing, set topic/schema.
- `recall [query]` → **recall**: search compiled pages + raw sources + legacy `~/.pi/research/`, then synthesize.
- `ingest <source>` → **ingest**: register + capture + compile source. Source can be URL, repo URL, archive URL, file path, directory, pasted text, docs/code/concepts, or old `~/.pi/research` item. Use `web_fetch` for readable URLs when available; use `git_clone_safe` for repos when available.
- `retro [insight]` → **retro**: save an atomic insight from the current session as a wiki page.
- `lint` → **lint**: health check the wiki.
- `status` → **status**: quick stats.
- `digest [daily|weekly]` → **digest**: summarize recent changes.
Follow the skill's rules for each operation. New knowledge lives under `~/Notes/Wiki/`; old `~/.pi/research/` is legacy cache only.