precommit-regression-testing-starter

precommit-regression-testing-starter is a skill for Claude Code, Codex from ma-compbio-lab/SkillFoundry. It costs 0 tokens per session (165 once invoked), scanned A, original, Apache-2.0.

A small test workflow that creates a temporary Python repository and runs local pre-commit checks. Pre-commit checks automatically inspect changes before they are committed to Git.

In plain words
What is it for?
Checking Python compilation, validating a JSON metadata file, and confirming that local pre-commit hooks run successfully.
Why use it?
It verifies that these checks work end to end without changing the main repository.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Checking Python compilation, validating a JSON metadata file, and confirming that local pre-commit hooks run successfully.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ma-compbio-lab/skillfoundry/precommit-regression-testing-starter
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.

Any agent
npx skills add ma-compbio-lab/SkillFoundry --skill precommit-regression-testing-starter
Clone the repo
git clone --depth 1 https://github.com/ma-compbio-lab/SkillFoundry

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 precommit-regression-testing-starter

README.md
[![agentmods](https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/precommit-regression-testing-starter/github.svg)](https://agentmods.dev/skills/ma-compbio-lab/skillfoundry/precommit-regression-testing-starter)
Your own site
<a href="https://agentmods.dev/skills/ma-compbio-lab/skillfoundry/precommit-regression-testing-starter"><img src="https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/precommit-regression-testing-starter/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.

agentmods 80×15 button for precommit-regression-testing-starter

Your own site · 80×15
<a href="https://agentmods.dev/skills/ma-compbio-lab/skillfoundry/precommit-regression-testing-starter"><img src="https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/precommit-regression-testing-starter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 165 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.00165
Opus 5 $0.00000 $0.00082
Sonnet 5 $0.00000 $0.00033
Haiku 4.5 $0.00000 $0.00016

Measured 5d ago against content hash f624484a9eb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

precommit-regression-testing-starter 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 5d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/run_precommit_regression.py, tests/test_run_precommit_regression.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/meta-maintenance/precommit-regression-testing-starter/SKILL.md · 24 lines

What it actually says

pre-commit Regression Testing Starter

Use this skill to build a tiny disposable repository and run deterministic local pre-commit hooks as a regression-testing starter.

Run

python3 \
  skills/meta-maintenance/precommit-regression-testing-starter/scripts/run_precommit_regression.py \
  --workspace scratch/precommit-guard/workspace \
  --out scratch/precommit-guard/summary.json

What It Verifies

  • a tiny Python module compiles cleanly
  • a tiny JSON metadata file passes a local validation hook
  • the starter can run pre-commit end to end inside a disposable workspace

Notes

  • This is a starter for the taxonomy leaf regression-testing.
  • The temporary repository is self-contained and does not modify the main repository.
Files

What ships with it

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

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. 5d ago First seen · 24 lines · 0 tokens per session scan A f624484a9eb4

Subscribe to this mod's changes

precommit-regression-testing-starter is a skill published in the GitHub repository ma-compbio-lab/SkillFoundry (38 stars, last pushed 4mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 165 tokens. 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-09-03.

Related

Other skills, from other repositories

experiment-loop

Autonomous benchmark-driven experiment loop: propose a change, measure the metric, keep what improves it, revert what doesn't, repeat. Git is the ledger — every kept improvement is a commit. Every discarded attempt is a clean revert.

aaronnat23/disp8ch · 0 tokens

ship

Ship workflow: detect + merge base branch, run tests, review diff, bump VERSION, update CHANGELOG, commit, push, create PR. Use when asked to "ship", "deploy", "push to main", "create a PR", "merge and push", or "get it deployed". Proactively invoke this skill (do NOT push/PR directly) when the user says code is…

Ertinox7711/SGRR-AGI-V2 · 105 tokens

test-driven-development

Test-Driven Development enforces the RED-GREEN-REFACTOR discipline on every code change an agent produces.

itallstartedwithaidea/agent-skills · 27 tokens

workflow-patterns

Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the verification protocol.

FluxonLab/Skillry · 35 tokens

setup-pre-commit

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

saitarrun/Devforge-ai · 62 tokens

setup-pre-commit

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

saitarrun/Sdlc-ai-workflow · 62 tokens