setup-pre-commit SKILL.md skillA
setup-pre-commit from outlinedriven/odin-claude-plugin is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add outlinedriven/odin-claude-plugin/setup-pre-commit@git:20260904.2014e73Pins git:20260904.2014e73 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- outlinedriven/odin-claude-plugin
- Path
plugins/odin-git/skills/setup-pre-commit/SKILL.md- Versions recorded
- 4
- Latest version
- git:20260904.2014e73, committed Sep 4, 2026
- First version recorded
- Sep 3, 2026
- Size
- 6,463 bytes
- Repository stars
- 40
- License
- Apache-2.0
Use when installing or repairing a repo-local pre-commit hook from the project gates, or when a repo needs package-manager-native commit-time checks. Not for remote or irreversible changes.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Setup pre-commit ## Contract | Field | Bound contract | |---|---| | Trigger | Install, repair, or standardize local pre-commit checks in an existing repository, including package-manager-native commit-time checks. | | Authority | Reversible local: writes only hook configuration, dependency manifests, lockfiles, a temporary probe file, and a staged trivial change; rollback is version control or undo. No remote mutation. No credential or release mutation. | | Side effect | Extends the existing hook manager or installs one current manager, writes its config, and installs the local Git hook. | | Done | Exactly one hook manager owns pre-commit; its all-files command runs the repository formatter, linter, type checker, and targeted tests successfully; a deliberate failing probe blocks and a passing probe exits zero. | ## Inputs - Repository root with `.git`: required. - Repository-native format, lint, type-check, and targeted-test commands: required; infer only from committed scripts and configuration. - Existing hook manager: optional; detect Husky, Lefthook, prek/pre-commit, cargo-husky, and native `.git/hooks/pre-commit` before adding anything. ## Procedure …
Read the whole file at its exact version.
How to install
mdr add outlinedriven/odin-claude-plugin/setup-pre-commit@sha256:d80781947432fc69The line at the top of this page pins the label git:20260904.2014e73, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_bt7tzktnwlegv6sy)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Sep 3, 2026 and Sep 4, 2026, more than one a day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260904.2014e73 latest | 2026-09-04 | 2014e73 | 6,463 B | A | view · diff |
| git:20260904.470ba16 | 2026-09-04 | 470ba16 | 6,596 B | A | view · diff |
| git:20260903.31c840c | 2026-09-03 | 31c840c | 6,547 B | A | view · diff |
| git:20260903.ac7d02a | 2026-09-03 | ac7d02a | 6,510 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6463 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
outlinedriven/odin-claude-plugin · 40 stars · license Apache-2.0 · pushed 2026-09-29 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_bt7tzktnwlegv6sy GET https://markdownregistry.com/api/v1/resolve?ref=outlinedriven/odin-claude-plugin/setup-pre-commit GET https://markdownregistry.com/api/v1/blob/d80781947432fc690d0101292235bbb585e7d3f0c81c201b543ca52f586f7833
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from outlinedriven/odin-claude-plugin
Every file in outlinedriven/odin-claude-plugin