cockburn-review

cockburn-review is a skill for Claude Code, Codex from stefanrossmeier/ai-craftkit. It costs 0 tokens per session (3,372 once invoked), scanned A, original, Apache-2.0.

A repository review command that examines where software responsibilities and architectural boundaries are unclear or misplaced.

In plain words
What is it for?
Running an evidence-based review with /cockburn-review and writing the completed report, using its bundled template, into the repository's docs/ folder.
Why use it?
It helps expose modules that know too much, framework details leaking into other layers, persistence coupling, or repeated business rules before they become harder to change.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Running an evidence-based review with /cockburn-review and writing the completed report, using its bundled template, into the repository's docs/ folder.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stefanrossmeier/ai-craftkit/cockburn-review
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 stefanrossmeier/ai-craftkit --skill cockburn-review
Clone the repo
git clone --depth 1 https://github.com/stefanrossmeier/ai-craftkit

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 cockburn-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/stefanrossmeier/ai-craftkit/cockburn-review/github.svg)](https://agentmods.dev/skills/stefanrossmeier/ai-craftkit/cockburn-review)
Your own site
<a href="https://agentmods.dev/skills/stefanrossmeier/ai-craftkit/cockburn-review"><img src="https://agentmods.dev/badge/skills/stefanrossmeier/ai-craftkit/cockburn-review/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 cockburn-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/stefanrossmeier/ai-craftkit/cockburn-review"><img src="https://agentmods.dev/badge/skills/stefanrossmeier/ai-craftkit/cockburn-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,372 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.00000 $0.03372
Opus 5 $0.00000 $0.01686
Sonnet 5 $0.00000 $0.00674
Haiku 4.5 $0.00000 $0.00337

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

Security

Grade A, and why

cockburn-review 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 11d 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.

skills/cockburn-review/SKILL.md · 606 lines

How it starts

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

Cockburn Review Skill

Command: /cockburn-review

Generate an evidence-based architectural boundary review for the currently opened repository.

The skill inspects the repository, applies the "not my job" and "no need to know" architectural lens, fills the bundled review template, removes unused template sections, and writes the final report to the repository's docs/ folder.

Invocation Model

Use this skill when the user calls:

/cockburn-review

This is a skill invocation, not a shell command. It has no command-line parameters, flags, modes, or options.

If the user adds text around or after the invocation, treat that text as plain-language review guidance. Do not parse it as command syntax.

Examples of plain-language guidance:

  • focus on one module or product area
  • review the current change set if repository diff information is available
  • stress-test the architecture against a named future change
  • pay special attention to framework leakage, persistence coupling, or duplicated policy

Do not document or advertise flag-based usage for this skill.

Purpose

/cockburn-review discovers architectural weaknesses by inspecting how responsibilities and knowledge move across repository boundaries.

It asks two core questions:

  1. Not my job: Is this code doing work that appears to belong to another architectural role?
  2. No need to know: Does this code know implementation details that should be hidden behind a boundary?

The goal is not to create generic architecture documentation. The goal is to produce a concrete, evidence-based review that helps humans and agents make safer architectural changes.

Required Output File

Generate or update exactly this primary report:

docs/COCKBURN_REVIEW.md

Create docs/ if it does not exist.

Do not place the generated report outside docs/.

Do not modify application source code.

Do not modify unrelated documentation unless the user explicitly asks.

Template Location

Use the bundled template as the conceptual source:

Read the full file on GitHub · 606 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 606 lines · 0 tokens per session scan A fe26e9d04cb5

Subscribe to this mod's changes

cockburn-review is a skill published in the GitHub repository stefanrossmeier/ai-craftkit (5 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 3,372 tokens. 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

solid-principles

SOLID principles checklist with Java examples. Use when a class has too many responsibilities, an abstraction leaks, or a dependency points the wrong way, and when the user asks about Single Responsibility, Open/Closed, Liskov, Interface Segregation or Dependency Inversion. For naming, duplication and method length…

decebals/claude-code-java · 73 tokens

clean-code

Clean Code principles (DRY, KISS, YAGNI), naming, function design and readability. Use when code is hard to read, with long methods, unclear names, duplication or deep nesting. For how responsibilities are split across classes and which way dependencies point, use solid-principles instead.

decebals/claude-code-java · 64 tokens

concurrency-review

Review Java concurrency code for thread safety, race conditions, deadlocks, and modern patterns (Virtual Threads, CompletableFuture, @Async). Use when user asks "check thread safety", "concurrency review", "async code review", or when reviewing multi-threaded code.

decebals/claude-code-java · 58 tokens

architecture-review

Analyze Java project architecture at macro level - package structure, module boundaries, dependency direction, and layering. Use when user asks "review architecture", "check structure", "package organization", or when evaluating if a codebase follows clean architecture principles.

decebals/claude-code-java · 51 tokens

java-code-review

Systematic code review for Java with null safety, exception handling, concurrency, and performance checks. Use when user says "review code", "check this PR", "code review", or before merging changes.

decebals/claude-code-java · 45 tokens

openlore-execute-refactor

Apply a confirmed .openlore/refactor-plan.md with a test gate after each change. Use when asked to execute or continue an OpenLore refactoring plan.

clay-good/OpenLore · 41 tokens