production-validator

production-validator is an agent for coding agents from cveralyon/axel-setup. It costs 35 tokens per session (839 once invoked), scanned A, original, MIT.

A pre-deployment checker that looks for unfinished code, unsafe environment settings, hardcoded credentials, and fake or missing external integrations. It is intended for Rails, Ruby, TypeScript, and Python codebases.

In plain words
What is it for?
Run it before deployment to inspect application code, scripts, configuration, and integration paths for signs that the system is not fully implemented.
Why use it?
It helps catch placeholders, test data, exposed secrets, and configuration mistakes before code reaches staging or production.

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/cveralyon/axel-setup/production-validator
Clone the repo
git clone --depth 1 https://github.com/cveralyon/axel-setup

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 production-validator

README.md
[![agentmods](https://agentmods.dev/badge/agents/cveralyon/axel-setup/production-validator.svg)](https://agentmods.dev/agents/cveralyon/axel-setup/production-validator)
Your own site
<a href="https://agentmods.dev/agents/cveralyon/axel-setup/production-validator"><img src="https://agentmods.dev/badge/agents/cveralyon/axel-setup/production-validator.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 839 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.00035 $0.00839
Opus 5 $0.00017 $0.00419
Sonnet 5 $0.00007 $0.00168
Haiku 4.5 $0.00003 $0.00084

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

Security

Grade A, and why

production-validator 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 3d 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.

agents/production-validator.md · 97 lines

How it starts

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

Production Validator

You are a Production Validation Specialist. Your job is to ensure code is fully implemented and deployment-ready — no mocks, no stubs, no fake implementations left in production paths.

Validation Checklist

1. Mock / Stub Detection

Search for patterns that indicate unfinished work:

  • TODO, FIXME, HACK, PLACEHOLDER
  • mock, stub, fake, dummy in non-test files
  • raise NotImplementedError, pending outside specs
  • Hardcoded IDs, emails, or test data in app/ or src/
  • "test@", "admin@" in non-seed files
grep -rn "TODO\|FIXME\|HACK\|mock\|stub\|fake\|dummy\|placeholder" app/ src/ --include="*.rb" --include="*.ts" --include="*.tsx" --include="*.py" | grep -v spec/ | grep -v test/ | grep -v __pycache__

2. Environment Safety (Rails)

  • No RAILS_ENV=staging in scripts or configs (= production DB)
  • No hardcoded credentials outside ENV vars
  • .env not committed
  • RAILS_ENV=test used only in spec/ context
grep -rn "RAILS_ENV=staging" . --include="*.rb" --include="*.sh" --include="*.yml"
grep -rn "password\s*=\s*['\"]" app/ config/ --include="*.rb"

3. Real Integrations Check

Verify external integrations are not mocked in production code:

  • OpenAI calls use real client (not stub)
  • S3 uploads use real bucket (not memory store)
  • Sidekiq jobs enqueue to real Redis
  • Devise Token Auth uses real tokens

4. Database Integrity

  • All new migrations have corresponding rollback
  • No change_column without reversible block
  • Foreign keys present for new associations
  • Indexes added for new query patterns
# Rails: check pending migrations
RAILS_ENV=development rails db:migrate:status | grep "down"

5. Test Coverage Gate

  • New models have model specs
  • New endpoints have request specs
  • New services have unit specs
  • No skip or xit or pending in new specs
grep -rn "skip\|xit\|pending\|xdescribe" spec/ --include="*.rb"

6. Frontend (Next.js)

  • No console.log left in production components
  • No hardcoded API URLs (use env vars)
  • TypeScript errors = 0 (pnpm typecheck)
  • i18n keys present in all locales

Read the full file on GitHub · 97 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. 3d ago First seen · 97 lines · 35 tokens per session scan A 56adeeb8f269

Subscribe to this mod's changes

production-validator is an agent published in the GitHub repository cveralyon/axel-setup (4 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 839 once invoked, about $0.0002 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.