octo-retro

octo-retro is a command for Claude Code, Cursor from nyldn/claude-octopus. It costs 15 tokens per session (1,471 once invoked), scanned A, original, MIT.

A command that analyzes Git history, the record of changes in a code repository, to create an engineering retrospective.

In plain words
What is it for?
Use it to review recent engineering work, identify hotspots, examine contributor activity, and summarize changes over a selected time window.
Why use it?
It turns past commits into evidence about contribution patterns, active areas, work sessions, and development activity.

Command for Claude CodeCursor

Written for Claude Code and Cursor: allowed-tools in frontmatter, but also a Cursor plugin manifest. Also seen: mentions Claude Code.

Part of the octo plugin — 70 skills, 106 commands, 10 agents, 18 hooks shipped together

Good fit Use it to review recent engineering work, identify hotspots, examine contributor activity, and summarize changes over a selected time window.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/nyldn/claude-octopus/octo-retro
About the project

Claude Octopus is an orchestration project that sends research, design, and coding tasks to Claude Code and other AI model providers so their results can be compared. Developers use it for multi-model work, disagreement detection, reviews, persistent context, and an optional workflow that moves from discovery through delivery. The catalogue entries are its commands, skills, agents, instructions, hooks, plugins, and settings.

nyldn/claude-octopus · 4,061 stars · on GitHub · reddit.com

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/nyldn/claude-octopus

Made for: Claude Code, Cursor.

Or install octo, the plugin that ships this one along with the rest of its 70 skills, 106 commands, 10 agents, 18 hooks.

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 octo-retro

README.md
[![agentmods](https://agentmods.dev/badge/commands/nyldn/claude-octopus/octo-retro/github.svg)](https://agentmods.dev/commands/nyldn/claude-octopus/octo-retro)
Your own site
<a href="https://agentmods.dev/commands/nyldn/claude-octopus/octo-retro"><img src="https://agentmods.dev/badge/commands/nyldn/claude-octopus/octo-retro/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 octo-retro

Your own site · 80×15
<a href="https://agentmods.dev/commands/nyldn/claude-octopus/octo-retro"><img src="https://agentmods.dev/badge/commands/nyldn/claude-octopus/octo-retro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 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,471 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.00015 $0.01471
Opus 5 $0.00008 $0.00736
Sonnet 5 $0.00003 $0.00294
Haiku 4.5 $0.00002 $0.00147

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

Security

Grade A, and why

octo-retro 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 8d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • retro — 95% identical, 3 lines differ
  • octo-retro — 88% identical, 5 lines differ
.cursor-plugin/commands/octo-retro.md · 208 lines

How it starts

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

Retro — Engineering Retrospective from Git History

Your first output line MUST be: 🐙 Octopus Retrospective

Generate data-driven engineering retrospectives by mining git history. Surfaces commit patterns, contributor breakdown, hotspots, session analysis, and AI-assisted commit tracking.

Usage

/octo:retro              # Last 7 days (default)
/octo:retro 24h          # Last 24 hours
/octo:retro 14d          # Last 14 days
/octo:retro 30d          # Last 30 days

Instructions

When the user invokes /octo:retro, you MUST follow these steps exactly.

1. Parse Time Window

Accept an optional argument for the time window. Default to 7d if none provided.

Supported formats:

  • 24h — last 24 hours (--since='24 hours ago')
  • 7d — last 7 days (--since='7 days ago')
  • 14d — last 14 days (--since='14 days ago')
  • 30d — last 30 days (--since='30 days ago')

Map the argument to a git --since value. If the argument does not match a supported format, warn the user and fall back to 7d.

2. Gather Git Data

Run the following git commands to collect raw data. Each command MUST be executed — do NOT skip any.

Commit list:

git log --oneline --since='<window>' --no-merges

LOC changes (lines added/removed per file):

git log --numstat --since='<window>' --no-merges --format=''

Contributor leaderboard:

git shortlog -sn --since='<window>' --no-merges

Hotspot analysis (files modified most often):

git log --format='' --name-only --since='<window>' --no-merges | sort | uniq -c | sort -rn | head -20

PR merge count (merge commits):

git log --oneline --since='<window>' --merges | wc -l

Commit timestamps for session detection:

git log --format='%at %H %s' --since='<window>' --no-merges

AI-assisted commit detection:

git log --since='<window>' --no-merges --format='%b' | grep -ci 'Co-Authored-By:'

Current user identification:

git config user.name

Read the full file on GitHub · 208 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. 8d ago First seen · 208 lines · 15 tokens per session scan A 7c450e479f61

Subscribe to this mod's changes

octo-retro is a command published in the GitHub repository nyldn/claude-octopus (4,061 stars, last pushed yesterday), licensed MIT. It adds 15 tokens to every session and 1,471 once invoked, about $0.0001 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-09-03.

Related

Other commands, from other repositories

replay

You are reconstructing the historical evolution of this sprint by recompiling every version of claims.json from git history.

grainulation/grainulator · 0 tokens

apex-git-commit

Stage everything except agent-output/, infra/, and .github/skills/sensei/ (unless on feat/skills-sensei), auto-generate a conventional commit, push, then prompt to open or update a PR. CLI-only (git + gh).

jonathan-vella/apex-accelerator · 52 tokens

genshijin-commit

A command that writes a commit message for changes already placed in Git's staging area. It follows the repository's existing language and uses a short imperative subject without AI attribution.

InterfaceX-co-jp/genshijin · 16 tokens

commit

Smart conventional commit with security validation, branch flow enforcement, and auto-detection. Use for git commit, commit changes, save work, stage and commit.

fusengine/agents · 31 tokens

explain

/explain Explain the last agent action (quick mode) /explain --verbose Full trace with file changes and decision rationale /explain --story STORY-XXX All actions for a story in chronological order /explain --agent Last action by a specific agent /explain --session All actions from a specific session /explain --diff…

samibs/skillfoundry · 0 tokens

flow

Universal workflow entry point. Use /flow for skill-driven GitHub development. Verbs: start, commit, pr, review, address, merge, resolve, release, status, learn, setup, explain, debug, design, brainstorm, issue.

synaptiai/synapti-marketplace · 56 tokens