ownership

ownership is a skill for Claude Code, Codex from ctxpipe-ai/ctxpipe. It costs 41 tokens per session (529 once invoked), scanned A, original, MIT.

A code-ownership mapper that reads GitHub CODEOWNERS files and records which teams own each code area. CODEOWNERS is a GitHub file that assigns review responsibility for matching paths.

In plain words
What is it for?
Use it to link code roots to their owning GitHub teams and create ownership knowledge files.
Why use it?
It makes team responsibility visible to automated workflows instead of requiring them to search the repository manually. It records GitHub teams while ignoring individual people and email addresses.

Skill for Claude CodeCodex

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

Good fit Use it to link code roots to their owning GitHub teams and create ownership knowledge files.

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

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 ownership

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ctxpipe-ai/ctxpipe/ownership"><img src="https://agentmods.dev/badge/skills/ctxpipe-ai/ctxpipe/ownership.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 529 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.00041 $0.00529
Opus 5.5 $0.00016 $0.00212
Sonnet 5.5 $0.00008 $0.00106
Haiku 4.5 $0.00004 $0.00053

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

Security

Grade A, and why

ownership 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/ownership.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

apps/backend/ingest-skills/ownership/SKILL.md · 18 lines

What it actually says

ownership

The host runs this skill as a plain command, once for each repository, on the assembled ref after the root steps. No model runs it.

  1. The host writes /ctxpipe/step.json and the context index, as for each step.
  2. The host writes the root-to-file map (ADR-052 section 6) and runs node /ctxpipe/skills/ownership/scripts/ownership.mjs --source /ctxpipe/source/<handle> --source-url <url> --source-path <path> --roots <root-to-file map>. --roots is necessary.
  3. The script reads the first of .github/CODEOWNERS, CODEOWNERS, and docs/CODEOWNERS. For each root, the last rule whose pattern covers the root folder gives the owners. Patterns follow the gitignore rules: a slash at the start or in the middle anchors a pattern, and a pattern that matches a folder covers each folder below it. A file pattern (for example *.md) does not own a root. Only GitHub teams (@org/team) become team files; a person and an email address do not.
  4. A rule with a pattern or an owner that the script cannot quote safely is listed in skipped. It stays as a rule with no owner, so an earlier rule does not take its roots.
  5. The team file gets an OWNS claim to each mapped file of the root. Only a mapped file whose sources hold the source path (--source-path) counts.
  6. For each team, the script finds the context file of kind Team with the name org/team in the context index, and adds new claims and new ## Related lines to it. When there is no such file, it creates knowledge/teams/<org>-<team>.md. When a file with another name has that path, or two teams get one file, the script skips the team and lists it in skipped.
  7. It writes at most 30 files in a step. When more files wait, the result has "more": true, and the host runs the skill again on the new base.
  8. It writes the staged tree and /ctxpipe/out/patch.json, and a summary that matches schema.json to stdout.
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. 4d ago First seen · 18 lines · 41 tokens per session scan A cea560317270

Subscribe to this mod's changes

ownership is a skill published in the GitHub repository ctxpipe-ai/ctxpipe (27 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 529 once invoked, about $0.0002 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-10-21.

Related

Other skills, from other repositories

qa-review

Validate that implemented code fully satisfies Story acceptance criteria, respects rules, and introduces no regressions. This is the hard quality gate — no pass means no delivery. Activate after implementation is complete.

digipulse-engineering/GAAI-framework · 41 tokens

consistency-check

Detect inconsistencies across related artefacts and governance constraints. Activate after story generation, after plan preparation, before implementation, or after remediation attempts. Reports issues — does not fix them.

digipulse-engineering/GAAI-framework · 40 tokens

tendril-review

Comprehensive post-change review of all modified files. Checks for code smells, cleanup opportunities, unnecessary legacy support, missing tests, broken tests, and obsolete tests. Use after a big change to leave the codebase in better health.

Ivy-Interactive/Ivy-Tendril · 51 tokens

code-review

Performs multi-dimensional code review covering security, quality, spec compliance, and maintainability. Used when reviewing completed implementations or before merging changes.

maystudios/maxsimcli · 31 tokens

maxsim-simplify

Reviews changed code for reuse opportunities, quality issues, and efficiency improvements, then fixes actionable items. Used after implementing features or when code feels over-engineered.

maystudios/maxsimcli · 37 tokens

improve-codebase-architecture

Surface deepening refactors that turn shallow modules into deep ones, informed by CONTEXT.md and docs/adr/. Use when the user asks to improve architecture, find refactor candidates, raise testability, or make a codebase more agent-navigable. Skip for single localized fixes.

OutlineDriven/odin-gemini-cli-extension · 69 tokens