llmwiki-init

llmwiki-init is a skill for Claude Code, Codex from luna-jmy/thinkdokit-skills. It costs 68 tokens per session (1,278 once invoked), scanned A, original, MIT.

A setup tool for a Markdown-based LLM wiki, meaning a local knowledge base that an AI can maintain over time. It creates the wiki folders, indexes, logs, content manifest, and search setup needed for later note processing.

In plain words
What is it for?
Use it to start an Obsidian-compatible wiki from notes, books, papers, or articles, with separate source and generated-content areas.
Why use it?
It replaces scattered notes and unclear file conventions with a consistent workspace for storing and finding generated knowledge. It also helps protect original source material from accidental edits.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to start an Obsidian-compatible wiki from notes, books, papers, or articles, with separate source and generated-content areas.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luna-jmy/thinkdokit-skills/llmwiki-init
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add luna-jmy/thinkdokit-skills --skill llmwiki-init
Clone the repo
git clone --depth 1 https://github.com/luna-jmy/thinkdokit-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for llmwiki-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/luna-jmy/thinkdokit-skills/llmwiki-init/github.svg)](https://agentmods.dev/skills/luna-jmy/thinkdokit-skills/llmwiki-init)
Your own site
<a href="https://agentmods.dev/skills/luna-jmy/thinkdokit-skills/llmwiki-init"><img src="https://agentmods.dev/badge/skills/luna-jmy/thinkdokit-skills/llmwiki-init/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for llmwiki-init

Your own site · 80×15
<a href="https://agentmods.dev/skills/luna-jmy/thinkdokit-skills/llmwiki-init"><img src="https://agentmods.dev/badge/skills/luna-jmy/thinkdokit-skills/llmwiki-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,278 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.01278
Opus 5 $0.00034 $0.00639
Sonnet 5 $0.00014 $0.00256
Haiku 4.5 $0.00007 $0.00128

Measured 11d ago against content hash 72a932208636, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

llmwiki-init scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

llmwiki-init/SKILL.md · 170 lines

How it starts

The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LLM Wiki 初始化

在当前项目中建立一个由 LLM 维护的持久化 wiki。这个技能适用于第一次搭建知识库结构时使用。

目标

  • 创建稳定的 wiki/ 目录结构
  • 明确原始来源目录和生成内容目录的边界
  • 初始化 index.mdlog.md.manifest.json
  • 在可用时接入 qmd,为后续搜索和维护做准备
  • 让后续的 llmwiki-ingestllmwiki-searchllmwiki-optimizellmwiki-health 有统一约定

何时使用

  • 用户要把一批 Markdown 笔记、论文、文章沉淀成可持续维护的 wiki
  • 用户想在 Obsidian 或本地仓库里搭建“会持续生长”的知识库
  • 项目里还没有 wiki/ 目录,或者只有零散页面、缺少统一结构

工作原则

  • 原始来源目录是只读的,LLM 不应修改它们
  • wiki/ 是 LLM 生成和维护的产物目录
  • 所有 wiki 页面都应使用 Obsidian 兼容的 [[wikilinks]]
  • wiki/ 下除 index.mdlog.md 之外的所有 Markdown 页面都必须包含 #llmwiki 标签,供 spaced repetition 按标签筛选复习
  • 文件名统一使用小写 kebab-case
  • 初始化时如果发现已有非空 wiki,应先判断是否增量兼容,避免覆盖用户内容

推荐目录约定

原始来源目录:

300 Resources/
Books/
200 Areas/

生成的 wiki 目录:

wiki/
├── index.md
├── log.md
├── .manifest.json
├── entities/
├── concepts/
├── stories/
├── sources/
├── comparisons/
└── synthesis/

如果用户已有等价目录结构,可以沿用,但要在最终说明里明确映射关系。

执行步骤

1. 预检查

  • 检查 wiki/ 是否已存在
  • 检查 wiki/index.mdwiki/log.mdwiki/.manifest.json 是否已存在
  • 检查原始来源目录是否存在;缺失时可以创建空目录,或者按用户当前仓库结构调整
  • 如果已有非空 wiki,先识别是“首次初始化”还是“修复结构”

2. 创建基础文件

初始化以下文件:

  • wiki/index.md
  • wiki/log.md
  • wiki/.manifest.json

建议模板:

wiki/index.md

# Wiki Index

## Entities

## Concepts

## Stories

## Sources

## Comparisons

## Synthesis

wiki/log.md

# Wiki Log

wiki/.manifest.json

{}

3. 定义页面规范

每个 wiki 页面都应包含 YAML frontmatter:

---
title: 页面标题
type: entity | concept | source | story | comparison | synthesis
tags: [llmwiki, 标签1, 标签2]
sources: [相对路径/到/原始文件.md]
created: YYYY-MM-DD
updated: YYYY-MM-DD
---

正文中:

  • 使用 [[页面标题]] 建立交叉引用
  • 页面内容优先保留综合信息,而不是整段抄录原文
  • 尽量让链接双向可达
  • 在正文开头或合适位置显式写入 #llmwiki,确保 Obsidian 可按标签筛选;index.mdlog.md 不需要这个标签

4. 配置搜索能力

优先检查 qmd 是否可用:

  • 如果可用,将 wiki/ 注册为集合,例如 wiki
  • 运行索引更新
  • 如支持语义嵌入,可选执行 qmd embed

如果 qmd 不可用:

  • 明确告知用户可以继续使用此工作流
  • 后续搜索退化为 index.md + 文件扫描 + 精确检索

5. 记录初始化结果

wiki/log.md 追加一条初始化记录,说明:

Read the full file on GitHub · 170 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 170 lines · 68 tokens per session scan A 72a932208636

Subscribe to this mod's changes

llmwiki-init is a skill published in the GitHub repository luna-jmy/thinkdokit-skills (5 stars, last pushed 5mo ago), licensed MIT. It adds 68 tokens to every session and 1,278 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens