Skip to content
Back to skills

Wiki Init

ASecurity

Bootstrap a CodeWiki vault — domain-aware SCHEMA.md, index.md, log.md, and ~/.skillwiki/.env binding. Use when starting a fresh vault.

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 29, 2026
researchgit

Works with

  • cli

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add karlorz/llm-wiki --skill wiki-init --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Wiki Init?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Wiki Init
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/karlorz-wiki-init/badge)](https://www.skillsdirectory.com/skills/karlorz-wiki-init)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: wiki-init
description: Bootstrap a CodeWiki vault — domain-aware SCHEMA.md, index.md, log.md, and ~/.skillwiki/.env binding. Use when starting a fresh vault.
---

# 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

0. **Resolve target.** Run `skillwiki path --init-time` to see what target the CLI will pick. Confirm with the user, or override with `--target <dir>`.
1. Verify target is empty or has no SCHEMA.md.
2. Ask the domain question: "What knowledge domain will this vault cover? Be specific."
3. Propose a 10–15 tag taxonomy tailored to the domain. Confirm or accept the user's revision.
4. Ask the language question: "What language should generated page prose use? Default is `en`. Aliases like `chinese-traditional` or `zh-Hant` are accepted."
5. Run `skillwiki init --target <dir> --domain "<answer>" --taxonomy "<comma list>" --lang "<lang>"`.
   Init always writes or merges a vault `.gitignore` for GitHub-sync hygiene
   (work-complete journals, last-op, locks, memory/graph caches). It does **not**
   ignore `session-brief.*` or `agent-memory-trends/`. Pass `--no-gitignore` only
   when the user explicitly does not want that file. For an existing vault:
   `skillwiki init --target <dir> --domain existing --write-gitignore`.
6. Report the installed Web Clipper assets at
   `_Templates/web-clipper/llm-wiki-clippings.json` and
   `_Templates/web-clipper/readme.txt`. For the file-level clip channel, create
   or select the dedicated Obsidian vault `~/Obsidian/clip-outbox` (never
   `~/wiki`), with `raw/articles` and `raw/assets`, attachment folder
   `raw/assets`. Tell the user to open Obsidian Web Clipper Settings, import the
   JSON, select that outbox vault, keep **Add to Obsidian**, and repeat the
   import for every browser profile. Re-init preserves existing customized
   copies, including short files. A new package version never silently updates
   browser extension storage.
7. Explain that the generic template preserves `{{content}}`. The clip-outbox
   worker localizes required v1 HTTPS images before freeze, writes
   `![[raw/assets/...]]` embeds, and uploads `raw/assets/<capture-id>/note.md`.
   `wiki_capture` is not clip ingress. Never use `.txt` as the only index.
   The inbound production SSE listener is a separate attended
   `skillwiki clip-outbox install-or-migrate --load-mirror` job; package
   upgrade never auto-loads it and never watches `~/wiki` as clip input.
8. **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 `--force` not consented.
- `~/.skillwiki/.env` already binds a different vault or language and `--force` not 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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in research →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.