wiki-init
When This Skill Activates
- User asks to create, build, or start a vault, wiki, or knowledge base.
- The resolved vault path (see step 0) does not yet contain SCHEMA.md.
Pre-orientation reads
None for the first run.
Steps
- Resolve target. Run
skillwiki path --init-timeto see what target the CLI will pick. Confirm with the user, or override with--target <dir>. - Verify target is empty or has no SCHEMA.md.
- Ask the domain question: "What knowledge domain will this vault cover? Be specific."
- Propose a 10–15 tag taxonomy tailored to the domain. Confirm or accept the user's revision.
- Ask the language question: "What language should generated page prose use? Default is
en. Aliases likechinese-traditionalorzh-Hantare accepted." - Run
skillwiki init --target <dir> --domain "<answer>" --taxonomy "<comma list>" --lang "<lang>". Init always writes or merges a vault.gitignorefor GitHub-sync hygiene (work-complete journals, last-op, locks, memory/graph caches). It does not ignoresession-brief.*oragent-memory-trends/. Pass--no-gitignoreonly when the user explicitly does not want that file. For an existing vault:skillwiki init --target <dir> --domain existing --write-gitignore. - Report the installed Web Clipper assets at
_Templates/web-clipper/llm-wiki-clippings.jsonand_Templates/web-clipper/readme.txt. Tell the user to open Obsidian Web Clipper Settings, import the JSON, and repeat the import for every browser profile that should capture into the vault. Re-init preserves existing customized copies, including short files. - Explain that the generic template preserves
{{content}}; remote HTTP(S) images remain external dependencies. An attended local-asset capture may choose any URL-friendly path underraw/assets/, but it must write the asset, emit an explicit vault-qualified![[raw/assets/...]]embed, verify resolution/preview, and only then finalize the immutable raw note. Also write a sibling Markdown note (listings.md,note.md, or a dated.md) that embeds each file. Never use.txtas the only index. - Suggest first sources. Propose 3–5 initial sources (URLs, papers, articles) appropriate to the domain. Prompt the user to provide the first one to ingest, then hand off to wiki-ingest.
Stop conditions
- Target non-empty and
--forcenot consented. ~/.skillwiki/.envalready binds a different vault or language and--forcenot consented.
Forbidden
- Modifying anything outside the target directory or
~/.skillwiki/.env. - Writing to
~/.hermes/.env(read-only fallback). - Running any LLM-driven content generation in this skill.