improve

improve is a command for Claude Code from nel-neru/LibrAIum. It costs 26 tokens per session (1,132 once invoked), scanned A, original, MIT.

A command that runs one focused pass of a software project's improvement process: choose the most valuable backlog item, implement it, check it end to end, and commit the change.

In plain words
What is it for?
Use it to select and complete one maintenance task at a time, such as improving error handling, adding tests, checking format compatibility, or fixing frontend states.
Why use it?
It keeps improvement work small and trackable, so unrelated fixes are not bundled together and unfinished changes are less likely to pile up.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/verify-all.sh.

Good fit Use it to select and complete one maintenance task at a time, such as improving error handling, adding tests, checking format compatibility, or fixing frontend states.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/nel-neru/LibrAIum
agentmods
npx agentmods add commands/nel-neru/libraium/improve

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 improve

README.md
[![agentmods](https://agentmods.dev/badge/commands/nel-neru/libraium/improve/github.svg)](https://agentmods.dev/commands/nel-neru/libraium/improve)
Your own site
<a href="https://agentmods.dev/commands/nel-neru/libraium/improve"><img src="https://agentmods.dev/badge/commands/nel-neru/libraium/improve/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 improve

Your own site · 80×15
<a href="https://agentmods.dev/commands/nel-neru/libraium/improve"><img src="https://agentmods.dev/badge/commands/nel-neru/libraium/improve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 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,132 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.00026 $0.01132
Opus 5.5 $0.00010 $0.00453
Sonnet 5.5 $0.00005 $0.00226
Haiku 4.5 $0.00003 $0.00113

Measured 1mo ago against content hash 502a4afa2dab, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

improve 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 1mo 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/commands/improve.md · 78 lines

How it starts

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

Run exactly one iteration of LibrAIum's improvement loop. One iteration = one focused improvement, verified and committed. Do not batch multiple unrelated improvements into a single iteration.

1. Load state

Read .claude/improvement-backlog.md.

If it does not exist (first iteration): seed it by auditing the repo along these dimensions, then pick the top item and continue. Write concrete, single-commit-sized items — not vague themes.

  • Robustness (Rust) — unwrap()/expect()/panic paths in src-tauri/src/, unhandled I/O errors, edge cases in store/search/github/gitops (empty data dir, malformed entry mid-library, concurrent refresh, git repo in weird states)
  • Robustness (MCP server) — input validation gaps, unhelpful error messages, behavior on corrupt/missing data files
  • Test coverage — untested branches in Rust modules; the MCP server has only the smoke test — targeted unit tests for lib/store.js / lib/suggest.js
  • Dual-format parity — adversarial edge cases (unicode slugs, CRLF, empty body, frontmatter-like body content, huge tags) → new fixtures in tests/fixtures/format/ proving both sides agree
  • Frontend (Svelte 5) — empty/loading/error states, race conditions on rapid navigation, keyboard access, feedback on slow network ops
  • DX / docs — README accuracy, script failure messages, CLAUDE.md drift
  • CI — speed, cache hit rate, flakiness

Backlog format:

# Improvement Backlog
## Pending  (ordered: highest value first)
- [ ] P1 <one-line item> — <why it matters, 1 sentence>
## Done
- [x] <item> — <commit hash> (<date>)
## Rejected
- <item> — <why not worth doing>

Priority order: P1 correctness & data-safety bugs → P2 missing tests for existing behavior → P3 error handling & user-facing failure messages → P4 dual-format hardening (new fixtures) → P5 docs/DX/CI polish.

2. Pick ONE item

Take the highest-priority pending item that fits in a single focused session. If the top item is too big, split it into smaller backlog entries and take the first piece. State clearly which item you picked and why.

Read the full file on GitHub · 78 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. 1mo ago First seen · 78 lines · 26 tokens per session scan A 502a4afa2dab

Subscribe to this mod's changes

improve is a command published in the GitHub repository nel-neru/LibrAIum (0 stars, last pushed 16d ago), licensed MIT. It adds 26 tokens to every session and 1,132 once invoked, about $0.0001 per session on Opus 5.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.