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.
npx agentmods add instructions/rarce/git-wiki/claude-mdgit clone --depth 1 https://github.com/rarce/git-wikiWhat 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 | $0.01166 | $0.01166 |
| Opus 5 | $0.00583 | $0.00583 |
| Sonnet 5 | $0.00233 | $0.00233 |
| Haiku 4.5 | $0.00117 | $0.00117 |
Grade C, and why
git-wiki CLAUDE.md scanned grade C with 2 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 2d 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
- `install.sh` — one-shot bootstrap run by end users via `curl | bash`. Creates Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- `install.sh` — one-shot bootstrap run by end users via `curl | bash`. Creates How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
What this repo is
This repo distributes the git-wiki Agent Skill and its installer. It is
not itself a wiki. Do not run wiki operations (ingest/query/lint) here —
those run in a user's wiki repo after they install the skill. Working here
means editing the skill definition, the installer, and the scaffold templates.
Two distinct audiences, easy to confuse:
- This repo's
AGENTS.md— contribution rules for editing this repo. skills/git-wiki/assets/wiki-scaffold/CLAUDE.md— the schema that gets copied into a user's wiki and loaded there. Editing it changes the conventions every newly scaffolded wiki follows; it has no effect on this repo.
Layout
install.sh— one-shot bootstrap run by end users viacurl | bash. Creates (GitHub or local-only) a wiki repo, runsnpx skills add rarce/git-wiki, then invokes the scaffolder. Callsgit,npm,npx,qmd, optionallygh.skills/git-wiki/SKILL.md— the skill: frontmatter, trigger rules, and the ingest/query/lint procedures the agent follows.skills/git-wiki/scripts/setup.sh— the scaffolder. Run from inside an existing git repo that already contains the skill; lays out the wiki files and registers withqmd. It must never create/clone/publish a repo or install packages — that boundary is enforced and load-bearing (see CHANGELOG security notes).skills/git-wiki/assets/wiki-scaffold/— templates (CLAUDE.md,config.yml,index.md,log.md,README.md,gitattributes,gitignore) copied into the user's wiki bysetup.sh.{{DATE}}and{{REPO}}placeholders are substituted at scaffold time ({{REPO}}becomes theqmdcollection / named-index name).scripts/— demo tooling (record-demo.sh,compact-cast.py); regeneratesassets/demo.gifand.castfiles. Not part of the shipped skill.
Validation
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.
- 2d ago First seen · 90 lines · 1,166 tokens per session scan C 6a58be1a2251
git-wiki CLAUDE.md is an instructions file published in the GitHub repository rarce/git-wiki (21 stars, last pushed 3mo ago), licensed MIT. It adds 1,166 tokens to every session, about $0.0058 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
pi-llm-wiki AGENTS.md
Instructions for zosmaai/pi-llm-wiki, covering agents.md, project, tech stack, file layout and conventions.
mindbase-llm-wiki CLAUDE.md
Claude Code instructions for frankchu91/mindbase-llm-wiki, covering mindbase — north star for claude code, product thesis (one paragraph), the 3-layer architecture (from karpathy), the 3 operations (from karpathy) and special files (from karpathy).
zissa-wiki CLAUDE.md
Instructions for MetamusicX/zissa-wiki, covering claude.md — research wiki schema, identity, architecture, folder conventions and raw/.
obsidian-ai-second-brain CLAUDE.md
Instructions for helloianneo/obsidian-ai-second-brain, covering personal llm wiki, 目录职责, 两个特殊文件(必须维护), 三个触发行为 and 触发 1:ingest(录入素材).
VLM-wiki AGENTS.md
Instructions for VeniVeci/VLM-wiki, covering vlm wiki agent, core philosophy, architecture, special files and model configuration.
llm-wiki-pm AGENTS.md
Instructions for anh-chu/llm-wiki-pm, covering llm wiki pm — universal agent contract, wiki path resolution, orient protocol (mandatory before writes), source attribution and core operations summary.