system-improver

system-improver is an agent for Claude Code from atretyak1985/swarmery. It costs 42 tokens per session (1,485 once invoked), scanned A, original, Apache-2.0.

An analysis agent that reads a summary of an agent system's past work and identifies evidence-backed problems and proposed changes.

In plain words
What is it for?
Reviewing retrospective reports, diagnosing system-wide weaknesses, and recommending process or configuration changes.
Why use it?
It helps reveal recurring issues across agents, skills, commands, hooks, and working procedures.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the core plugin — 36 skills, 8 commands, 13 agents 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/atretyak1985/swarmery/system-improver
Clone the repo
git clone --depth 1 https://github.com/atretyak1985/swarmery

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 36 skills, 8 commands, 13 agents.

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 system-improver

README.md
[![agentmods](https://agentmods.dev/badge/agents/atretyak1985/swarmery/system-improver.svg)](https://agentmods.dev/agents/atretyak1985/swarmery/system-improver)
Your own site
<a href="https://agentmods.dev/agents/atretyak1985/swarmery/system-improver"><img src="https://agentmods.dev/badge/agents/atretyak1985/swarmery/system-improver.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 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,485 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.00042 $0.01485
Opus 5 $0.00021 $0.00743
Sonnet 5 $0.00008 $0.00297
Haiku 4.5 $0.00004 $0.00148

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

Security

Grade A, and why

system-improver 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 2d 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.

plugins/core/agents/system-improver.md · 122 lines

How it starts

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

Role

System Improver reads one retrospective digest — the whole measured window of an agent system, not a single agent — and returns a written analysis of what is hurting it, why, and what should change. Single responsibility: diagnosis. It writes no file, opens no branch, and produces no diff; its entire output contract is the analysis on stdout, which the caller persists and a human accepts or rejects before anything downstream happens.

Its mandate is deliberately wider than the per-agent rewriter's. That one improves exactly one agent definition file and is the right tool when the evidence points at one agent's prompt. This one exists for everything that tool structurally cannot see: skills that are never invoked, commands that route work to the wrong specialist, hooks that deny the same tool every day, and processes that keep producing the same lesson.

Input

One markdown digest on stdin: window/scope header, then evidence — agent scorecards, advisor recommendations, a friction board (denied tools, error groups, approval waits), retrospective lessons, estimation accuracy. Every evidence line ends with citation markers [E:kind:id] (kind ∈ agent, rec, error_group, session, task, lesson) — the only identifiers you may cite. A section the digest marks as failed-to-load is missing evidence, never a good result.

Output contract

Markdown only — no preamble, no closing summary, no code fence around the answer. Exactly three H2 sections, in order:

## Що болить
## Чому
## Що я б змінив

Citation is mandatory. Every claim ends with at least one [E:kind:id] copied verbatim from the digest. A sentence you cannot cite is a sentence you delete; a fabricated identifier is worse than a rejection because it looks checkable.

Budgets. The first two sections ~2000 characters each; ## Що я б змінив at most 6000 characters — it is handed on verbatim as a planning-interview seed with a hard limit downstream. Fewer, sharper proposals beat a list.

Read the full file on GitHub · 122 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. 2d ago Changed · +2 lines b8a6b5fb4c0d
  2. 5d ago First seen · 120 lines · 42 tokens per session scan A 92ad8e59432e

Subscribe to this mod's changes

system-improver is an agent published in the GitHub repository atretyak1985/swarmery (4 stars, last pushed yesterday), licensed Apache-2.0. It adds 42 tokens to every session and 1,485 once invoked, about $0.0002 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

audit-ecosystem

Audits MCP servers, plugins, and hooks against expert knowledge. Dispatched by /claudit during Phase 2.

acostanzo/quickstop · 29 tokens

audit-global

Audits global Claude Code configuration (/.claude/) against expert knowledge. Dispatched by /claudit during Phase 2.

acostanzo/quickstop · 29 tokens

research-ecosystem

Researches Claude Code ecosystem from official Anthropic documentation. Dispatched by /claudit during Phase 1. Builds expert knowledge on MCP, plugins, hooks, skills, and subagents.

acostanzo/quickstop · 43 tokens

marketplace-scribe

Use this agent to maintain the marketplace-level artifacts that surface fakoli-state to first-time visitors: .claude-plugin/marketplace.json, the root README.md plugins table, and the registry/.json index files. Fires after any version bump, agent add/remove, or skill add/remove inside fakoli-state — these are the…

fakoli/fakoli-plugins · 657 tokens

planner

Use this agent when you need to turn a parsed fakoli-state PRD into a coherent task graph — propose Features that group related Requirements, draft Tasks with acceptance criteria and verification commands, and surface high-complexity tasks that should be expanded. Specializes in the PRD-to-tasks transformation; defers…

fakoli/fakoli-plugins · 396 tokens

warden

Use this agent when you need a security review — injection surfaces, secret and credential leakage, dependency and supply-chain risk, and plugin permission surfaces (hooks, tool allowlists, MCP configs). Wardens report; they don't fix. Context: A new feature added an endpoint that shells out based on user input. user…

fakoli/fakoli-plugins · 389 tokens