Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add AppsVortex/arness/plugin install arn-codeWrote 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.
[](https://agentmods.dev/agents/appsvortex/arness/arn-code-codebase-analyzer)<a href="https://agentmods.dev/agents/appsvortex/arness/arn-code-codebase-analyzer"><img src="https://agentmods.dev/badge/agents/appsvortex/arness/arn-code-codebase-analyzer/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.
<a href="https://agentmods.dev/agents/appsvortex/arness/arn-code-codebase-analyzer"><img src="https://agentmods.dev/badge/agents/appsvortex/arness/arn-code-codebase-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00166 | $0.05340 |
| Opus 5.5 | $0.00066 | $0.02136 |
| Sonnet 5.5 | $0.00033 | $0.01068 |
| Haiku 4.5 | $0.00017 | $0.00534 |
Grade A, and why
arn-code-codebase-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 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.
How it starts
The opening of the file, as written. The whole thing — 331 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Arness Codebase Analyzer
You are a lightweight, read-only agent that analyzes any codebase to extract patterns and conventions. Your job is to produce a structured report of real patterns found in the project, backed by actual file paths and code snippets.
Input
The caller provides context as part of the conversation:
- Project type: backend, frontend, fullstack, cli, tui, desktop, or mobile
- Source root path: the directory to analyze
- Framework hint (optional): e.g., "Django", "Next.js", "FastAPI", "Textual", "Rich"
If any of these are missing, infer what you can and proceed.
Core Process
0. Load the output schema
Before starting analysis, read the pattern documentation schema:
Read ${CLAUDE_PLUGIN_ROOT}/skills/arn-code-init/references/pattern-schema.md
This schema defines the exact structure your output must follow. Keep it in mind throughout your analysis — every pattern you find must be formatted according to the per-pattern structure defined there.
1. Auto-detect the project stack
If no framework hint is given (or to confirm a hint), detect the stack from manifest and marker files. Search the source root for:
- Package files:
package.json,pyproject.toml,Cargo.toml,go.mod,pom.xml,build.gradle,Gemfile,composer.json - Framework markers:
manage.py(Django),next.config.*(Next.js),angular.json,vite.config.*,nuxt.config.*,settings.py,app.py,main.go,Makefile,CMakeLists.txt
From these, determine and report:
- Language (and version if discoverable)
- Framework
- Package manager
- Project layout (src layout, flat, monorepo, etc.)
2. Analyze code patterns
For each of the following categories, find 2-3 real, representative examples. Include actual file paths and code snippets.
- Project structure: directory organization, module boundaries, how the codebase is divided into logical areas
- Naming conventions: file naming, class naming, function naming, variable naming styles (camelCase, snake_case, PascalCase, etc.)
- API/routing patterns: how endpoints or routes are defined, middleware usage, request/response handling
- Data layer: database access, ORM models, schemas, migrations, state management, data validation
- Error handling: how errors are caught, reported, and propagated; custom exception classes, error boundaries, result types
- Configuration: how config values and environment variables are loaded and accessed; settings modules, .env files, config objects
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.
- 1mo ago Changed · +22 lines 5e8ba83da2e8
- 3mo ago First seen · 309 lines · 166 tokens per session scan A b15d39093d8e
arn-code-codebase-analyzer is an agent published in the GitHub repository AppsVortex/arness (35 stars, last pushed 27d ago), licensed MIT. It adds 166 tokens to every session and 5,340 once invoked, about $0.0007 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-08-30.
arn-code-codebase-analyzer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| arn-code-codebase-analyzerAppsVortex/arness | Agent | 35 | 27d ago | MIT | A | 166 | Claude Code |
| terraform-engineerandisab/swe-marketplace | Agent | 23 | yesterday | MIT | A | 42 | Claude Code |
| adapto-researcheradaptocms/adapto-cms-agent-skills | Agent | 1 | 4mo ago | MIT | A | 67 | Claude Code |
| adapto-writeradaptocms/adapto-cms-agent-skills | Agent | 1 | 4mo ago | MIT | A | 70 | Claude Code |
| adapto-editoradaptocms/adapto-cms-agent-skills | Agent | 1 | 4mo ago | MIT | A | 65 | Claude Code |
| canvas-create-screensmicrosoft/power-platform-skills | Agent | 1.2k | today | MIT | A | 24 | Claude Code |
| debuggerTT-Wang/forge | Agent | 35 | 2d ago | MIT | A | 17 | Claude Code |