wiki

wiki is a skill for Claude Code, Codex from Illuminated2020/agentic-wiki. It costs 72 tokens per session (1,354 once invoked), scanned A, original, MIT.

Instructions for operating a personal Obsidian wiki with help from a language model. Obsidian is a note-taking app that stores linked notes as files; these instructions cover adding, finding, checking, updating, and reorganising those notes.

In plain words
What is it for?
Use them when importing material, searching the wiki, checking note quality, updating pages, managing wiki tasks or ideas, reorganising the note structure, or preparing wiki content for sharing.
Why use it?
They provide one set of rules for locating the wiki and keeping its notes consistent. They also route different requests to the right workflow and prevent updates from using the wrong source or section.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/illuminated2020/agentic-wiki/wiki
Any agent
npx skills add Illuminated2020/agentic-wiki --skill wiki
Clone the repo
git clone --depth 1 https://github.com/Illuminated2020/agentic-wiki

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 wiki

README.md
[![agentmods](https://agentmods.dev/badge/skills/illuminated2020/agentic-wiki/wiki.svg)](https://agentmods.dev/skills/illuminated2020/agentic-wiki/wiki)
Your own site
<a href="https://agentmods.dev/skills/illuminated2020/agentic-wiki/wiki"><img src="https://agentmods.dev/badge/skills/illuminated2020/agentic-wiki/wiki.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,354 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00072 $0.01354
Opus 5 $0.00036 $0.00677
Sonnet 5 $0.00014 $0.00271
Haiku 4.5 $0.00007 $0.00135

Measured 5d ago against content hash 021277a36731, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

wiki 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 5d 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.

.claude/skills/wiki/SKILL.md · 98 lines

How it starts

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

Wiki Skill

操作用户的多域个人 Obsidian LLM Wiki。负责定位仓库、选择操作分支、加载权威协议并执行工作流。

Contract

按以下边界维护单一事实源:

  • 本 skill:意图路由、操作编排、Lint 执行方式和硬防线。
  • <WIKI_ROOT>/CLAUDE.md:项目边界、工作流、通用页面契约和全局维护规则。
  • <WIKI_ROOT>/sources/CLAUDE.md<WIKI_ROOT>/<知识域>/CLAUDE.md:局部页面类型、字段、正文结构和专属 workflow。

skill 与协议冲突时,以协议为准。不要在 skill 里维护第二份页面契约。

Wiki Root

按以下优先级定位 WIKI_ROOT

  1. 如果环境变量 WIKI_ROOT 已设置,使用其指向的绝对路径。
  2. 否则解析 skill 软链得到 canonical 实文件路径,并从其所在目录运行 git rev-parse --show-toplevel
  3. 如果仍失败,向上查找同时含 CLAUDE.mdpurpose.mdindex.md 的目录。

定位后必须验证根目录同时存在 CLAUDE.mdpurpose.mdindex.md。如果用户显式设置的 WIKI_ROOT 无效,立即说明配置错误并停止,不得静默回退到其他目录。不得在入 git 文件中硬编码某台机器的 vault 绝对路径。

Activation

  1. 读取 <WIKI_ROOT>/purpose.mdCLAUDE.mdindex.md
  2. Query:读取 references/wiki-query.md、相关知识域 index.md,再读取最相关页面。
  3. Ingest / Update:读取 sources/CLAUDE.md(涉及来源时)、相关知识域 CLAUDE.mdindex.md
  4. Lint:根据被检查页面的路径读取对应域 CLAUDE.md,再按当前 vault 的实际结构执行检查。
  5. Restructure:再读取 references/wiki-structure.md

渐进式加载限制内容阅读,不限制命令式结构检查。

Intent Routing

用户信号 分支
分享文章/链接并要求处理、入库、ingest Ingest
查 wiki、询问 wiki 里有什么 Query
lint、检查 wiki、健康检查 Lint
更新或修正已有页面 Update
新增、删除、重命名知识域或调整目录 Restructure
wiki todo / wiki idea 读取对应文件和域规则;写入前取得用户确认
生成公开文章、对外总结、导出材料 Query + 分享边界检查

Operation Execution

  • Ingest / Query / Update:按根 CLAUDE.md 的对应工作流执行;页面表示以所属域或 sources/CLAUDE.md 为准。
  • Restructure:额外读取 references/wiki-structure.md。只把可路由内容目录当作知识域;sources/logs/ 是基础设施层。
  • Lint:根据当前 vault 实际结构选择 rgfind 等只读命令,检查结构、frontmatter、索引覆盖、日志格式、Wikilink、来源追溯、overview 和跨域一致性。不得依赖固定脚本或假定目录一定非空。默认只报告;只有用户明确要求修复时才修改文件。

Non-Negotiables

  • sources/raw/ 只允许新建,不修改已有文件。
  • ideas/writing.mdideas/products.mdtodo.md 只有用户确认后才可写入。
  • 新增、删除、移动或重命名页面时更新对应 index;仅修改既有页面正文或 frontmatter 时只验证索引覆盖。
  • 所有写操作追加 logs/YYYY-MM.md;月度日志本身严格追加,不回改顶部元数据。
  • 对外输出检查 share_scopesensitive 默认不外发,private 需用户确认。
  • Query 不得绕过已有 wiki 页面直接凭模型常识回答。
  • Ingest 必须基于完整 raw 原文;对不确定事实联网查证。

Read the full file on GitHub · 98 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 98 lines · 72 tokens per session scan A 021277a36731

Subscribe to this mod's changes

wiki is a skill published in the GitHub repository Illuminated2020/agentic-wiki (11 stars, last pushed 1mo ago), licensed MIT. It adds 72 tokens to every session and 1,354 once invoked, about $0.0004 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-30.

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

agent-memory

../../../engineering/agent-memory/skills/agent-memory/SKILL.md.

alirezarezvani/claude-skills · 0 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