afc-infra-expert

afc-infra-expert is an agent for Claude Code from jhlee0409/all-for-claudecode. It costs 26 tokens per session (967 once invoked), scanned A, original, MIT.

An infrastructure and site-reliability adviser that keeps track of deployment setup and past operational decisions between sessions.

In plain words
What is it for?
Use it to discuss deployments, environments, monitoring, and infrastructure decisions, including when important project information is missing or requirements conflict.
Why use it?
It reduces repeated explanations and helps keep infrastructure advice consistent with the project’s existing setup.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the NotebookEdit tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the afc plugin — 29 skills, 12 agents, 19 hooks shipped together

Good fit Use it to discuss deployments, environments, monitoring, and infrastructure decisions, including when important project information is missing or requirements conflict.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add jhlee0409/all-for-claudecode
Claude Code
/plugin install afc

Made for: Claude Code.

Or install afc, the plugin that ships this one along with the rest of its 29 skills, 12 agents, 19 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 afc-infra-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/jhlee0409/all-for-claudecode/afc-infra-expert/github.svg)](https://agentmods.dev/agents/jhlee0409/all-for-claudecode/afc-infra-expert)
Your own site
<a href="https://agentmods.dev/agents/jhlee0409/all-for-claudecode/afc-infra-expert"><img src="https://agentmods.dev/badge/agents/jhlee0409/all-for-claudecode/afc-infra-expert/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 afc-infra-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/jhlee0409/all-for-claudecode/afc-infra-expert"><img src="https://agentmods.dev/badge/agents/jhlee0409/all-for-claudecode/afc-infra-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 967 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.00026 $0.00967
Opus 5 $0.00013 $0.00483
Sonnet 5 $0.00005 $0.00193
Haiku 4.5 $0.00003 $0.00097

Measured 12d ago against content hash 708339cb4e2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

afc-infra-expert 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 12d 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/afc-infra-expert.md · 123 lines

How it starts

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

You are a Staff-level Infrastructure/SRE Engineer consulting for a developer.

Reference Documents

Before responding, read these shared reference documents:

  • ${CLAUDE_PLUGIN_ROOT}/docs/expert-protocol.md — Session Start Protocol, Communication Rules, Anti-Sycophancy, Overengineering Guard

Session Start Protocol

Follow the Session Start Protocol from expert-protocol.md:

  1. Read .claude/afc/project-profile.md (create via First Profiling if missing)
  2. Read domain adapter if applicable
  3. Read your MEMORY.md for past consultation history
  4. Check .claude/.afc-state.json for pipeline context
  5. Scale Check — apply Overengineering Guard

When to STOP and Ask

  • Conflicting requirements with no clear resolution
  • Missing critical project context needed for recommendation
  • Recommendation would require significant architecture change
  • User's question is outside this agent's domain → suggest correct expert

Core Behavior

Diagnostic Patterns

When the user has no specific question (exploratory mode), probe these areas:

  1. Deployment: "How do you deploy? Manual, CI/CD, PaaS?"
  2. Environment: "How many environments? Dev, staging, production?"
  3. Monitoring: "What observability do you have? Logs, metrics, alerts?"
  4. Reliability: "What's your uptime target? Do you have rollback procedures?"
  5. Cost: "What's your current hosting cost? Any budget constraints?"

Red Flags to Watch For

  • No CI/CD pipeline (manual deploys to production)
  • No backup strategy for databases
  • Single point of failure without documented redundancy plan
  • No resource limits on containers (memory/CPU)
  • Logs without structured format (unqueryable)

Response Modes

Question Type Approach
"How should I deploy X?" Start with simplest option, scale up with clear thresholds
"My server is slow/down" Incident triage: check metrics, recent changes, resource usage
"Should I use X cloud service?" Cost-benefit analysis with scale projections
"How to set up CI/CD?" Incremental: lint → test → build → deploy stages
"Do I need Kubernetes?" Almost always no. Justify with concrete scale numbers

Read the full file on GitHub · 123 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. 12d ago First seen · 123 lines · 26 tokens per session scan A 708339cb4e2b

Subscribe to this mod's changes

afc-infra-expert is an agent published in the GitHub repository jhlee0409/all-for-claudecode (7 stars, last pushed 5mo ago), licensed MIT. It adds 26 tokens to every session and 967 once invoked, about $0.0001 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

mobile-release-manager

App store submissions, mobile CI/CD, ASO, code signing, and beta distribution specialist. Use when preparing app releases, setting up mobile CI/CD, or managing app store presence. Trigger phrases: app store, Play Store, TestFlight, release, code signing, provisioning profile, Fastlane, ASO, beta, OTA update, version…

travisjneuman/.claude · 77 tokens

devsecops-engineer

CI/CD security, SAST/DAST pipelines, supply chain security, container scanning, and security automation specialist. Use when securing CI/CD pipelines, implementing security scanning, or hardening build processes. Trigger phrases: DevSecOps, SAST, DAST, supply chain security, container scanning, CI/CD security, SBOM…

travisjneuman/.claude · 83 tokens

devops-engineer

Expert DevOps and cloud infrastructure engineer for AWS, GCP, Azure, Kubernetes, Terraform, and CI/CD pipelines. Use when setting up pipelines, containerizing apps, writing infrastructure as code, or troubleshooting deployments.

travisjneuman/.claude · 48 tokens

copy-lead

A specialist agent for website copy and audience research. It can act as a direct-response copywriter, persona researcher, UX writer, positioning editor, or Russian-language editor.

VKirill/claude-lane-stack · 125 tokens

lane-supervisor

Read-only one-action writer lane diagnostic and recovery operator. Use for an explicit lane status, tail, retry, typed fallback, cancel, verify, or accept action; normal daytime runs use run-supervisor.

VKirill/claude-lane-stack · 45 tokens

observability-engineer

OpenTelemetry, Prometheus, Grafana, distributed tracing, SLO design, and alerting specialist. Use when implementing observability, designing monitoring systems, or troubleshooting production issues. Trigger phrases: observability, monitoring, tracing, Prometheus, Grafana, OpenTelemetry, SLO, SLI, alerting, metrics…

travisjneuman/.claude · 82 tokens