decomp-evaluator

decomp-evaluator is an agent for coding agents from theogbrand/yoink. It costs 33 tokens per session (1,859 once invoked), scanned A, original, MIT.

An agent that decides whether a dependency should remain in a project or be replaced by simpler code. A dependency is an external library that the project uses.

In plain words
What is it for?
Use it during dependency decomposition to inspect imports and usage, judge replaceability, and choose whether to keep a library or replace one layer of it.
Why use it?
It helps reduce unnecessary libraries by checking how deeply each one is used and whether the needed functions can be replaced with standard tools or small custom code.

Agent

Part of the yoink plugin — 4 skills, 4 agents, 3 hooks shipped together

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/theogbrand/yoink/decomp-evaluator
Clone the repo
git clone --depth 1 https://github.com/theogbrand/yoink

Or install yoink, the plugin that ships this one along with the rest of its 4 skills, 4 agents, 3 hooks.

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 decomp-evaluator

README.md
[![agentmods](https://agentmods.dev/badge/agents/theogbrand/yoink/decomp-evaluator.svg)](https://agentmods.dev/agents/theogbrand/yoink/decomp-evaluator)
Your own site
<a href="https://agentmods.dev/agents/theogbrand/yoink/decomp-evaluator"><img src="https://agentmods.dev/badge/agents/theogbrand/yoink/decomp-evaluator.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,859 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00033 $0.01859
Opus 5 $0.00016 $0.00929
Sonnet 5 $0.00007 $0.00372
Haiku 4.5 $0.00003 $0.00186

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

Security

Grade A, and why

decomp-evaluator scanned grade A with 1 finding 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 4d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

**If a foundational primitive is ever decomposed (e.g. by explicit user request), decompose one layer at a time.** Go to the next layer down, not straight to stdlib. For example: `httpx` → `urllib3`, never `httpx` → `url
plugins/yoink/agents/decomp-evaluator.md · 134 lines

How it starts

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

Decomposition Evaluator

Evaluate a single dependency: keep or decompose one layer down.

Core rule: Always decompose one layer at a time. Never skip levels.

Input

Note: This schema is for reference only — input may arrive in varying formats.

{
  "library_name": { "type": "string", "description": "The dependency to evaluate" },
  "package_name": { "type": "string", "description": "The yoink package that uses it (e.g., yoink_litellm)" }
}

Steps

1. Assess usage

Inspect yoink_<PACKAGE>/ for how the library is actually used:

  • Which files import it, which functions/classes are called
  • Breadth (isolated vs. pervasive) and depth (thin wrapper vs. baked into core logic)
  • Replaceability: can the specific functions used be replaced with simple code, stdlib, or inlined logic?

Quick heuristics:

  • Simple functions + isolated usage -> cheap to replace
  • Complex functions OR deep integration -> expensive, only replace if critical
  • Using one function from a large library -> easy to extract

2. Evaluate

Foundational Primitives

These are the low-level layer that decomposition usually stops at unless there is an unusual project-specific reason to avoid them or asked to be replaced explicitly by the user.

Domain Libraries Why keep
Networking & Web httpx, websockets, FastAPI, Starlette, uvicorn They ARE the HTTP layer; replacement means raw sockets
Validation & Serialization pydantic v2, orjson, PyYAML Non-trivial coercion/validation logic; C/Rust-accelerated JSON; battle-tested YAML parser
Database & State SQLAlchemy v2 core, psycopg v3, asyncpg, valkey-py Wire protocol implementations + connection management. Prefer valkey-py over redis-py
Security & Crypto cryptography, PyJWT OpenSSL C bindings; subtle algorithm/timing concerns
Observability & Config structlog, opentelemetry-api, pydantic-settings Cross-cutting infrastructure; no supply-chain benefit to replacing
Image Processing Pillow C-accelerated codec for dozens of formats
gRPC & Protobuf grpcio, protobuf Google-maintained binary wire protocol + codegen via C bindings

Read the full file on GitHub · 134 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. 4d ago First seen · 134 lines · 33 tokens per session scan A cc14679b3f45

Subscribe to this mod's changes

decomp-evaluator is an agent published in the GitHub repository theogbrand/yoink (35 stars, last pushed 5mo ago), licensed MIT. It adds 33 tokens to every session and 1,859 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

data-model-architect

Use when an orchestrator needs a Dataverse data model proposed (existing-table reuse, new tables in dependency-tier order, Mermaid ER diagram) for embedding in native-app-plan.md. Read-only — proposes, never mutates. Called by native-app-planner and /edit-app; not invoked directly by users.

microsoft/power-platform-skills · 67 tokens

webapi-integration

Use this agent when the user needs to integrate Power Pages Web API for a specific Dataverse table into their frontend code. Trigger examples: "integrate web api for products table", "add api calls for orders", "connect my site to the blog posts table", "implement crud for categories", "set up web api client", "create…

microsoft/power-platform-skills · 182 tokens

genpage-edit-planner

Plans edits to an existing generative page. Reads the downloaded page artifacts (source, original prompt, config), analyzes the current implementation against the user's edit intent, presents an edit plan via plan mode, and writes genpage-edit-plan.md for the orchestrator to execute. Called by the genpage skill — not…

microsoft/power-platform-skills · 73 tokens

geo-routing-engineer

Geospatial and routing specialist for Product-Builder products with maps, scheduling-by-location, or vehicle routing (route-optimization in logistics, dispatch in home services, field-booking). Owns the routing contract — geocoding, the VRP/routing model (constraints, objective), maps/distance-matrix provider…

avelikiy/great_cto · 112 tokens

senior-dev

Use to implement tasks from Beads backlog. Claims a task, implements with TDD, closes when done. Can run in parallel.

avelikiy/great_cto · 31 tokens

fec-ui-checker

Use this subagent to troubleshoot visual defects, layout confusion, CSS issues, responsive exceptions, and inconsistencies between interaction and design in the front-end UI, and save the report as a Markdown file. Supports obtaining design data from Figma, Sketch, MasterGo, Pixso, Moko, and Mock, compares the design…

bovinphang/frontend-craft · 0 tokens