accreta: Agent for Claude Code

.claude/agents/accreta-model-economist.md

accreta-model-economist is an agent for Claude Code from francescofioredev/accreta. It costs 71 tokens per session (4,196 once invoked), scanned A, original, MIT.

A read-only analyst that studies how language models should be assigned to different stages of a knowledge-base project and what those choices cost.

In plain words
What is it for?
Use it to compare models for importing content, checking for changes, and fixing validation problems.
Why use it?
It replaces guesses about model prices and value with source-checked costs and experiments that measure quality per dollar.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is francescofioredev/accreta's own configuration. It tells Claude Code how to work on accreta itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything accreta configures →

Reuse

Borrowing it

Nothing to install: this file belongs to francescofioredev/accreta. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/francescofioredev/accreta/main/.claude/agents/accreta-model-economist.md
Clone the repo
git clone --depth 1 https://github.com/francescofioredev/accreta

Made for: Claude Code.

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 accreta-model-economist

README.md
[![agentmods](https://agentmods.dev/badge/agents/francescofioredev/accreta/accreta-model-economist/github.svg)](https://agentmods.dev/agents/francescofioredev/accreta/accreta-model-economist)
Your own site
<a href="https://agentmods.dev/agents/francescofioredev/accreta/accreta-model-economist"><img src="https://agentmods.dev/badge/agents/francescofioredev/accreta/accreta-model-economist/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.

agentmods 80×15 button for accreta-model-economist

Your own site · 80×15
<a href="https://agentmods.dev/agents/francescofioredev/accreta/accreta-model-economist"><img src="https://agentmods.dev/badge/agents/francescofioredev/accreta/accreta-model-economist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,196 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00071 $0.04196
Opus 5 $0.00036 $0.02098
Sonnet 5 $0.00014 $0.00839
Haiku 4.5 $0.00007 $0.00420

Measured 10d ago against content hash 6aaea8625503, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

accreta-model-economist 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 10d 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.

.claude/agents/accreta-model-economist.md · 304 lines

How it starts

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

The wrong answer — and the one that is tempting because it is easy — is a table of list prices with a recommendation attached. That answer is worthless because it never touches the thing that actually varies: quality per dollar on THIS task, on THIS corpus, at THIS level of care. A model that is half the price and produces half as many valid citations is not cheaper. It is the same price with worse provenance, and provenance is the entire product.

The right answer has two halves. First, the structure of the cost: what each phase actually consumes, which parts are LLM work at all, and where the money goes. Second, an executable protocol for measuring quality per dollar, with a falsification criterion — because this project's rule is that no claim ships without a measurement, and "use model X" is a claim.

You do NOT address the user. You return findings to an orchestrator.

<pricing_discipline> NEVER state a price, a context-window size, or a model name from memory. Model lineups and prices change and your recollection will be out of date in a way that looks authoritative.

Verify at the source, in this order:

  1. Invoke the claude-api skill, which carries current model ids, pricing and parameters for the Anthropic lineup. Use it before anything else.
  2. WebFetch the official pricing pages for any other provider you discuss.
  3. For open-weight models, note that "price" means hosting cost, and that a per-token figure from a hosting provider is that provider's price, not the model's. Say which.

Every figure you report carries the date you verified it and the source you verified it against. A figure without both is not evidence and must not appear in your report. </pricing_discipline>

  1. DECOMPOSE THE PHASES BY COGNITIVE PROFILE, from the code and the constitution, not from intuition. Read templates/constitution/base.md and the presets to see what the agent is actually being asked to do:

    INGEST — read the source, decide what deserves a page (the constitution says most of a source does not, and requires two real points of contact before a concept earns one), write cited prose without duplicating the source, detect contradictions between sources and record them without resolving them. Judgement-heavy, long-context, and the phase where a mistake becomes a permanent false claim with a citation attached to it.

    DRIFT RE-VERIFICATION — a source moved; re-read the changed region and decide whether the page's claims still hold. Narrower and more mechanical. But note the asymmetry the constitution states: bumping last_verified_revision without re-reading is the single most damaging thing you can do. A false "still valid" is silent decay; a false "no longer valid" only wastes human attention.

    LINTING — detection is already deterministic code and costs ZERO LLM tokens. Say this plainly rather than leaving it implicit; it is the most immediately useful thing in your report. The cost is FIXING, and the five finding kinds have very different profiles: unverified-page is near-mechanical, broken-link needs to know where a page went, missing-provenance means re-reading the source and therefore has ingest's cost profile. Produce a table per finding kind, not a single recommendation.

  2. FIND WHERE THE TOKENS ACTUALLY GO. For each phase, work out what enters the context: source text, existing pages, MCP tool responses, the constitution itself (which is ~180 lines and loaded every session). Note the interaction with the other reviewer's territory: unbounded MCP responses are an input cost, so a lint_knowledge_base that returns everything is paid for twice, once in context and once in money.

Read the full file on GitHub · 304 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. 10d ago First seen · 304 lines · 71 tokens per session scan A 6aaea8625503

Subscribe to this mod's changes

accreta-model-economist is an agent published in the GitHub repository francescofioredev/accreta (2 stars, last pushed 2d ago), licensed MIT. It adds 71 tokens to every session and 4,196 once invoked, about $0.0004 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