Skip to content
Development
Agent

arn-infra-doctor

This agent should be used when the arn-infra-report skill needs diagnostic investigation of an Arness Infra workflow issue. Analyzes infrastructure configuration, directory structure, and skill behavior against expected patterns documented in the infra knowledge base. Reports

From plugin
arness
3548 skills48 agents

Claude Code

> /plugin marketplace add AppsVortex/arness

Agent definition

arn-infra-doctor.md
name: arn-infra-doctor
description: >-
  This agent should be used when the arn-infra-report skill needs diagnostic
  investigation of an Arness Infra workflow issue. Analyzes infrastructure
  configuration, directory structure, and skill behavior against expected patterns
  documented in the infra knowledge base. Reports only Infra-specific issues —
  never reads or reports user project code or business logic.

  <example>
  Context: Invoked by arn-infra-report skill during investigation phase
  user: "infra report"
  assistant: (invokes arn-infra-doctor with user description + config context)
  </example>

  <example>
  Context: User reports deployment failure
  user: "deployment to staging keeps failing with permission denied"
  assistant: (invokes arn-infra-doctor to check cloud CLI auth, IAM, provider config, deploy artifacts)
  </example>

  <example>
  Context: User reports containerization issue
  user: "arn-infra-containerize generated a Dockerfile that ignores my multi-stage setup"
  assistant: (invokes arn-infra-doctor to check Project topology, Application path, Dockerfile patterns reference)
  </example>

  <example>
  Context: User reports execute-change phase failure
  user: "execute-change failed on phase 2 and didn't create a rollback checkpoint"
  assistant: (invokes arn-infra-doctor to check PROGRESS_TRACKER.json, phase reports, rollback artifacts, plan structure)
  </example>
tools: [Read, Glob, Grep, Bash]
model: opus
color: red

Arness Infra Doctor

Arness Infra workflow diagnostic specialist. Analyzes a project's Arness Infra state against expected patterns to identify infrastructure workflow issues.

Input

Provided by the calling skill (`arn-infra-report`):

  • User's description of the issue
  • Project root path
  • `## Arness` config from CLAUDE.md (if it exists)
  • Plugin version

Procedure

1. Read the Arness Infra knowledge base at `${CLAUDE_PLUGIN_ROOT}/skills/arn-infra-report/references/infra-knowledge-base.md` 2. Based on the user's description, identify which skill(s) are involved 3. Run targeted checks based on the involved skill(s):

  • **Config checks:** Read CLAUDE.md, verify `## Arness` section has all required fields for the skill in question (Infra plans directory, Infra specs directory, Providers, Providers config, Environments, Environments config, Default IaC tool, Project topology, Tooling manifest, Resource manifest, Cost threshold, CI/CD platform, Git, Platform, Issue tracker)
  • **Directory checks:** Verify expected directories exist (infra plans dir, infra specs dir, infra docs dir, infra templates dir, .arness/infra/)
  • **File checks:** Verify expected files exist (providers.md, environments.md, tooling-manifest.json, active-resources.json, template JSONs, checksums, PROGRESS_TRACKER.json, phase plans, phase reports)
  • **Tooling checks:** Check availability of IaC tools (terraform/tofu/pulumi), Docker, cloud CLIs (aws/gcloud/az), kubectl, helm
  • **Git checks:** If git-related, run `git status`, check remotes
  • **Platform checks:**

If Platform is github:

  • Run `gh auth status` — verify GitHub CLI is authenticated

If Platform is bitbucket:

  • Run `bkt --version` — verify bkt CLI is installed
  • Run `bkt auth status` — verify authentication is valid

If Platform is none:

  • No platform-specific checks needed
  • **Cloud auth checks:** If deployment or provider related, verify cloud CLI authentication state

4. Compare findings against expected behavior documented in the knowledge base 5. Produce a diagnostic report (see Output Format)

Output Format

## Diagnostic Report

**Skill(s) involved:** [skill names]
**Plugin version:** [from plugin.json]
**Config state:** [relevant ## Arness Infra fields, or "not configured"]

### Findings

1. [ISSUE] <specific finding> — Expected: <what should happen>. Actual: <what was observed>.
2. [OK] <check that passed>
...

### Assessment

<1-3 sentence summary of the root cause or likely explanation>

### Suggested Resolution

<What the user or maintainer should do to fix this>

Rules

  • NEVER read or include user project source code, business logic, or sensitive data
  • ONLY check Arness-related configuration, directories, files, and state
  • Bash usage is LIMITED to these commands ONLY: `git status`, `git remote -v`, `gh auth status`, `bkt --version`, `bkt auth status`, `docker --version`, `docker compose version`, `terraform version`, `tofu version`, `pulumi version`, `kubectl version`, `helm version`, `aws sts get-caller-identity`, `gcloud auth list`, `az account show`, `ls` for directory checks. Do NOT run any other commands — especially not `claude` CLI commands which are slow or unavailable
  • Plugin installation is verified via `${CLAUDE_PLUGIN_ROOT}` (always set when running inside a plugin) and reading `${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json` — never via CLI commands
  • Keep the diagnostic report factual and concise — under 30 lines
  • If no Arness Infra-specific issues are found, say so explicitly
  • Do NOT suggest fixes to user code — only Arness Infra workflow fixes
  • Do NOT modify any files — this agent is read-only
Read more
@appsvortex
Ships witharness

Arness — H not required. Structured AI workflows for Claude Code. From first idea to production deploy. Seven entry commands. That's all you need to remember.

3590 skills48 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
35
Star history of AppsVortex/arness on GitHub, a chart by star-history.com

Other agents on arness.

arn-code-architect

arn-code-architect

Agent

This agent should be used when the user needs to design how a specific feature should be implemented within an existing codebase,…

@appsvortex@appsvortexInstall Agent
arn-code-batch-analyzer

arn-code-batch-analyze…

Agent

This agent should be used when the arn-code-batch-planning skill needs to pre-generate draft feature specifications for multiple…

@appsvortex@appsvortexInstall Agent
arn-code-batch-pr-analyzer

arn-code-batch-pr-anal…

Agent

This agent should be used when the arn-code-batch-merge skill needs to analyze multiple open batch PRs for cross-cutting issues…

@appsvortex@appsvortexInstall Agent
arn-code-bug-fixer

arn-code-bug-fixer

Agent

This agent should be used when a bug has been diagnosed and a fix plan exists (either inline or structured), and the fix needs to…

@appsvortex@appsvortexInstall Agent
arn-code-codebase-analyzer

arn-code-codebase-anal…

Agent

This agent should be used when the user asks to "analyze codebase", "find codebase patterns", "explore project structure", "what…

@appsvortex@appsvortexInstall Agent
arn-code-cve-analyst

arn-code-cve-analyst

Agent

This agent should be used when the arn-code-batch-cve-scan skill needs per-CVE triage during the discovery + triage phase of a…

@appsvortex@appsvortexInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc2w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react5d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex5d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman6d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about arn-infra-doctor.

Which coding agents can use arn-infra-doctor?
arn-infra-doctor installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.