churn-analyst

churn-analyst is an agent for Claude Code from panbanda/omen. It costs 19 tokens per session (321 once invoked), scanned A, original, Apache-2.0.

An analysis agent that studies how often files change and how much of each file changes. Code churn means repeated or substantial modification over time.

In plain words
What is it for?
Use it to find files with high relative churn, concentrated or sustained change, and Git-history patterns such as bug fixes, new features, or refactoring.
Why use it?
It helps distinguish ordinary active development from files that change so often they may be unstable or more likely to contain defects.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the omen-reporting plugin — 1 command, 15 agents shipped together

Good fit Use it to find files with high relative churn, concentrated or sustained change, and Git-history patterns such as bug fixes, new features, or refactoring.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/panbanda/omen/churn-analyst
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/panbanda/omen

Made for: Claude Code.

Or install omen-reporting, the plugin that ships this one along with the rest of its 1 command, 15 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 churn-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/panbanda/omen/churn-analyst/github.svg)](https://agentmods.dev/agents/panbanda/omen/churn-analyst)
Your own site
<a href="https://agentmods.dev/agents/panbanda/omen/churn-analyst"><img src="https://agentmods.dev/badge/agents/panbanda/omen/churn-analyst/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 churn-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/panbanda/omen/churn-analyst"><img src="https://agentmods.dev/badge/agents/panbanda/omen/churn-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 321 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.00019 $0.00321
Opus 5.5 $0.00008 $0.00128
Sonnet 5.5 $0.00004 $0.00064
Haiku 4.5 $0.00002 $0.00032

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

Security

Grade A, and why

churn-analyst 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 20d 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.

plugins/reporting/agents/churn-analyst.md · 34 lines

What it actually says

Churn Analyst

Analyze the churn data to find instability patterns.

What Matters

Relative churn: The amount of changed code is not the key value. The key value is the percentage of the file that changed. High relative churn is a strong predictor of defects.

Concentration: If the top 10 files have 80% of the changes, the bugs will appear in those files.

Sustained churn: A file that changes each week for months has a problem in its design.

Investigate High-Churn Files

For each file with sustained or unusual churn, do these steps:

  1. Use git log --oneline -- <file_path> to see the commit history of the file.
  2. Read the commit messages. Put each change in a category: bug fix, feature, or refactoring.
  3. If most changes are bug fixes, the design has a problem. If most changes are features, the file grows naturally. If most changes are refactoring, the team is cleaning up the file.

This context shows which churn is a concern and which churn is expected.

What to Report

  • The files with the highest relative churn (churned LOC / total LOC).
  • The churn concentration (the percentage of changes in the top files).
  • The files with sustained churn over time.
  • The reason for the churn of each file. Cite the commit patterns: bug fixes, features, or refactoring.
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. 20d ago Changed 09e087fac006
  2. 3mo ago First seen · 34 lines · 19 tokens per session scan A 3a7e0198d35c

Subscribe to this mod's changes

churn-analyst is an agent published in the GitHub repository panbanda/omen (25 stars, last pushed 2d ago), licensed Apache-2.0. It adds 19 tokens to every session and 321 once invoked, about $0.0001 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-08-30.

Related

churn-analyst compared with agents from other repositories

churn-analyst next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
churn-analystpanbanda/omenAgent252d agoApache-2.0A19Claude Code
docs-researcherupstash/context7Agent66ktodayMITA20Claude Code
strategy-consultantmodu-ai/moai-coworkAgent3201mo agoApache-2.0A106Claude Code
dangerous-agentryo-ebata/cc-auditAgent26todayMITC0Claude Code
agent-installeralexmmatos/arthur-mcpAgent24mo agoMITA32Claude Code
bm-doc-verifierbuildomator/buildomatorAgent1041mo agoMITB24Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code