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/stepzerolab/research-git/claude-mdgit clone --depth 1 https://github.com/StepzeroLab/research-gitWhat 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.01244 | $0.01244 |
| Opus 5 | $0.00622 | $0.00622 |
| Sonnet 5 | $0.00249 | $0.00249 |
| Haiku 4.5 | $0.00124 | $0.00124 |
Grade A, and why
research-git 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 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.
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 — 51 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 is
research-git (rgit) is a memory system for agentic coding experiments: it captures code ideas as "Feature Capsules" in a graph beside the repo (.rgit/), and later regenerates a chosen idea onto today's codebase. Published to PyPI as research-git, console entry point rgit (rgit.cli:main, also python -m rgit).
Commands
uv pip install -e ".[dev]" # install for development (pip is blocked in this sandbox; use uv)
python -m pytest -q # run all tests (local: .venv/bin/python -m pytest -q)
python -m pytest tests/test_recall.py -q # one file
python -m pytest tests/test_cli.py -k capture -q # one test by keyword
pytest is configured in pyproject.toml with pythonpath = ["src"], so tests run from the repo root without installing. There is no linter or formatter configured.
CI (.github/workflows/ci.yml) runs the suite on ubuntu/windows/macos with Python 3.11 via uv pip install --system -e ".[dev]". uv.lock is gitignored — CI uses uv pip, not uv sync. Keep code 3.11-compatible and Windows-safe even though the local venv may be newer.
Architecture
The core design split is two planes:
- Engine (deterministic, free) — all Python in
src/rgit/: the graph store, content-addressed snapshots, diff→symbol mapping, ranking, composing briefs. Never calls an LLM API. - Intelligence (delegated) — a Claude Code plugin shipped inside the wheel at
src/rgit/_plugin/: three subagents (capsule-segmenter,capsule-regenerator,edge-judge) and two skills (rgit-capture,rgit-recall). The host agent dispatches these on the user's existing subscription..claude-plugin/marketplace.jsonpoints atsrc/rgit/_plugin; the plugin files are wheel package-data, so installer changes must keeppyproject.toml'spackage-dataglobs in sync.
Anywhere the engine needs intelligence it exposes an interface instead: e.g. segmenter.py defines a Segmenter Protocol, tests inject MockSegmenter, and the real segmentation happens when the plugin's subagent fills that role. Tests never dispatch real agents.
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 · 51 lines · 1,244 tokens per session scan A 578506c328e7
research-git CLAUDE.md is an instructions file published in the GitHub repository StepzeroLab/research-git (42 stars, last pushed 26d ago), licensed MIT. It adds 1,244 tokens to every session, about $0.0062 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.
Other instructions, from other repositories
Trellis CLAUDE.md
Claude Code instructions for mindfold-ai/Trellis, covering claude.md, 1. think before coding, 2. simplicity first, 3. surgical changes and 4. goal-driven execution.
Trellis AGENTS.md
AGENTS.md instructions for mindfold-ai/Trellis, covering trellis instructions, gitnexus — code intelligence, always do, never do and resources.
codex-autoresearch AGENTS.md
Instructions for TheGreenCedar/codex-autoresearch, covering agents.md, purpose and scope, canonical sources, stable product boundaries and source and package boundaries.
tpu_performance_autoresearch_wiki AGENTS.md
Instructions for vlasenkoalexey/tpu_performance_autoresearch_wiki, covering codex instructions, compatibility, operating rules and codex translation notes.
nightshift AGENTS.md
Instructions for orwa-mahmoud/nightshift: AI-assisted contributions are welcome. The same correctness, security, licensing, testing, and quality standards apply regardless of which tools are used.
claude-code-templates CLAUDE.md
Instructions for Justdvp/claude-code-templates, covering claude.md, project overview, development commands, package management and application commands.