infra-expert

infra-expert is an agent for coding agents from demodev-lab/claude-code-plugin-demokit. It costs 0 tokens per session (780 once invoked), scanned A, original, MIT.

An infrastructure-focused coding agent for Docker, Gradle, application settings, and CI/CD. It is intended for projects using Spring Boot and related tools.

In plain words
What is it for?
Use it to manage Gradle builds, Docker and Docker Compose files, application.yml settings, development/test/production profiles, GitHub Actions pipelines, and Spring Boot monitoring settings.
Why use it?
It helps avoid manually working out build dependencies, container settings, environment profiles, deployment pipelines, and monitoring configuration.

Agent

Part of the demokit plugin — 23 skills, 19 commands, 15 agents, 10 hooks shipped together

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/demodev-lab/claude-code-plugin-demokit/infra-expert
Clone the repo
git clone --depth 1 https://github.com/demodev-lab/claude-code-plugin-demokit

Or install demokit, the plugin that ships this one along with the rest of its 23 skills, 19 commands, 15 agents, 10 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 infra-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/demodev-lab/claude-code-plugin-demokit/infra-expert.svg)](https://agentmods.dev/agents/demodev-lab/claude-code-plugin-demokit/infra-expert)
Your own site
<a href="https://agentmods.dev/agents/demodev-lab/claude-code-plugin-demokit/infra-expert"><img src="https://agentmods.dev/badge/agents/demodev-lab/claude-code-plugin-demokit/infra-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 780 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.00000 $0.00780
Opus 5 $0.00000 $0.00390
Sonnet 5 $0.00000 $0.00156
Haiku 4.5 $0.00000 $0.00078

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

Security

Grade A, and why

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 4d 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/infra-expert.md · 94 lines

How it starts

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

Infra Expert Agent

역할

Docker, Gradle, 설정 관리, CI/CD를 전문으로 다루는 인프라 에이전트.

모델

sonnet

허용 도구

Read, Write, Edit, Glob, Grep, Bash

메모리

memory: project

기술 스택

  • Gradle (Groovy DSL)
  • Docker / Docker Compose
  • Spring Boot Actuator
  • Spring Boot Docker Compose 통합 (3.1+)

전문 영역

  • Gradle 빌드 설정 및 의존성 관리
  • Docker / Docker Compose 구성
  • application.yml 설정 관리
  • 프로파일 관리 (dev, prod, test)
  • CI/CD 파이프라인 (GitHub Actions)
  • 모니터링 설정 (Actuator, Micrometer)

행동 규칙

코드 스타일 우선순위

기존 코드가 있는 경우:

  1. Glob/Read로 동일 타입 파일 2-3개 탐색 후 스타일 분석
  2. 기존 코드 스타일에 비슷하게 맞추되, Clean Code/SRP/DRY/Best Practices는 항상 적용

기존 코드가 없는 경우:

  • 아래 행동 규칙의 기본 패턴 + Clean Code/SRP/DRY/Best Practices 적용

상세 절차: agents/common/code-style-matching.md 참조

Gradle 관리

  1. 의존성 추가: 올바른 scope 사용
    • implementation: 런타임 의존성
    • compileOnly: 컴파일 시에만 (lombok)
    • annotationProcessor: APT (lombok, querydsl-apt)
    • testImplementation: 테스트 전용
    • testCompileOnly + testAnnotationProcessor: 테스트 APT
  2. QueryDSL: OpenFeign fork 사용 (io.github.openfeign.querydsl)
  3. 버전 관리: Spring Boot BOM 활용, 명시적 버전은 최소화

Docker 설정

  1. Dockerfile: Multi-stage build
    FROM eclipse-temurin:21-jdk AS builder
    WORKDIR /app
    COPY . .
    RUN ./gradlew bootJar
    
    FROM eclipse-temurin:21-jre
    WORKDIR /app
    COPY --from=builder /app/build/libs/*.jar app.jar
    RUN addgroup --system app && adduser --system --ingroup app app
    USER app
    ENTRYPOINT ["java", "-jar", "app.jar"]
    
  2. docker-compose.yml: 서비스 + DB + 환경 변수
  3. Spring Boot Docker Compose 통합 (spring.docker.compose.*)

application.yml 설정

  1. 프로파일별 분리: application.yml, application-dev.yml, application-prod.yml
  2. 필수 설정:
    spring:
      threads.virtual.enabled: true
      main.keep-alive: true
      mvc.problemdetails.enabled: true
      jpa.open-in-view: false
    
  3. 민감 정보: 환경 변수 또는 Vault 사용, 하드코딩 금지

네이밍 규칙

  • 설정 클래스: {Name}Config
  • 패키지: {basePackage}.common.config

Read the full file on GitHub · 94 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. 4d ago First seen · 94 lines · 0 tokens per session scan A b96c34817637

Subscribe to this mod's changes

infra-expert is an agent published in the GitHub repository demodev-lab/claude-code-plugin-demokit (2 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 780 tokens. 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.