wiki-init

Bootstraps an LLM Wiki layout with schema, templates, and gitignore rules in a repository.

20|2|Updated May 16, 2026
One-click install
npx skills add https://github.com/reddb-io/red-skills --skill wiki-init-reddb-io
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: wiki-init
Source: https://github.com/reddb-io/red-skills/tree/main/plugins/memory/skills/core/wiki-init
Command: npx skills add https://github.com/reddb-io/red-skills --skill wiki-init-reddb-io

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Setting up a persistent, agent-maintained knowledge base inside a repository requires consistent directory structure, schema conventions, and documentation wiring that is tedious to create by hand. This Skill automates that one-time bootstrap so future sessions can ingest sources, query, and lint against a stable wiki. ## Core Features & Use Cases - Guided three-question interview: Captures the wiki's domain, expected source types (web articles, PDFs, transcripts, notes), and solo/team voice before writing anything. - Scaffolded layout: Creates .red/wiki/ (raw, pages, index.md, log.md) and renders .red/agents/wiki.md from bundled schema templates with placeholder substitution. - Repository integration: Appends .red/wiki/ to .gitignore and registers a ### Wiki block under ## Agent skills in CLAUDE.md or AGENTS.md. - Use Case: A researcher wants an incrementally maintained wiki of papers and articles in their repo. They run the init once, answer three questions, approve the preview, and immediately start ingesting sources with /wiki ingest. ## Quick Start Ask the agent to initialize the LLM Wiki in this repository and answer its three setup questions about domain, source types, and voice.

Frequently Asked Questions about wiki-init

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up an LLM-maintained wiki in my repository?▼

Run the wiki-init skill once per repo. It asks three questions about domain, source types, and voice, previews the changes, then creates the .red/wiki/ layout, the .red/agents/wiki.md schema, and registers the wiki in CLAUDE.md or AGENTS.md.

What files and directories does wiki-init create?▼

It creates .red/wiki/ with raw/, raw/assets/, pages/, index.md, and log.md, plus .red/agents/wiki.md rendered from a schema template. It also appends .red/wiki/ to .gitignore and adds a Wiki entry under Agent skills in CLAUDE.md or AGENTS.md.

Is the wiki content committed to git?▼

No. The entire .red/wiki/ directory is appended to .gitignore during setup, so wiki content stays local-only and is never committed. Backup and sync across machines is the user's responsibility.

Can I re-run wiki-init on a repo that already has a wiki?▼

Re-running is blocked by default to prevent overwriting an existing .red/wiki/ directory. The skill refuses to proceed unless the user explicitly passes a --reset flag to start over.

What source types can the wiki ingest after initialization?▼

The accepted source types are defined during setup and typically include web articles via URL fetch, PDFs, transcripts, and personal markdown notes. These choices are written into the schema so /wiki ingest knows what to support.