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.
curl -O https://raw.githubusercontent.com/agno-agi/agentos-modal/main/.agents/skills/improve-agent/SKILL.mdgit clone --depth 1 https://github.com/agno-agi/agentos-modalWrote 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.
[](https://agentmods.dev/skills/agno-agi/agentos-modal/improve-agent)<a href="https://agentmods.dev/skills/agno-agi/agentos-modal/improve-agent"><img src="https://agentmods.dev/badge/skills/agno-agi/agentos-modal/improve-agent.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00087 | $0.01811 |
| Opus 5 | $0.00044 | $0.00905 |
| Sonnet 5 | $0.00017 | $0.00362 |
| Haiku 4.5 | $0.00009 | $0.00181 |
Grade A, and why
improve-agent 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 8d 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.
- `curl -sSf http://localhost:8000/health` returns 200; the container is bound to this checkout (`docker inspect agentos-api --format '{{range .Mounts}}{{.Source}}{{"\n"}}{{end}}' | grep -F "$(pwd)"` prints a line). This is a copy
100% identical to improve-agent — 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.
How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Improve an Agent
Coding-agent workflow: run as
/improve-agentor by describing the task.
Derive probes from the agent's INSTRUCTIONS and its recorded usage, run them against the live container, judge, edit the file, re-probe. No user-supplied test cases. One pass takes 15–30 minutes; re-run if behavior still drifts. To change an agent instead, use extend-agent.
0. Preconditions
curl -sSf http://localhost:8000/healthreturns 200; the container is bound to this checkout (docker inspect agentos-api --format '{{range .Mounts}}{{.Source}}{{"\n"}}{{end}}' | grep -F "$(pwd)"prints a line).- Ask for the target slug and confirm it is code:
curl -s http://localhost:8000/agents | jq -r '.[] | "\(.id)\tis_component=\(.is_component)"'.is_component=truehas no file — route edits through Platform Builder (edit_*+publish_component) and never create a file under that id (it shadows the component). - Suggest a branch:
git checkout -b improve/<slug>-$(date +%Y%m%d).
1. Read the intent
Open the file (agents/<slug>.py; teams/lead.py for agno). Capture purpose, tools, and every explicit rule in INSTRUCTIONS. Restate the purpose in 1–2 sentences; fold in any failure modes the user volunteers.
2. Derive probes
Mine usage first (needs the venv: source .venv/bin/activate):
from db import get_postgres_db
db = get_postgres_db()
sessions, _ = db.get_sessions(component_id="<slug>", limit=20, deserialize=False)
asks = [run["input"]["input_content"] for s in sessions for run in (s.get("runs") or []) if run.get("input")]
evals, _ = db.get_eval_runs(agent_id="<slug>", limit=20, deserialize=False) # team_id= for a team
Look for recurring shapes, visible fumbles, and out-of-scope asks. A recorded answer is a scenario, never the oracle — expected behavior comes from INSTRUCTIONS. Reword private content before it becomes a probe. No sessions is fine.
Then derive from INSTRUCTIONS: 2–3 probes per rule plus 1–2 adversarial, usually 8–12 total, across golden path, edge cases (should refuse or ask, not fabricate), tool selection, and adversarial (injection, malformed input). Write a one-line expected behavior per probe. Wanting a behavior the instructions don't promise is a Step 5 edit, not a probe failure.
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.
- 8d ago First seen · 90 lines · 87 tokens per session scan A 0696dd0b6faf
improve-agent is a skill published in the GitHub repository agno-agi/agentos-modal (2 stars, last pushed 8d ago), licensed Apache-2.0. It adds 87 tokens to every session and 1,811 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to improve-agent, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
modal-serverless-gpu
Run approved CPU or GPU work through OpenScience computejob on the user's configured Modal account. Use for isolated scientific scripts, dependency provisioning, durable outputs, logs, status, cancellation, and recovery. Never invoke the Modal SDK or CLI directly.
protein-binder-design
Design and validate de novo protein binders with the current NVIDIA BioNeMo Agent Toolkit workflow, while adapting honestly when NVIDIA-hosted credentials are unavailable.
interaction-patterns
UI interaction design patterns for skeleton loading, infinite scroll with accessibility, progressive disclosure, modal/drawer/inline selection, drag-and-drop with keyboard alternatives, tab overflow handling, and toast notification positioning. Use when implementing loading states, content pagination, disclosure…
agentos-ui-ux
Design, review, or implement AgentOS UI and UX work using the project’s operator-console visual system. Use for React/Tailwind pages, cards, dialogs, mobile layouts, theme work, navigation, forms, empty/loading/error states, and UI consistency reviews in AgentOS.
modal
Use when running Python or GPU workloads serverlessly on Modal — modal.App, inline container Images, gpu= on @app.function, Volumes for weight caching, Cron schedules, ASGI endpoints, modal run vs serve vs deploy. NOT managed prediction APIs with no container of your own (that is replicate); NOT SSH-able GPU boxes…
swiftui-backports
Find SwiftUIBackports replacements for SwiftUI APIs unavailable on a project deployment target. Use for Swift/SwiftUI compiler availability errors, old iOS/tvOS/watchOS/macOS targets, or when implementing SwiftUI app features that may benefit from SwiftUIBackports.