abstraction-architect

abstraction-architect is an agent for Claude Code from acaprino/daodan. It costs 194 tokens per session (3,452 once invoked), scanned A, original, MIT.

A report-only codebase auditor that looks for structural entropy: the same concept being represented, owned, calculated, or implemented more than once.

In plain words
What is it for?
Auditing an entire codebase or recently changed files, using a discovery index to find candidates, and producing evidence-based findings about duplicated abstractions.
Why use it?
It identifies competing implementations and duplicated business knowledge before changes become difficult to coordinate.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the abstraction-architect plugin — 1 skill, 1 command, 1 agent shipped together

Install

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.

Claude Code
/plugin marketplace add acaprino/daodan
Claude Code
/plugin install abstraction-architect

Made for: Claude Code.

Or install abstraction-architect, the plugin that ships this one along with the rest of its 1 skill, 1 command, 1 agent.

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 abstraction-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/acaprino/daodan/abstraction-architect.svg)](https://agentmods.dev/agents/acaprino/daodan/abstraction-architect)
Your own site
<a href="https://agentmods.dev/agents/acaprino/daodan/abstraction-architect"><img src="https://agentmods.dev/badge/agents/acaprino/daodan/abstraction-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 194 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,452 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.1 $0.00194 $0.03452
Opus 5 $0.00097 $0.01726
Sonnet 5 $0.00039 $0.00690
Haiku 4.5 $0.00019 $0.00345

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

Security

Grade A, and why

abstraction-architect 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.

exports/claude/plugins/abstraction-architect/agents/abstraction-architect.md · 206 lines

How it starts

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

ROLE

Adversarial auditor for structural entropy. The question you answer:

Where is the same concept represented, owned, computed or implemented more than once, and what does it cost when that concept changes?

Two governing rules, both load-bearing.

precision over recall governs what is reported, not what is searched.

Search liberally. Report strictly. The predecessor of this agent was forbidden from searching and therefore found only what a structural map had already surfaced, which is why duplicated business rules never appeared in its reports.

Index entries nominate search targets; current source code proves findings.

A concept index accelerates discovery. It never proves anything. Before promoting any knowledge-track finding, re-read the involved representations against current source.

Load the skill abstraction-architect:abstraction-architect. Read references/dimensions.md first; read the rest on demand.

INPUTS

  • codebase_path — the codebase root.
  • mode (optional, default global) — global audits the whole codebase. diff audits what just changed. Separate PROCESS sections below.
  • xray_path — path to .codebase-xray/. Required for global, optional for diff.
  • concept_index_path (optional) — path to concept-index.json. Defaults to <codebase_path>/.abstraction-architect/concept-index.json. Absent or unusable is a supported condition, not an error. The literal value none disables both reading and writing the index.
  • changed_files (optional) — required when mode is diff: the list of files under review, or a git ref range to derive them from.
  • report_path (optional) — defaults per mode, see PROCESS.
  • scope (optional) — a subpath. Only emit findings whose evidence falls inside it.
  • severity_floor (optional, default medium).
  • focus (optional, default all) — restrict to a dimension subset: knowledge (D1 to D4), form (D5 to D7), a single dimension id, or all.

REQUIRED DEEP-DIVE FILES

Read the full file on GitHub · 206 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 Changed · +1 tokens per session b1397209bd9c
  2. 6d ago First seen · 206 lines · 193 tokens per session scan A 2f0643edac89

Subscribe to this mod's changes

abstraction-architect is an agent published in the GitHub repository acaprino/daodan (8 stars, last pushed yesterday), licensed MIT. It adds 194 tokens to every session and 3,452 once invoked, about $0.0010 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-31.

Related

Other agents, from other repositories

cpp-reviewer

Expert C++ code reviewer specializing in memory safety, modern C++ idioms, concurrency, and performance. Use for all C++ code changes. MUST BE USED for C++ projects.

affaan-m/ECC · 41 tokens

reviewer

Read-only reviewer for an SDD implementation — checks that the change satisfies the acceptance criteria it claims (stage 1) and meets quality/convention/edge-case bars (stage 2). Use after a task (or the whole feature) reaches GREEN, before it's considered done. It reads the diff and the upstream artifacts and reports…

genkovich/sdd · 81 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens

bt6-pr-auditor

Reviews one pull request in a BT6 codebase for correctness, research integrity, security, verification quality, and merge readiness.

elder-plinius/T3MP3ST · 32 tokens

Reviewer

Mandatory fast reviewer: validates every agent delegation output before acceptance. Checks acceptance criteria, file partitions, regressions, type safety, security basics.

monkilabs/opencastle · 30 tokens

security-auditor

Use this agent when reviewing local code changes or pull requests to identify security vulnerabilities and risks. This agent should be invoked proactively after completing security-sensitive changes or before merging any PR.

NeoLabHQ/context-engineering-kit · 40 tokens