ownership-gate

ownership-gate is a skill for Claude Code, Codex from DanielPodolsky/ownyourcode. It costs 38 tokens per session (893 once invoked), scanned A, original, MIT.

A required review in which a developer explains their code step by step and justifies important choices. It blocks completion when they cannot show that they understand what they wrote.

In plain words
What is it for?
Walking through data flow, asynchronous behavior, terminology, trade-offs, and the reasons behind an implementation before marking work complete.
Why use it?
It catches code that was copied or generated without being understood, reducing the risk of maintaining code the developer cannot explain.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/danielpodolsky/ownyourcode/ownership
Any agent
npx skills add DanielPodolsky/ownyourcode --skill ownership
Clone the repo
git clone --depth 1 https://github.com/DanielPodolsky/ownyourcode

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-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/danielpodolsky/ownyourcode/ownership.svg)](https://agentmods.dev/skills/danielpodolsky/ownyourcode/ownership)
Your own site
<a href="https://agentmods.dev/skills/danielpodolsky/ownyourcode/ownership"><img src="https://agentmods.dev/badge/skills/danielpodolsky/ownyourcode/ownership.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 893 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00038 $0.00893
Opus 5 $0.00019 $0.00447
Sonnet 5 $0.00008 $0.00179
Haiku 4.5 $0.00004 $0.00089

Measured 3d ago against content hash 2a318fc0af83, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ownership-gate 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 3d 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.

.claude/skills/gates/ownership/SKILL.md · 149 lines

How it starts

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

Gate 1: Ownership Verification

"If you can't explain it, you don't own it. And code you don't own will haunt you in interviews."

Purpose

This gate ensures the junior truly understands the code they've written. It's the only gate that can BLOCK task completion, because ownership is non-negotiable.

Gate Status

  • BLOCKED — Junior cannot explain the code → Must review and understand before proceeding
  • PASS — Junior demonstrates clear understanding

Gate Questions

Ask these questions in sequence. If the junior struggles significantly, mark as BLOCKED.

Question 1: Walk-Through

"Walk me through what this code does, step by step."

Looking for:

  • Accurate description of the flow
  • Understanding of data transformations
  • Awareness of async operations
  • Correct terminology

Red flags:

  • "I'm not sure, I just copied this pattern"
  • "The AI suggested this"
  • Significant inaccuracies in description

Question 2: Why This Approach

"Why did you choose this approach? What alternatives did you consider?"

Looking for:

  • Awareness of trade-offs
  • Consideration of alternatives
  • Reasoning about the decision
  • Connection to requirements

Red flags:

  • "It was the first thing that worked"
  • "This is how it's done"
  • No awareness of alternatives

Question 3: Change Scenario

"If the requirements changed to [specific scenario], what would you modify?"

Looking for:

  • Understanding of which parts are flexible
  • Awareness of dependencies
  • Ability to reason about modifications
  • Confidence in the architecture

Red flags:

  • "I'd have to rewrite everything"
  • Complete uncertainty about where to change
  • Inability to identify the affected areas

Question 4: Edge Case

"What happens if [edge case specific to their code]?"

Looking for:

  • Awareness of edge cases
  • Understanding of failure modes
  • Knowledge of error handling in the code

Red flags:

  • "I didn't think about that"
  • Complete surprise at the scenario
  • No error handling for obvious cases

Read the full file on GitHub · 149 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. 3d ago First seen · 149 lines · 38 tokens per session scan A 2a318fc0af83

Subscribe to this mod's changes

ownership-gate is a skill published in the GitHub repository DanielPodolsky/ownyourcode (276 stars, last pushed 2mo ago), licensed MIT. It adds 38 tokens to every session and 893 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

agent-code-analyzer

Agent skill for code-analyzer - invoke with $agent-code-analyzer.

ruvnet/ruflo · 19 tokens

agent-collective-intelligence-coordinator

Agent skill for collective-intelligence-coordinator - invoke with $agent-collective-intelligence-coordinator.

ruvnet/ruflo · 29 tokens

agent-payments

Agent skill for payments - invoke with $agent-payments.

ruvnet/ruflo · 15 tokens

agui-dotnet-streaming-chat

Get started with the AG-UI .NET SDK: bootstrap and run your first streaming-chat app (client + server) with the AG-UI .NET NuGet packages (AGUI.Client, AGUI.Server, AGUI.Formatting, AGUI.Abstractions). USE FOR: which packages to install and how to wire them; constructing an AGUIChatClient against an endpoint and…

ag-ui-protocol/ag-ui · 223 tokens

agui-dotnet-sample-step

Add a GettingStarted sample Step (a Server/Client pair) to the AG-UI .NET SDK that demonstrates one protocol feature the way we want users to write it. USE FOR: adding a new samples/GettingStarted/StepNN Server+Client pair, wiring it into AGUI.slnx and the integration-test project, giving it a deterministic…

ag-ui-protocol/ag-ui · 168 tokens

agui-dotnet-shared-state

Share structured, evolving state between an AG-UI agent and its client with the AG-UI .NET SDK — the client seeds state on the request, the server reads it, mutates it, and streams the updated state back as snapshots or deltas alongside the chat. USE FOR: sending initial/working state from the client via…

ag-ui-protocol/ag-ui · 215 tokens