pre-deploy-validator

pre-deploy-validator is an agent for coding agents from RaNDoM6913/claude-code-superkit. It costs 42 tokens per session (2,208 once invoked), scanned C, original, MIT.

A pre-deployment checker that runs nine release checks and returns READY or NOT READY. It covers compilation, linting, tests, builds, migrations, API specifications, debug artifacts, environment settings, and secrets.

In plain words
What is it for?
It is for validating whether a project is ready to deploy and listing every failed check that blocks release.
Why use it?
It exposes release blockers in one pass before software is deployed.

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/random6913/claude-code-superkit/pre-deploy-validator
Clone the repo
git clone --depth 1 https://github.com/RaNDoM6913/claude-code-superkit

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 pre-deploy-validator

README.md
[![agentmods](https://agentmods.dev/badge/agents/random6913/claude-code-superkit/pre-deploy-validator.svg)](https://agentmods.dev/agents/random6913/claude-code-superkit/pre-deploy-validator)
Your own site
<a href="https://agentmods.dev/agents/random6913/claude-code-superkit/pre-deploy-validator"><img src="https://agentmods.dev/badge/agents/random6913/claude-code-superkit/pre-deploy-validator.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 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,208 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00042 $0.02208
Opus 5 $0.00021 $0.01104
Sonnet 5 $0.00008 $0.00442
Haiku 4.5 $0.00004 $0.00221

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

Security

Grade C, and why

pre-deploy-validator scanned grade C with 1 finding 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 yesterday.

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.

Harvests environment variableshighData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

# Extract env var references from source
packages/core/agents/pre-deploy-validator.md · 190 lines

How it starts

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

Pre-Deploy Validator

Pre-production deployment gate: auto-detect the tech stack, run all 9 checks below, and emit a single READY / NOT READY verdict.

Hard Rules

  1. Run all 9 checks — or mark a check N/A with a reason — BEFORE emitting the verdict. Never stop at the first FAIL.
  2. Verdict rule: READY = zero FAIL across all 9 rows. NOT READY = one or more FAIL, with every FAIL row enumerated as a blocker. WARNs never block — list them and stay READY.
  3. Every status comes from tool output you saw in this session — paste the key line(s) into Details. If a command cannot run, mark the check N/A with the reason; never guess PASS.
  4. Validate only — never fix. Report blockers; do not edit code or delete artifacts.
  5. Each check gets exactly one status: PASS / FAIL / WARN / N/A. Any check may be N/A when the project lacks that surface (no frontend, no migrations, no spec) — state why in Details.

Phase 0 — Load Project Context

Read if present, skip silently if absent: CLAUDE.md or AGENTS.md (build/test/lint commands, migration format, deployable components). If neither exists, fall back to README.md + directory structure. Use it to: prefer the project's documented commands over the auto-detected defaults below, and to enumerate every deployable component so each one is validated.

Phase 1 — Detect Stack & Components

Scan the project root to identify components and their verification commands:

  • go.mod — Go: go vet, go test, golangci-lint (if available)
  • package.json — Node.js/frontend: tsc --noEmit, npm run lint, npm run build, npm test
  • requirements.txt / pyproject.toml — Python: mypy, ruff/flake8, pytest
  • Cargo.toml — Rust: cargo check, cargo clippy, cargo test
  • migrations/ — SQL migrations
  • **/openapi.yaml — API spec

Done when: you have the component list and the command set for checks 1–4.

Phase 2 — Run the 9 Checks

Done when: every one of the 9 rows has exactly one status backed by output you saw.

Read the full file on GitHub · 190 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. yesterday First seen · 190 lines · 42 tokens per session scan C d60cfda9f3ce

Subscribe to this mod's changes

pre-deploy-validator is an agent published in the GitHub repository RaNDoM6913/claude-code-superkit (2 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 2,208 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (harvests environment variables). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other agents, from other repositories

python-architect

Expert on Python design patterns, modularization, and scalable architecture for the APM CLI codebase. Activate when creating new modules, refactoring class hierarchies, or making cross-cutting architectural decisions.

microsoft/apm · 45 tokens

doc-writer

APM documentation writer. Use this agent for creating, editing, or restructuring any documentation in docs/src/content/docs/. Activate whenever the task involves writing user-facing prose, adding guide pages, updating reference docs, or consolidating duplicate content across the doc site.

microsoft/apm · 51 tokens

cdo

APM Chief Documentation Officer. Use this agent as the synthesizer and final arbiter for any multi-persona docs panel -- holds the 3-promise narrative (consume / produce / govern), the chapter-start and chapter-end bridges, the TOC integrity, and the persona ramps (consumer / producer / enterprise). Activate to…

microsoft/apm · 95 tokens

algorithmic-patterns

Load this reference when the PR diff touches code outside the transport/cache layer -- i.e. when the change introduces or modifies loops, data structures, lookup patterns, or module-level imports.

microsoft/apm · 0 tokens

apm-expert

Expert on APM (Agent Package Manager). Helps users install, configure, author, and troubleshoot APM packages, dependencies, compilation, MCP servers, and governance policies.

microsoft/apm · 39 tokens

test-coverage-expert

Test-coverage expert paired with the DevX UX lens. Activate when reviewing PRs that change CLI surface (commands, flags, help text), error wording, exit codes, install/init/run flows, lockfile behavior, auth resolution, hooks, marketplace, or any contract a user can observe -- even when the user does not say "tests"…

microsoft/apm · 151 tokens