infra-verification

infra-verification is a skill for Claude Code from gosha70/code-copilot-team. It costs 27 tokens per session (552 once invoked), scanned A, original, MIT.

A verification checklist for infrastructure files such as Dockerfiles, Compose files, shell scripts, CI workflows, and launcher scripts. It requires these files to be run or built, not only syntax-checked.

In plain words
What is it for?
It is for checking container builds, Compose setups, CI configuration, shell scripts, and command-line launcher flags before committing changes.
Why use it?
It catches deployment and environment problems that ordinary code tests may miss, while separating bugs in the files from issues such as a stopped Docker service.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the code-copilot-team plugin — 24 skills shipped together

Good fit It is for checking container builds, Compose setups, CI configuration, shell scripts, and command-line launcher flags before committing changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gosha70/code-copilot-team/infra-verification
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.

Any agent
npx skills add gosha70/code-copilot-team --skill infra-verification
Clone the repo
git clone --depth 1 https://github.com/gosha70/code-copilot-team

Made for: Claude Code.

Or install code-copilot-team, the plugin that ships this one along with the rest of its 24 skills.

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-verification

README.md
[![agentmods](https://agentmods.dev/badge/skills/gosha70/code-copilot-team/infra-verification/github.svg)](https://agentmods.dev/skills/gosha70/code-copilot-team/infra-verification)
Your own site
<a href="https://agentmods.dev/skills/gosha70/code-copilot-team/infra-verification"><img src="https://agentmods.dev/badge/skills/gosha70/code-copilot-team/infra-verification/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 infra-verification

Your own site · 80×15
<a href="https://agentmods.dev/skills/gosha70/code-copilot-team/infra-verification"><img src="https://agentmods.dev/badge/skills/gosha70/code-copilot-team/infra-verification.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 552 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.00027 $0.00552
Opus 5.5 $0.00011 $0.00221
Sonnet 5.5 $0.00005 $0.00110
Haiku 4.5 $0.00003 $0.00055

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

Security

Grade A, and why

infra-verification 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.

adapters/claude-code/plugin/skills/infra-verification/SKILL.md · 56 lines

How it starts

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

Infrastructure Verification — "Build It, Run It"

Principle

Any artifact whose correctness cannot be verified by a language-level test runner MUST be executed before committing. This includes: Dockerfiles, docker-compose files, shell scripts, CI workflows, launcher scripts, and hook scripts.

Verification Commands by Artifact Type

Artifact Minimum Verification Full Verification
Dockerfile docker build -t verify . Build + run + healthcheck
docker-compose.yml docker compose config docker compose up --build -d + healthcheck + down
.sh script bash -n script.sh Run with --help or --dry-run if supported
.github/workflows/*.yml actionlint (if available) YAML schema validation
Launcher flags Run <launcher> --help Run with new flag and verify output

Environment Failure vs. Artifact Bug

When infrastructure verification fails, distinguish:

  • Artifact bug (Dockerfile syntax, wrong base image, missing COPY): Fix the artifact.
  • Environment issue (Docker daemon not running, network timeout): Report the environmental prerequisite. Do NOT suggest skipping the verification — help the user fix their environment.

Health Probes

Docker healthchecks MUST use dedicated health endpoints (/actuator/health, /healthz, /health), not business endpoints. Business endpoints may require auth, have side effects, or return errors unrelated to service health.

Demo Endpoints

Demo/example endpoints MUST return meaningful sample data, not empty stubs ([], null, {}). Verify each endpoint with a test request and confirm the response is non-empty and structurally correct.

Multiplexer-Aware Verification

When the project uses a terminal multiplexer (detected via claude-code, $TMUX, or $CMUX_WORKSPACE_ID):

  • UI-facing features (banners, status messages) must be verified inside the active multiplexer session
  • Environment variables must be passed directly to processes (not via multiplexer env injection for already-running processes)
  • Test launcher flags by actually running the launcher command

Read the full file on GitHub · 56 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 · 56 lines · 27 tokens per session scan A 7e349f94ab28

Subscribe to this mod's changes

infra-verification is a skill published in the GitHub repository gosha70/code-copilot-team (7 stars, last pushed 17d ago), licensed MIT. It adds 27 tokens to every session and 552 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

moai-ref-secops

DevSecOps, container, and API operational defensive security reference: CI/CD pipeline hardening, secret scanning, IaC misconfiguration detection, SAST/DAST integration, container image scanning, Kubernetes RBAC hardening, container-escape defense, runtime threat detection, OWASP API Top 10 operational defense, WAF…

modu-ai/moai-adk · 201 tokens

yaml

Skill "yaml" from dhaupin/vant, covering yaml, when to use, what to do, 1. syntax and 2. anchors.

dhaupin/vant · 5 tokens

devops

Deploy and manage cloud infrastructure on Cloudflare (Workers, R2, D1, KV, Pages, Durable Objects, Browser Rendering), Docker containers, and Google Cloud Platform (Compute Engine, GKE, Cloud Run, App Engine, Cloud Storage). Use when deploying serverless functions to the edge, configuring edge computing solutions…

VoDaiLocz/kilo-kit-mcp · 101 tokens

devops-automation-pack-hardened

Bundled DevOps automation toolkit covering CI, IaC, and monitoring for modern deployments.

faberlens/hardened-skills · 27 tokens

deployment-patterns

Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications. Use when setting up deployment infrastructure or planning releases.

Fmarzochi/EGC · 41 tokens

devops

(forwward) Configures CI/CD pipelines, Docker, monitoring, alerting, and infrastructure with reliability-first defaults. Triggers on CI/CD, Docker, deployment, monitoring, alerting, infrastructure setup, or production debugging.

iankiku/forwward-teams · 49 tokens