Agent skill

Find Duplicate Ownership

by instructa in instructa/agent-skills

Find duplicate ownership, hidden second sources of truth, and contract drift in layered codebases.

No licenceAuto-check passedAgent Workflows

Install Find Duplicate Ownership

skills CLI
$ npx skills add instructa/agent-skills --skill find-duplicate-ownership -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install instructa/agent-skills find-duplicate-ownership --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/instructa/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/engineering/find-duplicate-ownership .claude/skills/find-duplicate-ownership && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
find-duplicate-ownership
GitHub stars
139
Token cost
~1.3k tokens
SKILL.md length
620 words
Files
7 (incl. references)
Skills in repo
17
Repo updated
First seen
Licence
None found

At a glance

Find duplicate ownership, hidden second sources of truth, and contract drift in layered codebases.

  • Works in 5 steps: Define the audit target before searching. → Build a taxonomy first. → Search for ownership smells, not words. → …
  • Reviewing normalization
  • SKILL.md covers Overview, Workflow, Heuristics and Subagent Use, plus 3 more sections
  • Calls rg

What it does

Find Duplicate Ownership is an agent skill from instructa/agent-skills. Find duplicate ownership, hidden second sources of truth, and contract drift in layered codebases. Use when reviewing normalization, validation, defaulting, canonicalization, persistence mapping, runtime-vs-durable state, duplicated helpers, query or cache ownership, or any "who owns this rule?" architecture question. Especially useful for SSOT audits across frontend, backend, shared core, and adapter layers, and when the user explicitly asks for duplicate-ownership exploration with subagents.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including reference files (for example `README.md`, `agents/openai.yaml` and `references/audit-prompts.md`).

It sits in Agent Workflows, covering Database schema design and Subagents. The repository describes itself as: A curated collection of agent-skills.

When your agent uses it

  • Reviewing normalization
  • Canonicalization
  • Persistence mapping
  • Runtime-vs-durable state

Example prompts

  • “who owns this rule?”
  • “/find-duplicate-ownership”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Define the audit target before searching.
  2. Build a taxonomy first.
  3. Search for ownership smells, not words.
  4. Separate true duplicates from valid boundaries.
  5. For each finding, name the winning owner.

What it can do on your machine

Read from SKILL.md and the folder at commit d49c149. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • rg

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Find Duplicate Ownership loads about 1.3k tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 131 tokens; SKILL.md has 620 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~131
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 620 words (~1,269 tokens).

“Audit the codebase for multiply-owned rules instead of blindly grepping normalize. Classify each case as real SSOT drift, local dedupe cleanup, legitimate boundary work, or legitimate domain constraint.”

— opening of SKILL.md by instructa
name
find-duplicate-ownership

Read the full SKILL.md on GitHub

Files

SKILL.md and 6 other files (references) in skills/engineering/find-duplicate-ownership of instructa/agent-skills.

  • SKILL.md
  • README.md
  • agents/duplicate-ownership-explorer.toml
  • agents/openai.yaml
  • agents/ownership-taxonomy-mapper.toml
  • agents/ssot-judge.toml
  • references/audit-prompts.md

Open the folder on GitHubat commit d49c149

Compare with similar skills

Find Duplicate Ownership next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Find Duplicate Ownership compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Find Duplicate Ownership this skillinstructa/agent-skills139—~1.3kAutomated safety check: PassNone
Walkthroughalexanderop/walkthrough141—~3.4kAutomated safety check: NotesNone
Friction ReviewThibautBaissac/rails_ai_agents665—~1.7kAutomated safety check: NotesMIT
Reviewgetsentry/sentry-react-native1.8k—~1.9kAutomated safety check: PassMIT
Reviewgetsentry/sentry-dart873—~1.3kAutomated safety check: PassMIT
Subagent Coordinatorflyxl/datazen114—~908Automated safety check: PassGPL-3.0

Similar skills

  • Walkthrough

    alexanderop/walkthrough

    Generates a self-contained HTML file with an interactive, clickable Mermaid diagram (flowchart or ER diagram) that explains how a codebase feature, flow, architecture, or database schema works.

    141 GitHub stars~3.4k tokensUpdated 6 mo ago
    DevelopmentAuto-check: notes
  • Friction Review

    ThibautBaissac/rails_ai_agents

    Multi-axis adversarial review using friction engineering. An agent skill from ThibautBaissac/rails_ai_agents.

    665 GitHub stars~1.7k tokensUpdated 4 mo ago
    DevelopmentAuto-check: notes
  • Review

    getsentry/sentry-react-native

    Official

    Three-axis review of the branch diff — Standards (this repo's documented standards + public API/bridge surface), Spec (the originating Linear/GitHub issue or PR), and Correctness (runtime bugs + the…

    1.8k GitHub stars~1.9k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Review

    getsentry/sentry-dart

    Official

    Three-axis review of the branch diff — Standards (this repo's documented standards + public API surface), Spec (the originating Linear issue / PR), and Correctness (runtime bugs + the SDK threat…

    873 GitHub stars~1.3k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Orchestrate multi-track parallel feature development with subagents and git worktrees.

    114 GitHub stars~908 tokensUpdated 8 days ago
    Agent WorkflowsAuto-check passed
  • Business Problem To Blueprint

    zanecole10/software-tailor-skills

    Transform any boring B2B business problem into a complete software blueprint with architecture, database schema, feature breakdown, and step-by-step implementation plan formatted as a CLAUDE.md file…

    104 GitHub stars~2.7k tokensUpdated 11 mo ago
    Agent WorkflowsAuto-check passed

More from instructa/agent-skills

All 17 skills in this repo
  • App Spec Packager

    instructa/agent-skills

    A skill your agent uses when the user wants to turn an application, product, startup idea, SaaS, mobile app, web app, API, AI product, or internal tool into a production-ready Markdown specification…

    139 GitHub stars~1.5k tokensUpdated 10 days ago
    Auto-check passed
  • Codex Reviewer

    instructa/agent-skills

    Have Codex review a feature or change from Claude Code, then let Claude address the findings and request verification.

    139 GitHub stars~1.6k tokensUpdated 10 days ago
    Auto-check passed
  • Search Context

    instructa/agent-skills

    Find, clone, inspect, and summarize high-quality GitHub reference repositories for coding agents.

    139 GitHub stars~2.1k tokensUpdated 10 days ago
    Auto-check passed
  • Secleak Check

    instructa/agent-skills

    Run or install repo security leak checks with BetterLeaks and Trivy.

    139 GitHub stars~557 tokensUpdated 10 days ago
    Auto-check passed
  • Delegate Fable

    instructa/agent-skills

    Delegate a bounded task from a Codex session to a Fable-powered Cursor Agent in the same Herdr workspace, then wait for and collect the result.

    139 GitHub stars~925 tokensUpdated 10 days ago
    Auto-check passed
  • Delegate Grok

    instructa/agent-skills

    Delegate a bounded task from a Codex session to Grok 4.6 with xhigh reasoning in the same Herdr workspace, then wait for and collect the result.

    139 GitHub stars~951 tokensUpdated 10 days ago
    Auto-check passed

Questions about Find Duplicate Ownership

What does Find Duplicate Ownership do?

Find duplicate ownership, hidden second sources of truth, and contract drift in layered codebases. Find Duplicate Ownership is an agent skill from instructa/agent-skills. Find duplicate ownership, hidden second sources of truth, and contract drift in layered codebases.

When should I use Find Duplicate Ownership?

Find Duplicate Ownership fits situations like: reviewing normalization; canonicalization; persistence mapping; runtime-vs-durable state.

How do I install Find Duplicate Ownership in Claude Code?

Run `npx skills add instructa/agent-skills --skill find-duplicate-ownership -a claude-code`. Or copy the skill folder (skills/engineering/find-duplicate-ownership in instructa/agent-skills) into .claude/skills/find-duplicate-ownership in your project. Claude Code loads it when a task matches its description.

How do I install Find Duplicate Ownership in Codex?

Run `npx skills add instructa/agent-skills --skill find-duplicate-ownership -a codex`. Or copy the skill folder (skills/engineering/find-duplicate-ownership in instructa/agent-skills) into .agents/skills/find-duplicate-ownership in your project. Codex loads it when a task matches its description.

Can I use Find Duplicate Ownership in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add instructa/agent-skills --skill find-duplicate-ownership -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/find-duplicate-ownership, .gemini/skills/find-duplicate-ownership, .github/skills/find-duplicate-ownership and .opencode/skills/find-duplicate-ownership in your project.

What does Find Duplicate Ownership need to run?

Going by SKILL.md and its folder, Find Duplicate Ownership needs the command-line tools its instructions call (rg).

Does Find Duplicate Ownership access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Find Duplicate Ownership safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Find Duplicate Ownership use?

No licence was found for Find Duplicate Ownership or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Find Duplicate Ownership use?

About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 746 tokens, read only when the agent opens those files.

What are the alternatives to Find Duplicate Ownership?

Skills that share tags, products or a category with Find Duplicate Ownership: Walkthrough (alexanderop/walkthrough, 141 stars), Friction Review (ThibautBaissac/rails_ai_agents, 665 stars), Review (getsentry/sentry-react-native, 1.8k stars) and Review (getsentry/sentry-dart, 873 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Find Duplicate Ownership?

instructa (a GitHub organization) maintains it in instructa/agent-skills, which has 139 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on September 28, 2026.

Source: instructa/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.