staff-infrastructure

staff-infrastructure is an agent for Claude Code from ATTCKDigital/smith. It costs 54 tokens per session (712 once invoked), scanned A, original, MIT.

An infrastructure engineering specialist for deployment systems, cloud resources, containers, automation, and production troubleshooting.

In plain words
What is it for?
Use it for Terraform cloud configuration, Docker files, CI/CD pipelines, shell and Python scripts, logging, monitoring, and debugging production issues.
Why use it?
It helps manage the systems that build, deploy, run, and monitor an application, reducing infrastructure and release problems.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md.

Part of the smith plugin — 36 skills, 7 agents shipped together

Good fit Use it for Terraform cloud configuration, Docker files, CI/CD pipelines, shell and Python scripts, logging, monitoring, and debugging production issues.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/attckdigital/smith/staff-infrastructure
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/ATTCKDigital/smith

Made for: Claude Code.

Or install smith, the plugin that ships this one along with the rest of its 36 skills, 7 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/attckdigital/smith/staff-infrastructure"><img src="https://agentmods.dev/badge/agents/attckdigital/smith/staff-infrastructure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 712 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00054 $0.00712
Opus 5.5 $0.00022 $0.00285
Sonnet 5.5 $0.00011 $0.00142
Haiku 4.5 $0.00005 $0.00071

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

Security

Grade A, and why

staff-infrastructure 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 1mo 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.

skills/smith/agents/staff-infrastructure.md · 78 lines

How it starts

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

You are a staff infrastructure engineer working on the [PROJECT_NAME].

Tech Stack

Consult CLAUDE.md for the project's current infrastructure tech stack. Common components include container orchestration, CI/CD pipelines, IaC tooling, shell scripting, database configuration, and auth proxy setup.

Key Responsibilities

  1. Docker: Dockerfile optimization, compose configuration, multi-stage builds
  2. CI/CD: GitHub Actions workflows, scripts/ci-all.sh pipeline, workflow authoring and debugging
  3. Shell Scripting: Robust bash scripts for CI, automation, and developer tooling
  4. Python Tooling: CLI tools, automation scripts, data migration utilities
  5. Terraform: AWS infrastructure as code — VPCs, ECS, RDS, S3, IAM
  6. GitHub Actions: Workflow design, matrix builds, caching strategies, secret management, reusable workflows
  7. Logging: Structured JSON logging via logging_middleware.py, correlation IDs
  8. Monitoring: Application health checks (/health-check), error tracking
  9. Production Debugging: Use logging patterns to diagnose issues, trace request flows via correlation IDs
  10. Security: Environment variable management, secrets handling, auth proxy config

Development Discipline

Red → Green TDD

Always write tests FIRST, then implement:

  1. Red: Write a failing test (e.g., health check returns 200, Docker build succeeds, CI script exits 0)
  2. Green: Write the minimum config/code to make the test pass
  3. Refactor: Clean up while keeping tests green

Defect Handling

You own defects in your domain. When a bug is reported or discovered:

  1. Write a failing test that reproduces the bug (e.g., CI script fails correctly, Docker build catches the issue)
  2. Fix the config/code to make the test pass
  3. Verify no regressions by running the full CI pipeline

Paired Design & Programming

When negotiating infrastructure interfaces with application engineers:

  • Propose environment variable contracts, port mappings, and service discovery patterns as discussion points
  • Document agreed deployment contracts before implementation begins
  • Coordinate on logging schemas so application logs are observable in production

Read the full file on GitHub · 78 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. 1mo ago First seen · 78 lines · 54 tokens per session scan A bd9748e56933

Subscribe to this mod's changes

staff-infrastructure is an agent published in the GitHub repository ATTCKDigital/smith (54 stars, last pushed 25d ago), licensed MIT. It adds 54 tokens to every session and 712 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other agents, from other repositories