Home / Claude Code mods / Cost & usage / agent-efficiency

agent-efficiency

agent-efficiency is a Claude Code mod by poppydad that tracks each subagent's model, tokens, tools and time, scores whether a cheaper model would have done, and keeps a bounded per-repo log under ~/.claude/agent-efficiency.

Updated 2026-10-12

What is agent-efficiency?

agent-efficiency is a Claude Code mod by poppydad that tracks each subagent's model, tokens, tools and time, scores whether a cheaper model would have done, and keeps a bounded per-repo log under ~/.claude/agent-efficiency. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authorpoppydad
Repositorypoppydad/agent-efficiency
Popularityno public popularity data yet
CategoryCost & usage
SecurityReview before installing (68/100)
Rank#7,899 of 9,397 Claude Code mods; #1,536 in Cost & usage
Last commit2026-10-12
Hooks6 events
Seesevery tool call, subagent spawns
Draws onPane

Is agent-efficiency safe to install?

agent-efficiency scores 68/100 on the MCPMods security check: Review before installing. Things to review: writes files or config; reads environment variables. It passed 4 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.command.register
$.env.getreads env vars
$.fs.existsreads files
$.fs.readreads files
$.fs.writewrites files
$.model.completedrives Claude
$.state.get
$.state.set
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface

How do I install agent-efficiency?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/poppydad/agent-efficiency
    claude plugin validate ./agent-efficiency/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add poppydad/agent-efficiency && claude plugin install agent-efficiency@local-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs agent-efficiency for you:

Install the "agent-efficiency" Claude Code mod from https://github.com/poppydad/agent-efficiency. Run claude plugin validate on it first and show me what it can access before you enable it.