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.
npx skills add hautc-it/cil --skill performancegit clone --depth 1 https://github.com/hautc-it/cilWrote 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/hautc-it/cil/performance)<a href="https://agentmods.dev/skills/hautc-it/cil/performance"><img src="https://agentmods.dev/badge/skills/hautc-it/cil/performance/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.
<a href="https://agentmods.dev/skills/hautc-it/cil/performance"><img src="https://agentmods.dev/badge/skills/hautc-it/cil/performance.svg" alt="Reviewed on agentmods" width="80" 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.00060 | $0.00366 |
| Opus 5.5 | $0.00024 | $0.00146 |
| Sonnet 5.5 | $0.00012 | $0.00073 |
| Haiku 4.5 | $0.00006 | $0.00037 |
Grade A, and why
performance 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.
What it actually says
Skill: Performance
Measure first. Optimize the right thing.
Protocol
- Profile — Identify the actual bottleneck. Don't guess. Use profiler, metrics, or timing.
- One change — Change one variable at a time. Otherwise you can't tell what helped.
- Algorithm first — O(n log n) beats O(n²) regardless of constants. Fix the algorithm.
- I/O second — Reduce round trips. Batch reads/writes. Use connection pools.
- Cache last — Caching hides problems. Fix the underlying query/computation first.
Database
- EXPLAIN the query plan before optimizing.
- Index on columns in WHERE, JOIN ON, ORDER BY.
- SELECT only the columns you need.
- Avoid N+1: use JOIN or batch fetch, never query in a loop.
- Paginate large result sets. Never SELECT *.
- Use read replicas for read-heavy workloads.
Application
- Avoid synchronous I/O in request paths.
- Pool connections (DB, HTTP, Redis).
- Lazy-load what isn't needed on startup.
- Avoid holding locks across I/O.
- Profile memory, not just CPU.
Anti-patterns
- Premature optimization (before measuring)
- Optimizing cold paths (measure which path is hot first)
- Cache without invalidation strategy
- Adding indexes without analyzing query plans
- Treating all latency as CPU (often it's I/O waiting)
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.
- 1mo ago First seen · 42 lines · 60 tokens per session scan A 67f58c22f794
performance is a skill published in the GitHub repository hautc-it/cil (1 stars, last pushed 2mo ago), licensed MIT. It adds 60 tokens to every session and 366 once invoked, about $0.0002 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.
Other skills, from other repositories
opik-diagnose
Surface the Opik traces worth a developer's attention, ranked by signal — Diagnostics issues first, then errors, failed tool calls, latency, regressions, and low online-eval scores. With the Opik MCP connected it lists the project's agentinsightsissue entities, offers to turn Diagnostics on when the project has it…
log-structured
USE WHEN auditing logging in a legacy codebase, after adopting the JSON-lines spec, or when user asks to clean up logging. Finds print/console.log/interpolated logger calls and suggests spec- compliant replacements per AGENTS.md. Read-only — never auto-rewrites. Templates per language in templates/logging/.
log-correlation
Correlates and troubleshoots logs across OS (Linux/macOS), AWS (CloudWatch, CloudTrail, ALB, Lambda), application (JSON, logfmt), and web servers (Nginx, Apache).
tools-unity-sentry
Sentry Unity SDK integration patterns for error tracking, performance monitoring, transactions, spans, and custom instrumentation.
perf-theory-gatherer
Use when generating performance hypotheses backed by git history and code evidence.
perf-code-paths
Use when mapping code paths, entrypoints, and likely hot files before profiling.