repo-brain

repo-brain is a skill for Claude Code, Codex from lucianum7/repo-brain. It costs 31 tokens per session (155 once invoked), scanned A, original, no licence file.

A repository research and memory skill for finding current code and consulting recorded, evidence-based knowledge about it. A repository is the project directory containing its source code and related files.

In plain words
What is it for?
Use it to locate relevant code, check remembered findings against the current repository, log evidence from file reads, detect outdated analysis, and update repository knowledge after edits.
Why use it?
It helps avoid relying on outdated assumptions about a codebase. It records what was read, detects stale analyses, and refreshes its memory after changes.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to locate relevant code, check remembered findings against the current repository, log evidence from file reads, detect outdated analysis, and update repository knowledge after edits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lucianum7/repo-brain/templates
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.

Any agent
npx skills add lucianum7/repo-brain --skill templates
Clone the repo
git clone --depth 1 https://github.com/lucianum7/repo-brain

Made for: Claude Code, Codex.

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 repo-brain

README.md
[![agentmods](https://agentmods.dev/badge/skills/lucianum7/repo-brain/templates/github.svg)](https://agentmods.dev/skills/lucianum7/repo-brain/templates)
Your own site
<a href="https://agentmods.dev/skills/lucianum7/repo-brain/templates"><img src="https://agentmods.dev/badge/skills/lucianum7/repo-brain/templates/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.

agentmods 80×15 button for repo-brain

Your own site · 80×15
<a href="https://agentmods.dev/skills/lucianum7/repo-brain/templates"><img src="https://agentmods.dev/badge/skills/lucianum7/repo-brain/templates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 155 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00031 $0.00155
Opus 5 $0.00015 $0.00077
Sonnet 5 $0.00006 $0.00031
Haiku 4.5 $0.00003 $0.00015

Measured 10d ago against content hash 5415938c1d60, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

repo-brain 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 10d 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.

src/repo_brain/templates/SKILL.md · 9 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 10d ago First seen · 9 lines · 31 tokens per session scan A 5415938c1d60

Subscribe to this mod's changes

repo-brain is a skill published in the GitHub repository lucianum7/repo-brain (0 stars, last pushed 3d ago), with no licence file. It adds 31 tokens to every session and 155 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

using-goodmemory

Recall and persist durable project context with GoodMemory in Kimi Code.

hjqcan/GoodMemory · 18 tokens

turritopsis-agent-memory

Design, review, or repair Turritopsis Stages for Agent memory systems, shared project memory, long-term recall, evidence ingestion, retrieval indexes, corrections, retention, and memory maintenance. Use when a project stores knowledge across sessions or agents and must keep raw evidence, canonical truth, summaries…

anhe2021212-spec/Turritopsis · 74 tokens

turritopsis-personal-ai-assistant

Design, review, or repair Turritopsis Stages for a private or personal AI assistant, including human-assistant roles, consent and authority, proactive behavior, tool actions, relationship continuity, private channels, memory correction, visible explanations, and human direction. Use when the system's value depends on…

anhe2021212-spec/Turritopsis · 83 tokens

chain

Inject the 3 most recent session IDs for the current workspace into the prompt before Claude responds. Use when starting work and wanting recent session context.

Nimrobo/superdense · 31 tokens

github-stars-radar

Use local GitHub starred repositories as agent memory before recommending libraries, examples, MCP servers, plugins, or implementation references.

NeoZhouCHN/github-stars-radar · 29 tokens

brain-page

Operating manual for reading and writing a project's brain — every read and write goes through the bundled zero-dependency brain CLI; never hand-edit brain files. Read it before creating or modifying any page or root page.

mindmuxai/brain.md · 47 tokens