git-wiki CLAUDE.md

Repository instructions for git-wiki, a tool that helps create and maintain a wiki from a Git repository. They explain the project layout, installer, validation, and the difference between the tool’s own files and files copied into a user’s wiki.

In plain words
What is it for?
Use them when changing the git-wiki skill, installer, or wiki templates, and when checking how a new wiki is created and configured.
Why use it?
They prevent contributors from running wiki operations in the wrong repository or editing a template when they meant to change the tool itself. They also clarify the setup commands and environment settings involved.

Instructions file

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 instructions/rarce/git-wiki/claude-md
Clone the repo
git clone --depth 1 https://github.com/rarce/git-wiki
Per session 1,166 This file is loaded in full into every session.
When invoked 1,166 The same file — it is already loaded in full.
Security scan C 2 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.01166 $0.01166
Opus 5 $0.00583 $0.00583
Sonnet 5 $0.00233 $0.00233
Haiku 4.5 $0.00117 $0.00117

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

Security

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
CLAUDE.md · 90 lines

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 via curl | bash. Creates (GitHub or local-only) a wiki repo, runs npx skills add rarce/git-wiki, then invokes the scaffolder. Calls git, npm, npx, qmd, optionally gh.
  • 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 with qmd. 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 by setup.sh. {{DATE}} and {{REPO}} placeholders are substituted at scaffold time ({{REPO}} becomes the qmd collection / named-index name).
  • scripts/ — demo tooling (record-demo.sh, compact-cast.py); regenerates assets/demo.gif and .cast files. Not part of the shipped skill.

Validation

Read the full file on GitHub · 90 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. 2d ago First seen · 90 lines · 1,166 tokens per session scan C 6a58be1a2251

Subscribe to this mod's changes

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.