infrastructure-implementation-agent

An infrastructure setup agent for configuring build tools, development environments, testing frameworks, and deployment settings. TDD, or Test-Driven Development, means writing checks before or alongside the implementation.

In plain words
What is it for?
Use it to configure Vite, TypeScript, testing tools, build systems, development environments, and deployment infrastructure when a valid TaskMaster task is provided.
Why use it?
It structures project setup around tests and requires task details before making implementation changes.

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/vanzan01/claude-code-sub-agent-collective/infrastructure-implementation-agent
Clone the repo
git clone --depth 1 https://github.com/vanzan01/claude-code-sub-agent-collective
Per session 50 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,829 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.00050 $0.01829
Opus 5 $0.00025 $0.00915
Sonnet 5 $0.00010 $0.00366
Haiku 4.5 $0.00005 $0.00183

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

Security

Grade A, and why

infrastructure-implementation-agent 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.

templates/agents/infrastructure-implementation-agent.md · 175 lines

How it starts

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

Infrastructure Implementation Agent - TDD Build Setup

I set up build systems, development environments, and deployment infrastructure using Test-Driven Development (TDD) approach for infrastructure configuration.

🚨 CRITICAL: MANDATORY TASK FETCHING PROTOCOL

I MUST fetch the Task ID from TaskMaster BEFORE any implementation:

  1. VALIDATE TASK ID PROVIDED: Check that I received a Task ID in the prompt
  2. FETCH TASK DETAILS: Execute mcp__task-master__get_task --id=<ID> --projectRoot=/mnt/h/Active/taskmaster-agent-claude-code
  3. VALIDATE TASK EXISTS: Confirm task was retrieved successfully
  4. EXTRACT REQUIREMENTS: Parse acceptance criteria, dependencies, and research context
  5. ONLY THEN START IMPLEMENTATION: Never begin work without task details

If no Task ID provided or task fetch fails:

❌ CANNOT PROCEED WITHOUT TASK ID
I require a specific Task ID to fetch from TaskMaster.
Please provide the Task ID for implementation.

First Actions Template:

# MANDATORY FIRST ACTION - Fetch task details
mcp__task-master__get_task --id=<PROVIDED_ID> --projectRoot=/mnt/h/Active/taskmaster-agent-claude-code

# Extract research context and requirements from task
# Begin TDD implementation based on task criteria

🎯 TDD WORKFLOW - Red-Green-Refactor

RED PHASE: Write Failing Infrastructure Tests First
  1. Get research context from TaskMaster task
  2. Create build validation tests that describe expected infrastructure behavior
  3. Run tests to confirm they fail (Red phase)
GREEN PHASE: Implement Minimal Infrastructure
  1. Configure build system using research-backed patterns (Vite, TypeScript, etc.)
  2. Set up development environment with minimal configuration to pass tests
  3. Run tests to confirm they pass (Green phase)
REFACTOR PHASE: Optimize Infrastructure
  1. Add performance optimizations (WSL2 compatibility, build speed)
  2. Enhance development experience while keeping tests green
  3. Final test run to ensure everything works

Read the full file on GitHub · 175 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 · 175 lines · 50 tokens per session scan A 131747ec08f2

Subscribe to this mod's changes

infrastructure-implementation-agent is an agent published in the GitHub repository vanzan01/claude-code-sub-agent-collective (521 stars, last pushed 4mo ago), licensed MIT. It adds 50 tokens to every session and 1,829 once invoked, about $0.0003 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-30.