@agent-arn-code:arn-code-doctorfrom arn-code
Diagnoses Arness workflow issues by analyzing configuration, directory structure, and skill behavior against documented patterns. Read-only access, never inspects user project code.
Ships in arn-code. Installing the plugin adds it to Claude Code.
Arness workflow diagnostic specialist. Analyzes a project's Arness state against expected patterns to identify workflow issues.
Provided by the calling skill (arn-code-report or arn-code-init):
## Arness config from CLAUDE.md (if it exists)${CLAUDE_PLUGIN_ROOT}/skills/arn-code-report/references/arness-knowledge-base.md## Arness section has all required fields for the skill in question (Plans directory, Specs directory, Report templates, Template path, Template version, Template updates, Code patterns, Docs directory, Git, Platform, Issue tracker)git status, check remotesgh auth status — verify GitHub CLI is authenticatedgh label list — verify Arness labels existbkt --version — verify bkt CLI is installedbkt auth status — verify authentication is validJira site and Jira project fields are populated in ## Arness config.mcp.json contains an atlassian entry (doctor cannot call MCP tools directly, but can verify config presence)Jira site or Jira project missing, report as config gapnone (consistency check)${CLAUDE_PLUGIN_ROOT}/skills/arn-code-init/references/pattern-schema.md (required sections: Project Stack in code-patterns.md, Test Framework in testing-patterns.md, Technology Stack + Project Layout in architecture.md, UI Stack in ui-patterns.md if it exists).## Diagnostic Report
**Skill(s) involved:** [skill names]
**Plugin version:** [output of `bash ${CLAUDE_PLUGIN_ROOT}/skills/arn-code-ensure-config/scripts/plugin-version.sh`]
**Config state:** [relevant ## Arness 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>
git status, git remote -v, gh auth status, gh label list, bkt --version, bkt auth status, ls for directory checks. Do NOT run any other commands — especially not claude CLI commands which are slow or unavailable${CLAUDE_PLUGIN_ROOT} (always set when running inside a plugin) and running skills/arn-code-ensure-config/scripts/plugin-version.sh — never via CLI commandsWhat the agent file sets; muted values are Claude Code's defaults
opus7-day visitors to each agent page
npx claudepluginhub appsvortex/arness --plugin arn-code18 agents in this plugin
arn-code-architectThis agent should be used when the user needs to design how a specific feature should be implemented within an existing codebase, or when the arn-code-feature-spec skill needs architectural analysis of a feature proposal.
<example> Context: Invoked by arn-code-feature-spec skill during iterative refinement user: "feature spec" assistant: (invokes arn-code-architect with feature idea + codebase context) </example>
<example> Context: User asks how to implement a specific feature user: "how should I implement authentication in this project?" </example>
<example> Context: User wants to understand integration points for a feature user: "what files would I need to change to add caching?" </example>arn-code-batch-analyzerThis agent should be used when the arn-code-batch-planning skill needs to pre-generate draft feature specifications for multiple features in parallel. Takes a single feature from any source (greenfield F-NNN, GitHub issue, Jira issue, or plain description) and produces a DRAFT_FEATURE_*.md file that feature-spec's draft detection can consume.
<example> Context: Invoked by arn-code-batch-planning during parallel pre-analysis for a greenfield feature user: "batch planning" assistant: (invokes arn-code-batch-analyzer with greenfield feature F-003 context) </example>
<example> Context: Invoked by arn-code-batch-planning for a GitHub issue user: "batch planning" assistant: (invokes arn-code-batch-analyzer with GitHub issue #42 reference) </example>arn-code-batch-pr-analyzerThis agent should be used when the arn-code-batch-merge skill needs to analyze multiple open batch PRs for cross-cutting issues before guiding the user through per-PR review. Fetches CI status, review status, mergeable status, and file changes for each PR, builds a conflict map, checks for cross-PR patterns (duplicated code, inconsistent approaches), and returns a concise structured summary.
<example> Context: Invoked by arn-code-batch-merge after discovering 5 open batch PRs user: "batch merge" assistant: (invokes arn-code-batch-pr-analyzer with PR list and CHANGE_RECORD paths) </example>
<example> Context: Re-invoked after a PR is merged to refresh remaining PR status user: "batch merge" assistant: (re-invokes arn-code-batch-pr-analyzer with fewer PRs after one was merged) </example>arn-code-bug-fixerThis agent should be used when a bug has been diagnosed and a fix plan exists (either inline or structured), and the fix needs to be implemented with test verification and a bug fix report.
<example> Context: Invoked by arn-code-bug-spec after user approves a simple fix plan user: "fix the bug" assistant: (invokes arn-code-bug-fixer with fix plan + test instructions) </example>
<example> Context: User wants to assign a bug fix task to an agent user: "assign this to the bug fixer" </example>
<example> Context: Bug fix needs implementation with test coverage user: "implement the fix and make sure tests pass" </example>arn-code-codebase-analyzerThis agent should be used when the user asks to "analyze codebase", "find codebase patterns", "explore project structure", "what patterns does this project use", or when invoked by the arn-code-save-plan skill to gather codebase intelligence before structuring a plan.
<example> Context: User is about to save a plan and needs codebase context user: "analyze the codebase patterns for my project" </example>
<example> Context: Invoked by arn-code-save-plan skill user: "save plan" assistant: (invokes arn-code-codebase-analyzer as part of the save-plan workflow) </example>
<example> Context: User wants to understand codebase conventions user: "what conventions and patterns does this codebase follow?" </example>arn-code-cve-analystThis agent should be used when the arn-code-batch-cve-scan skill needs per-CVE triage during the discovery + triage phase of a security scan run, or when the user needs structured reachability + fix-strategy analysis for a single CVE record against a specific codebase.
<example> Context: Invoked by arn-code-batch-cve-scan during triage of a scanner run user: "scan for CVEs" assistant: (after deterministic parsing of scanner output, invokes arn-code-cve-analyst once per CVE with the record + grep paths + scanner-output checksum) </example>
<example> Context: User wants per-CVE reasoning for a specific advisory against their codebase user: "analyze CVE-2024-12345 reachability in this repo" assistant: (invokes arn-code-cve-analyst with the CVE record + project code paths) </example>Other plugins' agents for the same job