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.

Install it, pinned
mdr add outlinedriven/odin-claude-plugin/setup-pre-commit@git:20260904.2014e73

Pins 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

The exact contents, by fingerprint
mdr add outlinedriven/odin-claude-plugin/setup-pre-commit@sha256:d80781947432fc69

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_bt7tzktnwlegv6sy.svg)](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.

versioncommittedcommitsizeaudit
git:20260904.2014e73 latest2026-09-04 2014e73 6,463 BA view · diff
git:20260904.470ba162026-09-04 470ba16 6,596 BA view · diff
git:20260903.31c840c2026-09-03 31c840c 6,547 BA view · diff
git:20260903.ac7d02a2026-09-03 ac7d02a 6,510 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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

AGENTS.md AGENTS.md file
outlinedriven/odin-claude-plugin · AGENTS.md
git:20260925.8ce0e87 · audit A · 40 stars
CLAUDE.md CLAUDE.md file
outlinedriven/odin-claude-plugin · CLAUDE.md
git:20260509.7995591 · audit B · 40 stars
agent-environment-retrospective SKILL.md skill
outlinedriven/odin-claude-plugin · plugins/odin-agent/skills/agent-environment-retrospective/SKILL.md · Use when a completed session needs an agent-environment retrospective. Not for an engineering retrospective from…
git:20260904.2014e73 · audit A · 40 stars
agents-md SKILL.md skill
outlinedriven/odin-claude-plugin · plugins/odin-agent/skills/agents-md/SKILL.md · Use when a repo needs agent setup, AGENTS.md added or made lean, CLAUDE.md audited, or agent instructions scored or…
git:20260905.4d9e207 · audit A · 40 stars
check-agent-compatibility SKILL.md skill
outlinedriven/odin-claude-plugin · plugins/odin-agent/skills/check-agent-compatibility/SKILL.md · Use when a human explicitly asks for a full repository agent-compatibility pass returning a scored report with…
git:20260912.6e06ed3 · audit A · 40 stars
claude-settings-audit SKILL.md skill
outlinedriven/odin-claude-plugin · plugins/odin-agent/skills/claude-settings-audit/SKILL.md · Use when setting up a project, auditing agent command permissions, or asking which read-only bash commands and domains…
git:20260912.6e06ed3 · audit A · 40 stars
cli-for-agents SKILL.md skill
outlinedriven/odin-claude-plugin · plugins/odin-agent/skills/cli-for-agents/SKILL.md · Use when asked to build or review a CLI intended for coding agents and return flag-driven, pipeline-safe, idempotent…
git:20260903.c54504d · audit A · 40 stars
harness-port-guide SKILL.md skill
outlinedriven/odin-claude-plugin · plugins/odin-agent/skills/harness-port-guide/SKILL.md · Use when the user asks to make the skills framework work in a new harness, IDE, or CLI. Not for remote, credential…
git:20260912.6e06ed3 · audit A · 40 stars
inits SKILL.md skill
outlinedriven/odin-claude-plugin · plugins/odin-agent/skills/inits/SKILL.md · Use when onboarding to a repository, capturing costly conventions, constraints, or rationale, or improving AGENTS.md…
git:20260904.2014e73 · audit A · 40 stars
mcp-builder SKILL.md skill
outlinedriven/odin-claude-plugin · plugins/odin-agent/skills/mcp-builder/SKILL.md · Use when asked to create an MCP server to integrate an API or service in Python or TypeScript. Not for remote…
git:20260912.6e06ed3 · audit A · 40 stars
multi-agent-tournament-scorecard SKILL.md skill
outlinedriven/odin-claude-plugin · plugins/odin-agent/skills/multi-agent-tournament-scorecard/SKILL.md · Use when agent strategies need a reproducible finite tournament under a frozen evaluation protocol. Not for open-ended…
git:20260912.6e06ed3 · audit A · 40 stars
prohibit-bad-habits SKILL.md skill
outlinedriven/odin-claude-plugin · plugins/odin-agent/skills/prohibit-bad-habits/SKILL.md · Use when a user wants to define patterns the agent should not do. Don''t use for remote, credential, publish, deploy…
git:20260912.6e06ed3 · audit A · 40 stars

Every file in outlinedriven/odin-claude-plugin

Other files named setup-pre-commit

setup-pre-commit SKILL.md skill
vinvcn/mattpocock-skills-zh-cn · skills/misc/setup-pre-commit/SKILL.md · 在当前仓库设置 Husky pre-commit hooks,集成 lint-staged (Prettier)、类型检查和测试。适用于用户想添加 pre-commit hooks、设置 Husky、配置…
git:20261008.5be0dc1 · audit A · 5,611 stars
setup-pre-commit SKILL.md skill
asymmetric-al/core · .agents/skills/setup-pre-commit/SKILL.md · Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user…
git:20260923.15c9348 · audit A · 370 stars
setup-pre-commit SKILL.md skill
rudycity/superagent · .agents/skills/setup-pre-commit/SKILL.md · Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user…
git:20260626.019dba9 · audit A · 64 stars
setup-pre-commit SKILL.md skill
vodailocz/kilo-kit-mcp · skills/productivity/setup-pre-commit/SKILL.md · Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user…
git:20260821.05c0d52 · audit A · 27 stars
setup-pre-commit SKILL.md skill
mambo-wang/codewiki-plus · .codebuddy/skills/setup-pre-commit/SKILL.md · Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user…
git:20260916.5a385b8 · audit A · 21 stars
setup-pre-commit SKILL.md skill
mambo-wang/codewiki-plus · .trae/skills/setup-pre-commit/SKILL.md · Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user…
git:20260916.5a385b8 · audit A · 21 stars
setup-pre-commit SKILL.md skill
shumingyang-opencode/mattpocock-skills-zh-tw · skills/misc/setup-pre-commit/SKILL.md · 在目前的 repo 中以 lint-staged(Prettier)、型別檢查與測試設定 Husky pre-commit hooks。當使用者想要新增 pre-commit hooks、設定 Husky、設定…
git:20260806.5bfe60b · audit A · 4 stars
setup-pre-commit SKILL.md skill
chrislacey89/skills · setup-pre-commit/SKILL.md · Infrastructure skill for setting up commit-time quality gates. Use when a repo needs Lefthook-based pre-commit hooks…
git:20261014.01ed277 · audit A · 4 stars

Browse by kind, by grade A, or by owner.