Borrowing it
Nothing to install: this file belongs to thaihoc215/wikimind. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/thaihoc215/wikimind/main/CLAUDE.mdgit clone --depth 1 https://github.com/thaihoc215/wikimindWrote 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.
[](https://agentmods.dev/instructions/thaihoc215/wikimind/claude-md)<a href="https://agentmods.dev/instructions/thaihoc215/wikimind/claude-md"><img src="https://agentmods.dev/badge/instructions/thaihoc215/wikimind/claude-md/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.
<a href="https://agentmods.dev/instructions/thaihoc215/wikimind/claude-md"><img src="https://agentmods.dev/badge/instructions/thaihoc215/wikimind/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02532 | $0.02532 |
| Opus 5.5 | $0.01013 | $0.01013 |
| Sonnet 5.5 | $0.00506 | $0.00506 |
| Haiku 4.5 | $0.00253 | $0.00253 |
Grade A, and why
wikimind CLAUDE.md 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 14d 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.
How it starts
The opening of the file, as written. The whole thing — 206 lines — stays where its author put it; the contents beside it link to each section on GitHub.
WikiMind — Agent Instructions
WikiMind is an LLM-powered wiki tool that maintains itself. It has two modes: a CLI (Mode B, calls an LLM provider directly) and an MCP server (Mode A, the AI assistant IS the LLM). Both write to the same .wiki/vault/ directory.
See ARCHITECTURE.md for a full architecture walkthrough.
Build & test
pip install -e . # install with editable mode
pip install -e ".[dev]" # add test deps
pip install -e ".[pdf]" # add optional PDF support
pytest # run all 180 tests (no API keys needed — all LLM calls are mocked)
Requires Python ≥ 3.11. Entry point: wikimind.cli:app (Typer).
Project structure
wikimind/
├── cli.py # Typer CLI — 10 commands, each loads config → WikiStore + LLMClient + Retriever → operation
├── config.py # TOML loader → typed dataclasses (ProjectConfig, LLMConfig, WikiConfig, PathsConfig)
├── wiki.py # WikiStore — ALL filesystem ops (read/write pages, index, log, dedup via SHA256)
├── llm.py # LLMClient + ProviderAdapter (Anthropic / OpenAI / Ollama) — all return (json, in_tok, out_tok)
├── llm_schema.py # Typed frozen dataclasses + parse_*() validators for all LLM tool outputs
├── retrieval.py # Retriever protocol + 3 backends: KeywordIndex / BM25 / Qmd
├── server.py # FastMCP server — 10 tools, path-sandboxed, background qmd embed thread
├── operations/ # Business logic (ingest, query, lint) — no direct LLM calls in CLI commands
└── prompts/ # System prompts + JSON tool schemas for each operation
Core pattern: adding a new operation
Every operation follows a strict 3-part structure:
prompts/X.py—X_SYSTEM_PROMPTstring +X_TOOLJSON schema dictoperations/X.py—def x(store: WikiStore, llm: LLMClient, retriever: Retriever, ...) → XResultcli.py— Typer command that loads config, instantiates dependencies, callsoperations.x()
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.
- 14d ago Changed · +11 lines · +270 tokens per session 53339154b90b
- 2mo ago First seen · 195 lines · 2,262 tokens per session scan A 087032732a7c
wikimind CLAUDE.md is an instructions file published in the GitHub repository thaihoc215/wikimind (2 stars, last pushed 15d ago), licensed MIT. It adds 2,532 tokens to every session, about $0.0101 per session on Opus 5.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.
wikimind CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| wikimind CLAUDE.mdthaihoc215/wikimind | Instructions file | 2 | 15d ago | MIT | A | 2,532 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,086 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 282k | 3d ago | MIT | A | 4,335 | Codex, OpenCode |