agentos-modal: Skill for Claude Code

.agents/skills/eval-and-improve/SKILL.md

eval-and-improve is a skill for Claude Code, Codex from agno-agi/agentos-modal. It costs 74 tokens per session (1,491 once invoked), scanned A, a copy of eval-and-improve, Apache-2.0.

A coding-agent workflow for running a Python evaluation suite, investigating failed cases, fixing problems within scope, and repeating the tests until they pass. The suite can use model-based judges, tool-call checks, and deterministic scoring.

In plain words
What is it for?
Diagnosing and repairing evaluation failures, checking tool calls, running smoke or release tests, and validating changes before delivery.
Why use it?
It turns a failing test run into a structured repair loop. It also documents the local services, environment settings, and commands needed to run selected groups or individual cases.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is agno-agi/agentos-modal's own configuration. It tells Claude Code and Codex how to work on agentos-modal 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 agentos-modal configures →

Reuse

Borrowing it

Nothing to install: this file belongs to agno-agi/agentos-modal. 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/agno-agi/agentos-modal/main/.agents/skills/eval-and-improve/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/agno-agi/agentos-modal

Made for: Claude Code, Codex.

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 eval-and-improve

README.md
[![agentmods](https://agentmods.dev/badge/skills/agno-agi/agentos-modal/eval-and-improve/github.svg)](https://agentmods.dev/skills/agno-agi/agentos-modal/eval-and-improve)
Your own site
<a href="https://agentmods.dev/skills/agno-agi/agentos-modal/eval-and-improve"><img src="https://agentmods.dev/badge/skills/agno-agi/agentos-modal/eval-and-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 eval-and-improve

Your own site · 80×15
<a href="https://agentmods.dev/skills/agno-agi/agentos-modal/eval-and-improve"><img src="https://agentmods.dev/badge/skills/agno-agi/agentos-modal/eval-and-improve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,491 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 100% copy Near-identical to another mod 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.00074 $0.01491
Opus 5 $0.00037 $0.00745
Sonnet 5 $0.00015 $0.00298
Haiku 4.5 $0.00007 $0.00149

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

Security

Grade A, and why

eval-and-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 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.

Origin

This is a copy

100% identical to eval-and-improve — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/eval-and-improve/SKILL.md · 79 lines

How it starts

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

Eval and Improve

Coding-agent workflow: run as /eval-and-improve or by describing the task.

Run the suite, diagnose every failure, fix what's in scope, stop when green. Cases live in evals/cases.py (agno.eval.Case), the setup/teardown sweeps in evals/hooks.py, the entrypoint in evals/__main__.py. Each case uses an LLM judge (criteria), a tool-call assertion (expected_tool_calls), and/or a deterministic scorer.

0. Preconditions

  • Postgres on 5432 (nc -z localhost 5432; else docker compose up -d agentos-db).
  • Venv active (source .venv/bin/activate; ./scripts/venv_setup.sh if missing). No server needed — cases import the components directly.
  • .env has OPENAI_API_KEY (and PARALLEL_API_KEY if you use one — it pins Agno's expected web tool name at import). Worktrees don't inherit .env.

1. Run

python -m evals --tag smoke            # fast template checks
python -m evals --tag release          # broader pre-release checks
python -m evals --tag live             # current web/source checks
python -m evals --name <case>          # one case
python -m evals --tag smoke --list     # what a selector picks, without running
python -m evals --json-output out.json # machine-readable (carries judge_reason)
python -m evals -v                     # stream the runs

Exit 0 = all passed. Be the only writer: teardowns sweep by snapshot diff, so a note or entity a teammate files during a case gets deleted. Coming from a scheduled failure? Find the case in eval history (db.get_eval_runs(), os.agno.com, or Platform Manager) and reproduce it with --name first; one that won't reproduce is usually environment. Stderr noise at the end of a run (Event loop is closed, httpx timeouts) is harmless.

2. Diagnose

Symptom Likely cause Fix
Judge: right answer, missing X Instructions don't push for X agents/<slug>.py — tighten the rule
Judge: fabricated Should have said it didn't know Add a "say so plainly" rule
Reliability: missing tool Routing rule weak, or the case too narrow Strengthen the rule, or broaden expected_tool_calls
Reliability: additional tool with allow_additional_tool_calls=False Agent fanned out Tighten instructions or allow it
Agno web tool name mismatch (parallel_searchweb_search) PARALLEL_API_KEY differs between .env and shell Sync and re-run
Flips PASS/FAIL across runs, no change Judge variance Re-run 2–3×; still flipping → make criteria more falsifiable
Fails in the suite, passes alone Transient flake / 429 Re-run alone, then the suite; persistent 429s → back off
Many fail at once Broad regression (model, MCP down, tool removed) Find the root cause; no prompt edits
run paused awaiting user input Hit a HITL gate (Builder archive/delete) — never graded Keep the case input on the ungated side
cleanup: in the error A teardown couldn't delete what the case created Hard-delete by id (eval_db.delete_component(id, hard_delete=True), ScheduleManager(eval_db).delete(id), eval_db.delete_learning(id), notes.delete(path)); don't touch the agent or case
refusing to sweep … A guard tripped: rows predate the snapshot, or more rows than a case plausibly creates Don't loosen the guard; inspect, delete the case's rows by hand, re-run

Read the full file on GitHub · 79 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 · 79 lines · 74 tokens per session scan A 43455a1b1ede

Subscribe to this mod's changes

eval-and-improve is a skill published in the GitHub repository agno-agi/agentos-modal (2 stars, last pushed 9d ago), licensed Apache-2.0. It adds 74 tokens to every session and 1,491 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to eval-and-improve, differing in 0 lines, and is treated as a copy.