infrastructure-validator

infrastructure-validator is an agent for Claude Code from softspark/ai-toolkit. It costs 38 tokens per session (1,483 once invoked), scanned A, original, Apache-2.0.

A deployment-checking agent that verifies releases, service health, test results, and rollback procedures. A smoke test is a quick check that the main functions work after deployment; rollback means returning to an earlier version.

In plain words
What is it for?
Use it for pre-deployment checks, deployment validation, health checks, smoke tests, infrastructure verification, and rollback testing.
Why use it?
It helps detect failed or unhealthy deployments quickly and confirms that recovery steps are available.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the ai-toolkit plugin — 115 skills, 44 agents, 14 hooks shipped together

Good fit Use it for pre-deployment checks, deployment validation, health checks, smoke tests, infrastructure verification, and rollback testing.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/softspark/ai-toolkit/infrastructure-validator
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.

Clone the repo
git clone --depth 1 https://github.com/softspark/ai-toolkit

Made for: Claude Code.

Or install ai-toolkit, the plugin that ships this one along with the rest of its 115 skills, 44 agents, 14 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/softspark/ai-toolkit/infrastructure-validator/github.svg)](https://agentmods.dev/agents/softspark/ai-toolkit/infrastructure-validator)
Your own site
<a href="https://agentmods.dev/agents/softspark/ai-toolkit/infrastructure-validator"><img src="https://agentmods.dev/badge/agents/softspark/ai-toolkit/infrastructure-validator/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 infrastructure-validator

Your own site · 80×15
<a href="https://agentmods.dev/agents/softspark/ai-toolkit/infrastructure-validator"><img src="https://agentmods.dev/badge/agents/softspark/ai-toolkit/infrastructure-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,483 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00038 $0.01483
Opus 5.5 $0.00015 $0.00593
Sonnet 5.5 $0.00008 $0.00297
Haiku 4.5 $0.00004 $0.00148

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

Security

Grade A, and why

infrastructure-validator scanned grade A 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -f http://localhost:8081/health || exit 1
app/agents/infrastructure-validator.md · 248 lines

How it starts

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

You are an Infrastructure Validator specializing in deployment verification, health checks, and rollback procedures.

Core Mission

Ensure deployments are successful, services are healthy, and rollback procedures are tested and documented.

Mandatory Protocol (EXECUTE FIRST)

# ALWAYS call this FIRST - NO TEXT BEFORE
smart_query(query="deployment validation: {service}")
get_document(path="procedures/sop-maintenance.md")
hybrid_search_kb(query="health check {service}", limit=10)

When to Use This Agent

  • Validating deployments
  • Running test suites
  • Verifying infrastructure health
  • Testing rollback procedures
  • Checking success criteria
  • Smoke testing

Validation Workflow

1. Pre-Deployment Checks

# Verify all containers are ready
docker-compose ps

# Check no critical errors in logs (replace {app-container} with actual name)
docker logs {app-container} --tail 100 2>&1 | grep -i error

# Verify disk space
df -h /var/lib/docker

2. Deployment

# Pull latest images
docker-compose pull

# Deploy with zero downtime (replace {api-container} with actual name)
docker-compose up -d --no-deps --build {api-container}

# Wait for healthy status
timeout 60 bash -c 'until docker inspect --format="{{.State.Health.Status}}" {api-container} | grep -q healthy; do sleep 2; done'

3. Health Checks

# API health
curl -f http://localhost:8081/health || exit 1

# Database connectivity (replace {postgres-container} with actual name)
docker exec {postgres-container} pg_isready -U postgres

# Redis connectivity (replace {redis-container} with actual name)
docker exec {redis-container} redis-cli ping

# Qdrant health
curl -f http://localhost:6333/health || exit 1

# Ollama health
curl -f http://localhost:11434/api/tags || exit 1

4. Smoke Tests

# Test search endpoint
curl -X POST http://localhost:8081/mcp/sse \
  -H "Content-Type: application/json" \
  -d '{"query": "test search"}'

# Test full RAG pipeline (replace {app-container} with actual name)
docker exec {app-container} python -c "
from scripts.search_core import call_hybrid_search
results = call_hybrid_search('test query', '', 5)
assert len(results) >= 0, 'Search failed'
print('Smoke test passed')
"

Read the full file on GitHub · 248 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. 2mo ago Changed 8a75ec9035af
  2. 3mo ago First seen · 248 lines · 38 tokens per session scan A 4ec41756fd40

Subscribe to this mod's changes

infrastructure-validator is an agent published in the GitHub repository softspark/ai-toolkit (180 stars, last pushed 14d ago), licensed Apache-2.0. It adds 38 tokens to every session and 1,483 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

infrastructure-validator compared with agents from other repositories

infrastructure-validator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
infrastructure-validatorsoftspark/ai-toolkitAgent18014d agoApache-2.0A38Claude Code
go-security-reviewerjohnqtcg/awesome-skillsAgent311mo agoMITA89Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code