swe:ownership-risk-map

swe:ownership-risk-map is a skill for Claude Code from ckorhonen/swe-skills. It costs 109 tokens per session (1,271 once invoked), scanned A, original, MIT.

A repository report that identifies parts of the codebase at risk when knowledge or responsibility is concentrated or unclear. It uses evidence such as Git history, code changes over time, contributor count, CODEOWNERS files, test coverage, and abandoned modules.

In plain words
What is it for?
Finding bus-factor hotspots, ranking high-change areas with few contributors or tests, locating files without clear owners, and planning recurring maintenance or documentation work.
Why use it?
It shows where a project may depend too heavily on a small number of people or lack clear maintainers. This helps reveal ownership risks before they cause delays or fragile changes.

Skill for Claude Code

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

Part of the swe-skills plugin — 17 skills shipped together

Good fit Finding bus-factor hotspots, ranking high-change areas with few contributors or tests, locating files without clear owners, and planning recurring maintenance or documentation work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ckorhonen/swe-skills/ownership-risk-map
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 ckorhonen/swe-skills --skill ownership-risk-map
Clone the repo
git clone --depth 1 https://github.com/ckorhonen/swe-skills

Made for: Claude Code.

Or install swe-skills, the plugin that ships this one along with the rest of its 17 skills.

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 swe:ownership-risk-map

README.md
[![agentmods](https://agentmods.dev/badge/skills/ckorhonen/swe-skills/ownership-risk-map/github.svg)](https://agentmods.dev/skills/ckorhonen/swe-skills/ownership-risk-map)
Your own site
<a href="https://agentmods.dev/skills/ckorhonen/swe-skills/ownership-risk-map"><img src="https://agentmods.dev/badge/skills/ckorhonen/swe-skills/ownership-risk-map/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 swe:ownership-risk-map

Your own site · 80×15
<a href="https://agentmods.dev/skills/ckorhonen/swe-skills/ownership-risk-map"><img src="https://agentmods.dev/badge/skills/ckorhonen/swe-skills/ownership-risk-map.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,271 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.00109 $0.01271
Opus 5 $0.00055 $0.00635
Sonnet 5 $0.00022 $0.00254
Haiku 4.5 $0.00011 $0.00127

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

Security

Grade A, and why

swe:ownership-risk-map 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/ownership-risk-map/SKILL.md · 192 lines

How it starts

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

SWE Ownership Risk Map

What This Skill Does

Use this skill to identify where a repository is most exposed to ownership risk, not to build a people directory.

The goal is to produce a ranked map of surfaces that are likely to become fragile because of:

  • concentrated commit ownership
  • high churn with few distinct contributors
  • unclear or missing CODEOWNERS coverage
  • low test density near important code paths
  • stale or orphaned modules, scripts, or configs
  • recent turnover or repeated handoffs in the same surface

The output should be suitable for scheduled maintenance: short, repeatable, and easy to compare across runs.

When To Use

Use this skill when the user wants to:

  • find the highest-risk ownership hotspots in a repo
  • identify likely bus-factor problems before a change or release
  • run a recurring maintenance pass over high-churn or low-ownership areas
  • see which surfaces need better ownership, tests, or documentation

Do Not Use

Do not use this skill for:

  • assigning people to teams or building an org chart
  • generic repo orientation with no ownership-risk goal
  • general bug hunting or refactor planning
  • security audits that are not specifically about ownership risk

Inputs To Confirm

Confirm or infer:

  • repository or package scope
  • time window for the analysis, if any
  • whether the user wants the whole repo or a selected folder/package
  • whether CODEOWNERS or similar ownership metadata is available
  • whether the user wants a report-only pass or a ranked maintenance backlog

If the scope is missing, infer the current repository root and use a recent history window, but say so explicitly.

What To Optimize For

  • concrete repo evidence
  • honest unknowns when ownership is unclear
  • a short ranked list instead of a flat dump of names
  • actions that reduce ownership risk without broad rewrites
  • repeatable maintenance output that can be run on a schedule

Instructions

Step 1: Define The Scope

State the exact repo, package, folder, or service being reviewed.

Read the full file on GitHub · 192 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. 11d ago First seen · 192 lines · 109 tokens per session scan A 40eb55b9ac5e

Subscribe to this mod's changes

swe:ownership-risk-map is a skill published in the GitHub repository ckorhonen/swe-skills (3 stars, last pushed 1mo ago), licensed MIT. It adds 109 tokens to every session and 1,271 once invoked, about $0.0005 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

create-pull-request

Use when asked to create or update a PR, revise its description, or link issue references to its body. Not for multi-PR stacks: use gate-and-merge. Not for releases: use git-workflow-and-versioning.

OutlineDriven/odin-claude-plugin · 52 tokens

gate-and-merge

Use when landing a queue of open PRs: gate each PR, sweep its review feedback to root cause, then merge, repair, hold, or close it. Human-only.

OutlineDriven/odin-claude-plugin · 41 tokens

review-pr

Multi-agent PR review with four modes (review, re-review, self-review, address-feedback) - spawns parallel subagents, saves diff to /tmp for context efficiency, supports file exclusion patterns.

hoblin/claude-ruby-marketplace · 39 tokens

pr-review-canvas-html

Use when asked to render a GitHub PR as a standalone review HTML page. Fetches PR data via gh API, renders diffs with move detection, and serves the artifact on a local port. Not for Cursor Canvas output — use pr-review-canvas.

OutlineDriven/odin-claude-plugin · 58 tokens

land-contribution

Use when a maintainer or collaborator explicitly asks to review and land one external pull request. Don't use for internal pull requests or landing without preserving contributor authorship.

OutlineDriven/odin-claude-plugin · 36 tokens

resolve-pr-feedback

Use when handling GitHub PR review feedback: autonomous fix-and-resolve, interactive per-comment walkthrough, or read-only severity summary. Not for non-GitHub feedback: use resolve.

OutlineDriven/odin-claude-plugin · 41 tokens