verify-bootstrap

verify-bootstrap is a skill for Claude Code from shimo4228/claude-harness. It costs 242 tokens per session (4,798 once invoked), scanned A, original, MIT.

A repository setup and audit process that chooses mechanical checks for the languages and tools actually present in a codebase. A mechanical check is an automated gate such as formatting, linting, or tests.

In plain words
What is it for?
Use it to create or audit .claude/verify.sh and its documentation, detect existing verification tools, and maintain appropriate checks as a repository changes.
Why use it?
It creates or reviews a verification script based on observed repository contents instead of relying on a fixed, potentially outdated tool list.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

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.

agentmods
npx agentmods add skills/shimo4228/claude-harness/verify-bootstrap
Any agent
npx skills add shimo4228/claude-harness --skill verify-bootstrap
Clone the repo
git clone --depth 1 https://github.com/shimo4228/claude-harness

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 verify-bootstrap

README.md
[![agentmods](https://agentmods.dev/badge/skills/shimo4228/claude-harness/verify-bootstrap.svg)](https://agentmods.dev/skills/shimo4228/claude-harness/verify-bootstrap)
Your own site
<a href="https://agentmods.dev/skills/shimo4228/claude-harness/verify-bootstrap"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/verify-bootstrap.svg" alt="Measured on agentmods" height="20"></a>
Per session 242 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,798 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00242 $0.04798
Opus 5 $0.00121 $0.02399
Sonnet 5 $0.00048 $0.00960
Haiku 4.5 $0.00024 $0.00480

Measured today against content hash 3a799c57ab03, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

verify-bootstrap 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 today.

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/verify-bootstrap/SKILL.md · 242 lines

How it starts

The opening of the file, as written. The whole thing — 242 lines — stays where its author put it; the contents beside it link to each section on GitHub.

verify-bootstrap — repo に機械ゲートを立てる

人間がコードを読む速度は、AI が書く速度に追いつかない。だから構造的な正しさの判定は 機械に移す。この skill は repo ごとに、 その時点で最良の検査ツールを立てる。

この skill が持たないもの(設計上の中核)

ツール名の一覧を持たない。言語の検出テーブルも持たない。 ツールは陳腐化する (flake8 + black + isort → ruff は 2 年で起きた)。固定表を持てば表が腐り、 腐った表が repo に配られる。

持つのは 調べ方と契約だけ:

  • repo の実態を列挙する手順(静的な言語リストを参照しない)
  • category ごとに何を search-first に問うか
  • 生成物 .claude/verify.sh の契約(global hook がこれだけを知る)
  • strictness と陳腐化検知の規律

結果として、この skill が書かれた時点で存在しなかった言語・ツールでも同じ手順で回る。

モード

モード 起動条件 やること
bootstrap .claude/verify.sh が無い Step 1–6 を通す
audit 既にある(--audit / 「棚卸し」) Step 1 を再実行し、.claude/verify.md の選定を search-first で引き直して差分を提案

Step 1 — repo の実態を列挙する(検出、静的表なし)

推測しない。実測する

# 追跡ファイルの拡張子分布(上位)— 生成物・依存ディレクトリは除く
git ls-files | sed -n 's/.*\.\([A-Za-z0-9_]*\)$/\1/p' | sort | uniq -c | sort -rn | head -20
# ビルド/依存マニフェストの実在
git ls-files | grep -iE '(^|/)(pyproject\.toml|package\.json|Cargo\.toml|go\.mod|Gemfile|pom\.xml|build\.gradle.*|\*\.xcodeproj|Package\.swift|mix\.exs|composer\.json|Makefile|justfile)$' 
# 既存のゲート痕跡(重複導入の防止)
git ls-files | grep -iE '(pre-commit-config|lefthook|\.github/workflows/|trunk\.yaml|\.golangci|\.eslintrc|ruff\.toml)'

上のマニフェスト grep は発見の補助であって権威ではない。1 本目の拡張子分布が正本で、 grep に載っていない生態系が出てきたらそれを Step 2 にそのまま渡す(表を編集して この skill に足さない — 表を持たないことがこの skill の設計)。

散文・設定・スキーマも対象に含める。コードだけがゲートの対象ではない (Markdown の日本語 prose、YAML、CI 定義、シェルスクリプトはいずれも機械検査できる)。

Step 2 — category ごとに現時点の最適ツールを調べる

検出した生態系ごとに、6 category を埋める。埋まらない category は「無い」と明記する (空欄と「その言語には該当がない」は別物)。

category 問い
format 整形の正規化。差分ノイズを消し、レビュー対象を意味の変化だけにする
lint 構造的な誤り・複雑度・デッドコード
type check 型で表現できる契約。型なし言語なら「型注釈を段階導入する手段があるか」
security 危険な構文・秘密の混入(秘密スキャンは harness 側にもあるので重複を確認)
dependency 既知脆弱性・未使用依存・ライセンス
test テストランナーとカバレッジ測定

予算系 rule(閾値を要する複雑度・関数/ファイル長・bundle サイズ等)は既定に頼らない。 主要 linter は予算系を既定 OFF で出荷するのが通例(閾値が opinionated なため)— 「最大 strict」の運用では構造的に素通りする(2026-08-28 実測でカバー 0 を確認 — 数値の正本は ADR-0056)。lint category を埋めるとき明示的に問う。stack の標準 toolchain が 既定で予算を持つ場合(例: SwiftLint の cyclomatic_complexity / file_length)は追認して verify.md に 1 行記録するだけでよい。閾値は global に定めない — repo 間で分布は数倍 割れる(同実測、正本は ADR-0056)。 既存 corpus 全件の分布を実測してから、現状の外れ値だけが赤くなる位置に置く (skill review-to-lint の免除境界の原則。ゲートを初日に赤くする閾値は設計ミス)。

Read the full file on GitHub · 242 lines

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. today Changed · +18 lines 3a799c57ab03
  2. 5d ago First seen · 224 lines · 242 tokens per session scan A f04cfd76e142

Subscribe to this mod's changes

verify-bootstrap is a skill published in the GitHub repository shimo4228/claude-harness (2 stars, last pushed 3d ago), licensed MIT. It adds 242 tokens to every session and 4,798 once invoked, about $0.0012 per session on Opus 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

zod

Zod v4 best practices, patterns, and API guidance for schema validation, parsing, error handling, and type inference in TypeScript applications. Covers safeParse, object composition, refinements, transforms, codecs, branded types, v3→v4 migration, and testing schemas with Jest or Vitest. Baseline: zod ^4.3.0. Triggers…

anivar/zod-skill · 138 tokens

jest

Jest best practices, patterns, and API guidance for JavaScript/TypeScript testing. Covers mock design, async testing, matchers, timer mocks, snapshots, module mocking, configuration, and CI optimization. Baseline: jest ^30.0.0. Triggers on: jest imports, describe, it, test, expect, jest.fn, jest.mock, jest.spyOn…

anivar/jest-skill · 97 tokens

agent-adoption-triage

Five-question triage for routing AI work to the right architecture — script, algorithmic search, LLM workflow, or autonomous agentic loop — before any agent is built. Use when someone says "let's build an agent for X", when deciding whether a use case actually needs an autonomous agent, when reviewing an agent…

shimo4228/agent-adoption-triage · 143 tokens

redux-saga

Redux-Saga best practices, patterns, and API guidance for building, testing, and debugging generator-based side-effect middleware in Redux applications. Covers effect creators, fork model, channels, testing with redux-saga-test-plan, concurrency, cancellation, and modern Redux Toolkit integration. Baseline: redux-saga…

anivar/redux-saga-skill · 109 tokens

zod-testing

Testing patterns for Zod schemas using Jest and Vitest. Covers schema correctness testing, mock data generation, error assertion patterns, integration testing with API handlers and forms, snapshot testing with z.toJSONSchema(), and property-based testing. Baseline: zod ^4.0.0. Triggers on: test files for Zod schemas…

anivar/zod-testing · 105 tokens

redux-saga-testing

Write tests for Redux Sagas using redux-saga-test-plan, runSaga, and manual generator testing. Covers expectSaga (integration), testSaga (unit), providers, partial matchers, reducer integration, error simulation, and cancellation testing. Works with Jest and Vitest. Triggers on: test files for sagas…

anivar/redux-saga-testing · 104 tokens