| name | wiki-init |
| description | When the global wiki root is not bound yet, the user asks to set up or switch the knowledge-base folder, or invokes /wiki-init. Not for ingesting documents, querying existing wiki content, capturing chat, or restructuring. |
| argument-hint | [path] |
| disable-model-invocation | true |
wiki-init
Bind the user's global Wiki folder. See supporting/first-run.md when needed.
Steps
- Run
wiki status. If already bound and user did not ask to switch, show status and stop.
- Ask for folder path (empty or existing). Confirm once.
- Run
wiki init <path>.
- Run
wiki status and show wiki index (first 30 lines).
Input
- Optional path; otherwise ask user.
Output
~/.wiki/config.json updated
- Scaffold + inventory for existing files
Stop
wiki status shows bound: true, or user cancels.