# LLM Wiki Init

> Initialize wiki index directory with SCHEMA.md template.

- Skill: `varlabz/llm-wiki-init` (Agent Skill)
- Install (CLI): `npx skillmds@latest add varlabz/llm-wiki-init`
- Raw SKILL.md: https://api.skillmd.com/api/skills/varlabz/llm-wiki-init/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: varlabz (https://skillmd.com/u/varlabz)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/varlabz/llm-wiki-init

---


# LLM Wiki Initialization

<index_dir> is mandatory for all commands and must specify the directory where the wiki index is stored. 
If not provided, show error and terminate execution.

Create a `SCHEMA.md` template file to define the structure and rules for the wiki index in <index_dir> if it does not exist.
```markdown
<index_dir> is mandatory for all commands and must specify the directory where the wiki index is stored. 
If not provided, show error and terminate execution.

# Wiki directory structure
summary/    # contains summary files with metadata and references to original files
raw/        # contains files with raw content
index.md    # main index file listing all summaries with links
log.md      # log of all actions performed on the wiki index
SCHEMA.md   # defines the structure and rules for the wiki index

# Rules
- Do not copy files to raw/.
- The index: `index.md` file must list all summaries with links to their respective summary files for easy navigation.
- The log: file`log.md` file must record all actions performed on the wiki for audit purposes.
  - All actions must be logged in the format: `## [YYYY-MM-DD] <action> | <file_path> or <one_line_short_description>`.
```



