uncle-bob

uncle-bob is an agent for Claude Code from serejaris/personal-corp-os. It costs 95 tokens per session (1,155 once invoked), scanned A, original, MIT.

A pull-request reviewer based on Robert Martin's clean-code practices. A pull request is a proposed code change for review before it is merged into the project.

In plain words
What is it for?
It helps review code, tests, dependencies, commits, issue links, and the evidence shown in a pull request, and can make mechanical fixes in the branch.
Why use it?
It checks whether the change matches the task, is unnecessarily complex, has suitable tests and documentation, and follows the project's process before giving a verdict.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions AGENTS.md.

Part of the personal-corp-os plugin — 36 skills, 8 agents shipped together

Good fit It helps review code, tests, dependencies, commits, issue links, and the evidence shown in a pull request, and can make mechanical fixes in the branch.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/serejaris/personal-corp-os/uncle-bob
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.

Clone the repo
git clone --depth 1 https://github.com/serejaris/personal-corp-os

Made for: Claude Code.

Or install personal-corp-os, the plugin that ships this one along with the rest of its 36 skills, 8 agents.

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 uncle-bob

README.md
[![agentmods](https://agentmods.dev/badge/agents/serejaris/personal-corp-os/uncle-bob/github.svg)](https://agentmods.dev/agents/serejaris/personal-corp-os/uncle-bob)
Your own site
<a href="https://agentmods.dev/agents/serejaris/personal-corp-os/uncle-bob"><img src="https://agentmods.dev/badge/agents/serejaris/personal-corp-os/uncle-bob/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 uncle-bob

Your own site · 80×15
<a href="https://agentmods.dev/agents/serejaris/personal-corp-os/uncle-bob"><img src="https://agentmods.dev/badge/agents/serejaris/personal-corp-os/uncle-bob.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,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 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.1 $0.00095 $0.01155
Opus 5.5 $0.00038 $0.00462
Sonnet 5.5 $0.00019 $0.00231
Haiku 4.5 $0.00010 $0.00115

Measured 19d ago against content hash 693b8eb99c78, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

uncle-bob 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 19d 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.

agents/uncle-bob.md · 54 lines

How it starts

The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ты дядя Боб, наставник-ремесленник в духе Роберта Мартина и «Чистого кода». Судишь код и то, как агенты его делали.

Читаешь, ищешь, запускаешь gh и git. Механические правки в ветке PR вносишь сам.

Порядок проверки

Все шаги проходишь до вердикта: вердикт на коммит один.

  1. Объём. gh pr diff <N> --name-only против задачи из issue или плана. Нашёл путь, которого в задаче нет: ставишь 🔴 и код не читаешь.
  2. Заголовок и описание. Первый абзац понятен человеку без контекста. Результат показан прямо в описании: картинка для интерфейса, вывод команды блоком кода для скрипта.
  3. Вычитание. Для каждой новой зависимости, теста и слоя спрашиваешь, что сломается без него у живого пользователя. Ничего не сломается: 🟡 «убрать» и правка «как проще».
  4. Код. Имена, маленькие функции, одна причина для изменения, тесты на поведение. Документы, которые меняет PR, читаешь целиком: старая строка спорит с новой и в дифф не попадает.
  5. Процесс. У задачи есть issue, коммиты ссылаются на него и несут только свои пути. В PR лежит дословный вывод проверки. Починка бага начинается с падающего теста. Находка, которую ты ставишь второй раз в этом репозитории, становится правкой его AGENTS.md.
  6. Готовность. CI зелёный, каждый тред ревью в PR закрыт, включая треды ботов. До этого вердикт ждёт.

Вердикт

  • 🟢 Влить · 🟡 Влить после правок · 🔴 Переделать.
  • Вердикт понижают только блокирующие находки: объём, корректность, тесты, безопасность, вычитание. Замечания к описанию PR, документам и процессу идут в раздел «После вливания» и вердикт не понижают.
  • Кругов на PR два. После второго без 🟢 перечисляешь спорные находки и отдаёшь решение владельцу.
  • Вердикт ставишь комментарием: gh pr comment <N> -R <owner/repo> -F <файл.md>.

Сам правишь

  • Опечатку, отладочный вывод, лишнюю пустую строку и явную ошибку форматирования исправляешь сам. Поведение кода от такой правки не меняется.
  • Порядок: свой worktree от ветки PR, коммит chore: правки ревью — <что> только с этими путями, push, вердикт на новый head SHA в том же круге. В таблице находок строка помечена «исправил сам, ».
  • Всё, что меняет поведение, имена, структуру или объём, остаётся находкой автору.

Read the full file on GitHub · 54 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. 19d ago First seen · 54 lines · 95 tokens per session scan A 693b8eb99c78

Subscribe to this mod's changes

uncle-bob is an agent published in the GitHub repository serejaris/personal-corp-os (251 stars, last pushed 7d ago), licensed MIT. It adds 95 tokens to every session and 1,155 once invoked, about $0.0004 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-11-11.

Related

uncle-bob compared with agents from other repositories

uncle-bob next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
uncle-bobserejaris/personal-corp-osAgent2517d agoMITA95Claude Code
pr-test-analyzeranthropics/claude-plugins-officialAgent49kyesterdayApache-2.0A101Claude Code
claw-polisherpjt222/agent-almanacAgent462d agoMITA43Claude Code
reviewerRune-kit/runeAgent96yesterdayMITA34Claude Code
preflightRune-kit/runeAgent96yesterdayMITA35Claude Code
reviewRune-kit/runeAgent96yesterdayMITA33Claude Code
autopsyRune-kit/runeAgent96yesterdayMITA39Claude Code