leash: Skill for Claude Code

.claude/skills/check/SKILL.md

check is a skill for Claude Code from thiagolmoraes/leash. It costs 60 tokens per session (381 once invoked), scanned A, original, MIT.

A local verification checklist for code repositories that runs shell-script checks, YAML parsing, Docker Compose configuration checks, and Python unit tests.

In plain words
What is it for?
Use it before committing or opening a pull request to validate changed shell and YAML files, check Docker Compose configuration, and run unit tests.
Why use it?
It catches common configuration, scripting, and unit-test problems before a commit or pull request, while distinguishing local checks from the separate virtual-machine integration suite.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is thiagolmoraes/leash's own configuration. It tells Claude Code how to work on leash itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything leash configures →

Reuse

Borrowing it

Nothing to install: this file belongs to thiagolmoraes/leash. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/thiagolmoraes/leash/main/.claude/skills/check/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/thiagolmoraes/leash

Made for: Claude Code.

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 check

README.md
[![agentmods](https://agentmods.dev/badge/skills/thiagolmoraes/leash/check/github.svg)](https://agentmods.dev/skills/thiagolmoraes/leash/check)
Your own site
<a href="https://agentmods.dev/skills/thiagolmoraes/leash/check"><img src="https://agentmods.dev/badge/skills/thiagolmoraes/leash/check/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 check

Your own site · 80×15
<a href="https://agentmods.dev/skills/thiagolmoraes/leash/check"><img src="https://agentmods.dev/badge/skills/thiagolmoraes/leash/check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 381 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.00060 $0.00381
Opus 5.5 $0.00024 $0.00152
Sonnet 5.5 $0.00012 $0.00076
Haiku 4.5 $0.00006 $0.00038

Measured 1mo ago against content hash 9a6ab81dd946, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

.claude/skills/check/SKILL.md · 34 lines

What it actually says

Run the local verification suite mirroring .github/workflows/ CI. All steps run on the host — no Lima VM needed.

  1. Shellcheck on the scripts CI checks:

    shellcheck tests/run_tests.sh agents/entrypoint.sh
    

    Also shellcheck any other .sh file changed in the working diff.

  2. YAML validation on every changed/tracked YAML file:

    python3 -c "import yaml,sys; yaml.safe_load(open(sys.argv[1]))" <file>
    

    At minimum: proxy/policy.yaml, falco/rules.local.yaml, lima/agent-lab.yaml, docker-compose.yml if changed.

  3. Compose validation (needs .env present; copy from example if missing):

    [ -f .env ] || cp .env.example .env
    docker compose config --quiet
    

    Note: if docker is unavailable on the host, skip and say so — CI covers it.

  4. Unit tests:

    pytest tests/unit/ -v
    

    If imports fail on missing deps: pip install mitmproxy pyyaml pytest then retry.

Report results as a short pass/fail list. If anything fails, show the exact error output and stop — do not auto-fix unless asked. Remind that make test (19-test integration suite in the VM) must still pass 19/19 before a PR.

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. 1mo ago First seen · 34 lines · 60 tokens per session scan A 9a6ab81dd946

Subscribe to this mod's changes

check is a skill published in the GitHub repository thiagolmoraes/leash (5 stars, last pushed 3mo ago), licensed MIT. It adds 60 tokens to every session and 381 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

terraform-skill

Terraform infrastructure as code best practices.

Agent-Threat-Rule/agent-threat-rules · 10 tokens

cloudflare-workers-testing

Comprehensive testing guide for Cloudflare Workers using Vitest and @cloudflare/vitest-pool-workers. Use for test setup, binding mocks (D1/KV/R2/DO), integration tests, or encountering test failures, mock errors, coverage issues.

secondsky/claude-skills · 57 tokens

test-migration

Migrate a test suite from one framework to another, incrementally and without losing coverage. Covers Selenium→Playwright, Cypress→Playwright, Jest→Vitest, Mocha→Vitest, and Protractor→Playwright, with parallel CI running, locator/assertion translation, and a coverage-parity track. Use when: "migrate tests," "switch…

petrkindlmann/qa-skills · 178 tokens

unit-testing

Write effective unit tests with Jest, Vitest, or pytest. Covers the test-doubles taxonomy (stub/spy/mock/fake), Arrange-Act-Assert, coverage threshold configuration and CI gating, snapshot testing, fake timers, and mutation testing with Stryker/mutmut. Use when: "unit test," "Jest," "Vitest," "pytest," "mock,"…

petrkindlmann/qa-skills · 174 tokens

Code Coverage Analysis

Measure and enforce test coverage with Istanbul/nyc, c8, Jest, and Vitest. Covers branch versus line coverage, per-directory thresholds, CI gates, and correctly excluding generated code from reports.

PramodDutta/qaskills · 45 tokens

matlab-testing-ci

MATLAB testing, validation, and CI workflow for matlab.unittest, MATLAB Test, Simulink Test, coverage, artifact generation, GitHub Actions, and open-source reproducibility. Use whenever MATLAB work needs verification, regression tests, CI, GitHub publication, or acceptance criteria.

wzyn20051216/matlab-agent-skills · 62 tokens