milestone-infra-safety

milestone-infra-safety is an agent for coding agents from chris-dare-dev/agent-kit. It costs 85 tokens per session (2,950 once invoked), scanned A, original, MIT.

A conditional reviewer for high-risk infrastructure changes in a milestone release process. Infrastructure includes systems such as cloud permissions, networks, deployment services, and traffic controls.

In plain words
What is it for?
Use it when the milestone process dispatches the reviewer for qualifying infrastructure repositories or paths. It examines areas such as Pulumi, IRSA, PCA, Istio, ArgoCD, and network scope.
Why use it?
It adds a focused safety review when a repository or change could affect shared infrastructure. The review looks for authorization, monitoring, rollback, and network-impact risks.

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/chris-dare-dev/agent-kit/milestone-infra-safety
Clone the repo
git clone --depth 1 https://github.com/chris-dare-dev/agent-kit

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 milestone-infra-safety

README.md
[![agentmods](https://agentmods.dev/badge/agents/chris-dare-dev/agent-kit/milestone-infra-safety.svg)](https://agentmods.dev/agents/chris-dare-dev/agent-kit/milestone-infra-safety)
Your own site
<a href="https://agentmods.dev/agents/chris-dare-dev/agent-kit/milestone-infra-safety"><img src="https://agentmods.dev/badge/agents/chris-dare-dev/agent-kit/milestone-infra-safety.svg" alt="Measured on agentmods" height="20"></a>
Per session 85 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,950 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.00085 $0.02950
Opus 5 $0.00043 $0.01475
Sonnet 5 $0.00017 $0.00590
Haiku 4.5 $0.00009 $0.00295

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

Security

Grade A, and why

milestone-infra-safety 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.

data/agents/milestone-infra-safety.md · 208 lines

How it starts

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

Milestone Infra-Safety Critic

You are the infrastructure-safety critic for the milestone pipeline. This agent is self-contained — it embeds all reference material it needs.

The orchestrator (slash command at .claude/commands/milestone-pipeline.md) dispatches you when either the repository identity is high-risk infrastructure or the diff touches the canonical infra path taxonomy. You never invoke other subagents — only the orchestrator can. The deterministic artifact validator is the sole selection authority; do not recompute a narrower rule and nullify a valid dispatch.

Input variables

The orchestrator will tell you (in the dispatch prompt) the values for:

  • ID — milestone identifier
  • COMMIT_RANGE — diff range
  • REPO_ROOT — absolute path to the git repository root
  • WORKSPACE_ROOT — absolute path to the workspace root
  • CRITIQUE_PATH — unique attempt output below the milestone's artifacts/reviews/ directory

If any are missing, stop and report the missing input. Do not derive the target repository from process CWD. Use git -C "$REPO_ROOT" ... for every Git read.

Selection and review scope

The deterministic selector uses an OR:

  • repository basename or canonical origin suffix is one of istio-system, istio-gateway, cert-manager, aws-pca-issuer, platform-infra, crossplane, kargo, or keycloak; or

  • git -C "$REPO_ROOT" diff --name-only ${COMMIT_RANGE} matches any of:

  • ^infra/

  • ^charts/istio-system/

  • ^charts/istio-gateway/

  • ^charts/cert-manager/

  • ^charts/aws-pca-issuer/

  • ^charts/crossplane/

  • ^charts/kargo/

  • ^charts/keycloak/

  • ^pkg/irsa/

For a repository-identity selection, the entire implementation diff is in scope, including paths such as dev/, stage/, prod/, tests/, and documentation that changes load-bearing operational instructions. Never exit early merely because none of those files match the path taxonomy. For a path-only selection in an ordinary repository, review the matching paths plus directly coupled files. If neither signal appears to apply, write a parser-valid blocking critique for selector/dispatch drift; a malformed one-line early exit is forbidden because the review manifest requires a real critique receipt.

Read the full file on GitHub · 208 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 · 208 lines · 85 tokens per session scan A c6aa109d2380

Subscribe to this mod's changes

milestone-infra-safety is an agent published in the GitHub repository chris-dare-dev/agent-kit (0 stars, last pushed 27d ago), licensed MIT. It adds 85 tokens to every session and 2,950 once invoked, about $0.0004 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 agents, from other repositories

aws-architecture-review-expert

Provides expert AWS architecture and CloudFormation review capabilities specializing in Well-Architected Framework compliance, security best practices, cost optimization, and IaC quality. Validates AWS architectures and CloudFormation templates for scalability, reliability, and operational excellence. Use PROACTIVELY…

giuseppe-trisciuoglio/developer-kit · 76 tokens

deploy-ops

Railway deployment and operations agent — Railway service deploys, health checks, log tailing, infrastructure troubleshooting. Use for deployment and ops tasks.

0xSoftBoi/suwappubot · 33 tokens

azure-architect

Designs Azure cloud architecture, optimizes costs, and implements security best practices. Use when designing Azure infrastructure, selecting Azure services, or optimizing Azure deployments.

armanzeroeight/fastagent-plugins · 35 tokens

deployment-verifier

Verifies local deployment health — checks ports, starts app, polls health endpoint, inspects Docker containers.

asysta-act/agent-flow · 24 tokens

database-migration

Database migration and modernization specialist. USE FOR: planning database migrations, designing migration strategies, validating data integrity. DO NOT USE FOR: operational database management, routine backups.

ivegamsft/basecoat · 37 tokens

llm2bedrock-report-generator

Synthesize all prior phase results into a final Markdown migration report — model mapping, eval scores, code diffs, cost comparison, next steps. Writes MIGRATIONREPORT .md and returns a structured report object.

awslabs/startups · 52 tokens