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.
npx skills add owndiff/own-your-diff --skill owndiff-pre-commitgit clone --depth 1 https://github.com/owndiff/own-your-diffWrote 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.
[](https://agentmods.dev/skills/owndiff/own-your-diff/owndiff-pre-commit)<a href="https://agentmods.dev/skills/owndiff/own-your-diff/owndiff-pre-commit"><img src="https://agentmods.dev/badge/skills/owndiff/own-your-diff/owndiff-pre-commit/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.
<a href="https://agentmods.dev/skills/owndiff/own-your-diff/owndiff-pre-commit"><img src="https://agentmods.dev/badge/skills/owndiff/own-your-diff/owndiff-pre-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.01036 |
| Opus 5.5 | $0.00031 | $0.00414 |
| Sonnet 5.5 | $0.00015 | $0.00207 |
| Haiku 4.5 | $0.00008 | $0.00104 |
Grade A, and why
owndiff-pre-commit 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OwnDiff Pre-Commit
Use this skill to produce a verified commit candidate. Stop before committing or pushing unless the user explicitly authorizes that Git action.
Workflow
- Read the latest user request and
git status --short. Treat existing worktree changes as user work; never discard them. - Inspect the complete staged and unstaged diff. Separate release changes from ignored proof, generated artifacts, caches, research, and unrelated edits.
- Run the deterministic audit from the repository root with the repository interpreter:
.venv/bin/python skills/owndiff-pre-commit/scripts/audit.py --repo . --staged --run-checks
If nothing is staged yet, omit --staged for the first diagnostic pass. Stage only confirmed release files, then rerun with --staged.
- Run a leak audit before any commit, push, tag, release, or marketplace/package update:
.venv/bin/python skills/owndiff-pre-commit/scripts/audit.py --repo . --history
The leak audit must cover the current tracked tree, staged diff, unstaged diff, untracked release candidates, and Git history reachable from all local refs. High-confidence private paths or credential patterns are blockers. Redaction markers and secret-adjacent examples are warnings; inspect their context without printing matched text, then remove accidental leaks or document why the warning is an intentional test, security rule, or sanitization example.
- For release work, verify binary integrity before continuing:
- Run
python scripts/verify_release_assets.py --release-dir distafter local release assets are built. - After publishing a tag, run
python scripts/verify_release_assets.py --repo owndiff/own-your-diff --tag <tag>. - Treat a missing binary, missing
.sha256sidecar, invalid checksum file, or checksum mismatch as a release blocker. - The deterministic audit also checks that CI/release workflows keep this verification wired in.
- Run
- Verify documentation semantically:
- Map behavior claims to current code, config, tests, or observed command output.
- Verify unstable install syntax with the installed CLI's
--helpfirst. - When local help is unavailable, use only the agent vendor's official documentation and cite it in the work log.
- Do not claim an agent, command, browser review, or workflow was tested unless it actually ran.
- Remove a document or asset only when it is duplicated, stale, unreferenced, generated, or outside the product's supported workflow. Preserve
README.md,skills/owndiff/SKILL.md,SECURITY.md,CONTRIBUTING.md, licenses, manifests, and referenced media unless evidence shows they are obsolete.
- Run OwnDiff on the exact candidate diff. For medium/high/critical risk, use the active agent model to generate every question and answer choice, validate the response, and complete the real browser review gate.
- Re-run the audit, tests, skill/plugin validators, release-asset verification when applicable, and leak audit after every correction.
- Report:
- changed and removed files;
- documentation claims verified and their evidence;
- test and validator results;
- OwnDiff gate status and attempt summary;
- any residual risk or unavailable agent runtime.
What ships with it
3 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.
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.
- 1mo ago First seen · 66 lines · 77 tokens per session scan A 318841e83709
owndiff-pre-commit is a skill published in the GitHub repository owndiff/own-your-diff (4 stars, last pushed 2mo ago), licensed MIT. It adds 77 tokens to every session and 1,036 once invoked, about $0.0003 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-31.
Other skills, from other repositories
plate
Turn finished local work into a commit, an ordinary pull request, or a pull request stack. Use this skill to commit changes or to publish a branch. Use it to open or update a pull request. Use it to create, sync, restack, or submit a pull request stack. You can also run /plate. This skill owns all staging, commits…
roadmap-task-deliver
Deliver the first eligible unfinished roadmap task through implementation, review, green CI, PR merge, and a task-status update. Use for autonomous delivery from local roadmap and task files. Files can be outside the code repository or outside Git.
plan-deliver
Autonomously deliver an approved implementation plan to a ready GitHub pull request. Use when the user supplies a plan in the conversation or a file and authorizes implementation, commits, pushes, PR state changes, CI remediation, and resolution of requested automated review feedback; use jira-issue-deliver when the…
phase-commit
Create one local commit for a completed, validated, and reviewed unit of work. Use only when the user explicitly requests a commit without pushing or other delivery actions.
review-delta
Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.
work-unit-commits
Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.