Home / Commands / alirezarezvani/claude-skills

wiki-init

Bootstrap a fresh LLM Wiki vault with the three-layer structure, schema files, and starter templates. Usage /wiki-init <path> --topic "<topic>" [--tool all|claude-code|codex|cursor|antigravity]

commandLicense: MIT Source: alirezarezvani/claude-skills

Install

Copy this folder into your Claude Code project (needs Node.js):

curl -fsSL --create-dirs -o .claude/commands/wiki-init.md https://raw.githubusercontent.com/alirezarezvani/claude-skills/HEAD/commands/wiki-init.md

Or install it for every project:

curl -fsSL --create-dirs -o ~/.claude/commands/wiki-init.md https://raw.githubusercontent.com/alirezarezvani/claude-skills/HEAD/commands/wiki-init.md

File content

Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source β†—

---
name: wiki-init
description: Bootstrap a fresh LLM Wiki vault with the three-layer structure, schema files, and starter templates. Usage /wiki-init <path> --topic "<topic>" [--tool all|claude-code|codex|cursor|antigravity]
---
<!-- canonical copy: engineering/llm-wiki/commands/wiki-init.md β€” keep in sync -->

# /wiki-init

Bootstrap a new LLM Wiki vault. Creates `raw/`, `wiki/{entities,concepts,sources,comparisons,synthesis}`, the index and log, and installs the schema file(s) for your LLM CLI of choice.

## Usage

```
/wiki-init <path> --topic "<one-line topic>"
/wiki-init <path> --topic "<topic>" --tool <claude-code|codex|cursor|antigravity|opencode|gemini-cli|all>
/wiki-init <path> --topic "<topic>" --force    # overwrite non-empty dir
```

## Examples

```
/wiki-init ~/vaults/research --topic "LLM interpretability"
/wiki-init ./book-wiki --topic "The Power Broker β€” Robert Caro" --tool all
/wiki-init ~/vaults/founders --topic "SaaS founder playbook" --tool codex
```

## What it creates

```
<path>/
β”œβ”€β”€ raw/
β”‚   └── assets/
β”œβ”€β”€ wiki/
β”‚   β”œβ”€β”€ index.md              # from template
β”‚   β”œβ”€β”€ log.md                # from template
β”‚   β”œβ”€β”€ entities/
β”‚   β”œβ”€β”€ concepts/
β”‚   β”œβ”€β”€ sources/
β”‚   β”œβ”€β”€ comparisons/
β”‚   β”œβ”€β”€ synthesis/
β”‚   └── .templates/           # page templates for reference
β”œβ”€β”€ CLAUDE.md                 # if --tool claude-code or all
β”œβ”€β”€ AGENTS.md                 # if --tool codex|cursor|antigravity|opencode|gemini-cli|all
β”œβ”€β”€ .cursorrules              # if --tool cursor or all
└── .gitignore
```

## Next steps

After init:
1. Open the vault in Obsidian
2. Drop a source into `raw/`
3. Run `/wiki-ingest raw/<your-file>`

## Script

- `engineering/llm-wiki/skills/llm-wiki/scripts/init_vault.py`

## Skill Reference

β†’ `engineering/llm-wiki/skills/llm-wiki/SKILL.md`