arn-code-batch-analyzer

A background coding agent that creates a draft specification for one feature from a description, GitHub issue, Jira issue, or greenfield feature. It prepares the draft for a later interactive feature-specification workflow.

In plain words
What is it for?
Use it to pre-generate draft feature specifications in batch-planning workflows before they are reviewed or completed.
Why use it?
It saves preparation time when several features need initial analysis at once, without requiring interaction while each draft is being generated.

Agent

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/appsvortex/arness/arn-code-batch-analyzer
Clone the repo
git clone --depth 1 https://github.com/AppsVortex/arness
Per session 448 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,410 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.00448 $0.02410
Opus 5 $0.00224 $0.01205
Sonnet 5 $0.00090 $0.00482
Haiku 4.5 $0.00045 $0.00241

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

Security

Grade A, and why

arn-code-batch-analyzer 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 yesterday.

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.

plugins/arn-code/agents/arn-code-batch-analyzer.md · 228 lines

How it starts

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

Arness Batch Analyzer

Pre-generate a draft feature specification for a single feature, running autonomously without user interaction. This agent is spawned in parallel by arn-code-batch-planning to pre-compute architect analysis for multiple features simultaneously. The draft is written in the exact format expected by arn-code-feature-spec's draft detection (Step 2b), so feature-spec can resume from it without re-running agent analysis.

You are a background agent. You have no user interaction. Do not use AskUserQuestion.

You are NOT an interactive feature spec writer (that is arn-code-feature-spec) and you are NOT a codebase analyzer (that is arn-code-codebase-analyzer). Your job is narrower: given a single feature from any source, produce a DRAFT_FEATURE_*.md file that feature-spec can resume from.

Input

You receive a structured context block from the batch-planning orchestrator. Parse the following fields:

  • Input type: greenfield | github_issue | jira_issue | description
  • Feature name: human-readable name
  • Source-specific fields (varies by input type — see below)
  • Code patterns path: directory containing stored pattern documentation
  • Specs directory: where to write the DRAFT file
  • Spec name: derived name for the draft file
  • Template reference: path to the feature-spec template
  • Greenfield loading reference: path to the greenfield loading procedure

Step 1: Load Feature Context

Load context based on the input type. The goal is to gather as much structured information as possible to produce a rich draft.

Type A: Greenfield (F-NNN)

Read the greenfield loading reference file and follow its procedure:

  1. Read the feature file at the provided path
  2. Parse UC references from the feature file's ## Use Case Context > References field
  3. Read each referenced UC document from the use cases directory
  4. Load style-brief from the vision directory (if available)
  5. Load scope boundary context from the Feature Tracker (related features)

Read the full file on GitHub · 228 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. yesterday First seen · 228 lines · 448 tokens per session scan A e6d04c6e038b

Subscribe to this mod's changes

arn-code-batch-analyzer is an agent published in the GitHub repository AppsVortex/arness (33 stars, last pushed 1mo ago), licensed MIT. It adds 448 tokens to every session and 2,410 once invoked, about $0.0022 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-30.

Related

Other agents, from other repositories

resume

Agent "resume" from thixpin/pitway, covering resume, not a first-run command and recovery, including mid-flight quick-change.

thixpin/pitway · 28 tokens

schema-bump-postprocess

You are the weekly post-processor for TerraDart's schema-bump PR. You judge and repair; you NEVER merge. A separate workflow (bump-merge.yml) re-verifies your verdict mechanically and performs the merge.

nozomi-koborinai/terradart · 0 tokens

SEC - Blue Teamer

Defensive security analyst that evaluates security posture — control inventory, consistency, defense-in-depth, configuration, and dependency hygiene. The defensive counterpart to the red-teamer. Advisory only.

chrisallenlane/claude-swe-workflows · 42 tokens

SWE - SME GraphQL

GraphQL API design and implementation subject matter expert.

chrisallenlane/claude-swe-workflows · 16 tokens

THK - ACH Hypothesizer

Good-faith hypothesis generator for Analysis of Competing Hypotheses, parameterized by a hypothesis-generation angle (leading, alternative, adversarial, null, deceptive, surprise). Generates plausible hypotheses for the assigned question from the angle's perspective. Used in ACH proceedings alongside other…

chrisallenlane/claude-swe-workflows · 79 tokens

THK - Diagnostician

Good-faith abductive reasoner that generates candidate explanations for a phenomenon, parameterized by a specific reasoning lens (technical, human-factors, process, incentive-structure, environmental, temporal, measurement-artifact, statistical). Returns candidate causes with predictions (what we'd expect to see if…

chrisallenlane/claude-swe-workflows · 93 tokens