mindbase

mindbase is a skill for Claude Code from frankchu91/mindbase-llm-wiki. It costs 105 tokens per session (1,074 once invoked), scanned A, original, MIT.

A persistent, project-specific research wiki stored as organized Markdown files. It collects papers, web pages, pasted text, and personal notes into a growing record of what is known.

In plain words
What is it for?
Use it to add sources and decisions, update project context, search existing knowledge, and maintain research pages.
Why use it?
It removes the need to repeatedly reconstruct research context or maintain cross-references by hand. It also helps identify missing links and contradictions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the mb plugin — 1 skill, 12 commands, 5 agents, 1 hook, 1 MCP server shipped together

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/frankchu91/mindbase-llm-wiki/mindbase
Any agent
npx skills add frankchu91/mindbase-llm-wiki --skill mindbase
Clone the repo
git clone --depth 1 https://github.com/frankchu91/mindbase-llm-wiki

Made for: Claude Code.

Or install mb, the plugin that ships this one along with the rest of its 1 skill, 12 commands, 5 agents, 1 hook, 1 MCP server.

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 mindbase

README.md
[![agentmods](https://agentmods.dev/badge/skills/frankchu91/mindbase-llm-wiki/mindbase.svg)](https://agentmods.dev/skills/frankchu91/mindbase-llm-wiki/mindbase)
Your own site
<a href="https://agentmods.dev/skills/frankchu91/mindbase-llm-wiki/mindbase"><img src="https://agentmods.dev/badge/skills/frankchu91/mindbase-llm-wiki/mindbase.svg" alt="Measured on agentmods" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,074 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.1 $0.00105 $0.01074
Opus 5 $0.00053 $0.00537
Sonnet 5 $0.00021 $0.00215
Haiku 4.5 $0.00011 $0.00107

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

Security

Grade A, and why

mindbase 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 6d 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.

apps/plugin/skills/mindbase/SKILL.md · 84 lines

How it starts

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

MindBase: Karpathy's LLM-Wiki Pattern (wiki v2 edition)

You operate as the maintainer of the user's per-project research wiki.


1 — Mission

Build and maintain a compounding knowledge base. The user feeds sources (papers, URLs, daily thoughts). You write structured markdown across README.md + context.md + sources/ so the wiki gets richer with every source.

This is NOT RAG — knowledge accumulates, doesn't get re-derived. Your job is the bookkeeping humans abandon: cross-references, summary updates, contradiction flagging, log keeping.


2 — Per-project layout (memorize this)

~/mindbase-data/projects/<project-id>/
├── README.md           Operations manual — how this project works. User-editable.
├── context.md          Curated truth, regenerated by /mb:build. LLM-owned.
├── index.yaml          Auto-generated nav manifest. Never edit manually.
├── soul.md             OPTIONAL — project identity/mission/voice.
├── sources/
│   ├── contributors/<user>/YYYY-MM-DD.md   Append-only daily entries.
│   ├── research/<slug>.md                   /mb:research output.
│   └── raw/<date>/<id>.{md,meta.json,...}  PDFs, web clips.
├── state/<agent>/...                       Agent-managed, opaque to /mb:build.
├── logs/YYYY-MM-DD.md                      Daily audit log.
└── artifacts/                              Generated outputs.

Project location resolution (in order):

  1. Explicit --project <id> in command args
  2. MINDBASE_PROJECT_ID environment variable
  3. ~/mindbase-data/config.jsoncurrentProjectId
  4. If none → tell user to run /mb:load or /mb:init

Every operation reads via mindbase MCP tools — never grep the wiki manually.


3 — The 4 Operations

3.1 INGEST/CONTRIBUTE — /mb:contribute <text-or-path-or-url>

Input scale calibrates the output:

  • Short user thought (≲ 200 chars, time-anchored, first-person): 1-3 actions — append to today's contributor file + optional concept link. Routing keywords: daily:, concept:, daily+concept: force route.
  • Substantive source (URL / PDF / long paste): full extraction, 5-15 actions touching context.md + sources/research/.
  • Ambiguous middle: decide by content type. Decision/insight → capture scale. Multi-claim narrative → ingest scale.

Read the full file on GitHub · 84 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. 6d ago First seen · 84 lines · 105 tokens per session scan A bbb6000d95b5

Subscribe to this mod's changes

mindbase is a skill published in the GitHub repository frankchu91/mindbase-llm-wiki (95 stars, last pushed 12d ago), licensed MIT. It adds 105 tokens to every session and 1,074 once invoked, about $0.0005 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

llm-wiki

Build and maintain a persistent, interlinked Obsidian-compatible markdown wiki using Karpathy's LLM Wiki pattern. Extension-backed with auto-generated metadata, guardrails, and 14 custom tools (+3 opt-in agent-trajectory tools).

zosmaai/pi-llm-wiki · 52 tokens

wiki-crystallize

Distil a chat thread, research session, or working document into a structured wiki page capturing the current state of knowledge. Always use this skill when the user says /wiki-crystallize, 'save this to my wiki', 'capture what we've worked out', 'write this up as a wiki page', 'update my wiki from this conversation'…

vanillaflava/llm-wiki-skills · 182 tokens

wiki-query

Answer a question using the compiled wiki knowledge base, synthesising a response with [[wikilink]] citations. Always use this skill when the user says /wiki-query, 'what does my wiki say about', 'what do I know about', 'check my notes on', 'search my wiki for', or 'what's the current state of [topic] in my notes'.…

vanillaflava/llm-wiki-skills · 172 tokens

wiki-daily

用于目标 corpus 的今天日记、todo、编程决策、daily compile、rolling synthesis、weekly synthesis、fileback 候选和飞书提醒;可选 daily workflow。.

GYF0311/lorekit · 43 tokens

wiki-fileback

把对话中产生的洞察/决策/事实按主语写回 corpus,追加 timeline 或新建页面。触发词:记一下、存下来、笔记、把刚才那个放进去、fileback、存回知识库。.

GYF0311/lorekit · 59 tokens

corpus-query

从任意项目跨库查询已注册的 LoreKit corpus:点名哪个库(总知识库/某个项目库)就路由哪个库,不点名默认总库。触发词:查总知识库、查我XX库、去XX知识库找。.

GYF0311/lorekit · 64 tokens