04-validation

04-validation is an agent for coding agents from jscraik/Agent-Skills. It costs 0 tokens per session (2,655 once invoked), scanned A, original, Apache-2.0.

A collection of procedures for checking repositories, configuration, AI workflows, skills, and pull-request gates.

In plain words
What is it for?
It helps install and verify repository checks, test hook readiness, validate environments, assess skill quality, and handle failures.
Why use it?
It catches missing tools, broken hooks, locked Git files, configuration errors, and other problems before expensive checks or delivery.

Agent

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 agents/jscraik/agent-skills/04-validation
Clone the repo
git clone --depth 1 https://github.com/jscraik/Agent-Skills

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 04-validation

README.md
[![agentmods](https://agentmods.dev/badge/agents/jscraik/agent-skills/04-validation.svg)](https://agentmods.dev/agents/jscraik/agent-skills/04-validation)
Your own site
<a href="https://agentmods.dev/agents/jscraik/agent-skills/04-validation"><img src="https://agentmods.dev/badge/agents/jscraik/agent-skills/04-validation.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,655 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 $0.00000 $0.02655
Opus 5 $0.00000 $0.01327
Sonnet 5 $0.00000 $0.00531
Haiku 4.5 $0.00000 $0.00265

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

Security

Grade A, and why

04-validation 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.

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.

Docs/agents/04-validation.md · 194 lines

How it starts

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

Validation and Checks

Table of Contents

Repository checks

  • Fresh-checkout command reachability: bash scripts/bootstrap-ask.sh --json, then python3 bin/ask repo status --json.
  • Git hook readiness: bash scripts/install-prek-hooks.sh installs prek hooks and patches the generated shims to use a writable temporary PREK_HOME outside Git metadata. This avoids repeated Codex sandbox failures on ~/.cache/prek/prek.log and prevents cache writes from being confused with linked-worktree metadata locks. Run python3 Infrastructure/scripts/validation-and-linting/git_metadata_preflight.py --json from the repository root before expensive hook gates; it fails closed on a current index.lock, denied metadata writes, or a locked current worktree. bash scripts/check-environment.sh fails if the adapter or hook wiring is missing.
  • bash Infrastructure/scripts/validation-and-linting/verify-work.sh (project-local default scope)
  • bash Infrastructure/scripts/validation-and-linting/verify-work.sh --workspace-governance (explicit workspace scope)
  • bash Infrastructure/scripts/validation-and-linting/check_path_ownership_boundaries.sh (blocks direct edits to runtime/projection surfaces including .agents/skills/**, .agents/plugins-runtime/cache/**, Plugins/cache/**, and runtime/**)
    • projection-refresh exception only: PATH_OWNERSHIP_ALLOW_CACHE_WRITES=1 bash Infrastructure/scripts/validation-and-linting/check_path_ownership_boundaries.sh
    • default scope is staged diff locally and base-ref diff in CI; override with PATH_OWNERSHIP_GUARD_SCOPE.
  • bash Infrastructure/scripts/lifecycle-and-sync/sync_skills.sh
  • python3 Infrastructure/scripts/validation-and-linting/docs_lint.py --mode warn --config Infrastructure/docs-policy.json
  • python3 Infrastructure/scripts/validation-and-linting/validate_steering_uptake.py --json validates the steering uptake ledger when agent operating rules, review feedback uptake, or high-signal steering surfaces change. It also rejects unknown failure-category and improvement-type labels so uptake records use the documented taxonomy instead of vague local phrasing.
  • bash Infrastructure/scripts/run-infrastructure-python.sh -m pytest scripts/testing/test_validate_steering_uptake.py -q proves steering uptake cannot pass as ceremony by rejecting records that lack operating failure, blocker, mechanism, or proof fields.
  • Interface-design changes should have tests that read as policy checks for authority, ownership, invariants, and operation-context errors. See Misuse-Resistant Interface Design.
  • just validate (or bash Infrastructure/scripts/validate_all.sh)
  • python3 Infrastructure/scripts/skill-graph/plan_graph_lint.py .agents/PLANS.md
  • Use the repo-local wrapper above instead of the global ~/.codex verify-work helper for this repository.
  • python3 Infrastructure/scripts/validation-and-linting/validate_steering_uptake.py --json when Jamie gives repeated or high-signal steering about agent behavior.
  • python3 Infrastructure/scripts/validation-and-linting/validate_sdk_runtime_lane_contract.py --json validates the Skills SDK runtime lane contract. Use it when work touches or reports SDK mechanical validation, codex exec --profile oss-local, codex exec --profile oss-cloud, local Tessl staging, or --tessl-live-private external Tessl proof.
  • Scope policy reference: hook-governance-scope-defaults.md.
  • Path ownership policy: 14-path-ownership-boundaries.md.

Read the full file on GitHub · 194 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. 5d ago First seen · 194 lines · 0 tokens per session scan A c13e9cda02c3

Subscribe to this mod's changes

04-validation is an agent published in the GitHub repository jscraik/Agent-Skills (8 stars, last pushed 4d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,655 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-08-31.

Related

Other agents, from other repositories

external-system-integration-expert

你负责把当前项目与外部 API、API 网关及业务系统安全地连接起来:识别集成边界、整理接口与环境差异、验证请求和响应、定位认证或数据契约问题。.

agents-universe/agents-universe · 33 tokens

ba-designer

Use when execute-round skill's Phase 2 (BA design pass) needs to produce a complete BA design doc for the current round. Generates D-1..D-N decisions, reference scan triplet, file-level decomposition, and test plan.

Arch1eSUN/Arcgentic · 53 tokens

verifier

Verification agent for /craft:research-verify. Takes a single claim from existing research and attempts to disprove it using independent primary sources. Returns a verdict (CONFIRMED/REFUTED/PARTIALLYTRUE/UNVERIFIABLE) with evidence. NOT a researcher. Does not discover new topics or cast a wide net. Takes one claim…

drobins25/craft · 178 tokens

guidance-system

Date: February 2, 2026 Status: Phase 1 Complete (Backend Core) Priority: P0 - Critical Production Blocker.

rush86999/atom · 0 tokens

pr-reviewer-expert

PR review agent crystallized from reverse-engineering CodeRabbit. Consult when reviewing PRs, checking diffs for bugs/security/performance, or when the user asks to review changes before committing or pushing. Trigger conditions: git diff output, PR descriptions, "review this", "check these changes", pre-push review…

drobins25/craft · 266 tokens

architecture-strategist

Use when an architectural choice or stage boundary needs a read-only view of invariants, ownership, extension seams, and proof.

tdwhere123/do-it · 30 tokens