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 Rune-kit/rune --skill perfgit clone --depth 1 https://github.com/Rune-kit/runeWrote 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/rune-kit/rune/perf)<a href="https://agentmods.dev/skills/rune-kit/rune/perf"><img src="https://agentmods.dev/badge/skills/rune-kit/rune/perf/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/rune-kit/rune/perf"><img src="https://agentmods.dev/badge/skills/rune-kit/rune/perf.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.00073 | $0.05782 |
| Opus 5.5 | $0.00029 | $0.02313 |
| Sonnet 5.5 | $0.00015 | $0.01156 |
| Haiku 4.5 | $0.00007 | $0.00578 |
Grade A, and why
perf 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
Finding: `SYNC_IN_ASYNC — [file:line] — [readFileSync|execSync|etc] in async function — blocks event loop` How it starts
The opening of the file, as written. The whole thing — 452 lines — stays where its author put it; the contents beside it link to each section on GitHub.
perf
Purpose
Performance regression gate. Analyzes code changes for patterns that cause measurable slowdowns — N+1 queries, sync operations in async handlers, unbounded DB queries, missing indexes, memory leaks, and bundle bloat. Not a profiler — a gate. Finds performance bugs with measurable/estimated impact before production, so developers fix them at the cheapest point in the cycle.
Triggers
/rune perf— manual invocation before commit- Called by
cook(L1): Phase 5 quality gate - Called by
review(L2): performance patterns detected in diff - Called by
deploy(L2): pre-deploy regression check - Called by
audit(L2): performance health dimension
Calls (outbound)
scout(L2): find hotpath files and identify framework in usebrowser-pilot(L3): run Lighthouse / Core Web Vitals for frontend projectsverification(L3): run benchmark scripts if configured (e.g.npm run bench)design(L2): when Lighthouse Accessibility BLOCK — design system may lack a11y foundation
Called By (inbound)
cook(L1): Phase 5 quality gate before PRaudit(L2): performance dimension delegationreview(L2): performance patterns detected in diffdeploy(L2): pre-deploy perf regression checkadversary(L2): scalability stress test when bottleneck patterns detected in plan
References
references/cost-reference.md— Cost priority hierarchy, quick wins checklist, instance right-sizing, data transfer traps, serverless optimization, observability cost control, managed vs self-hosted matrix, unit economics tracking. Load when cost analysis or FinOps context detected.references/scalability-reference.md— Bottleneck identification flow, performance thresholds, API patterns (cursor pagination, rate limiting, circuit breaker, graceful shutdown), caching strategies, queue-based load leveling, concurrency patterns, K8s HPA, CDN headers, load testing. Load when scaling or infrastructure optimization context detected.../deploy/references/observability.md— Instrumentation discipline (RED/USE metrics, percentiles-not-averages, cardinality bounds, structured logs, correlation IDs). Load when establishing the measurement basis for an optimization — you cannot optimize what you do not measure.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · 452 lines · 73 tokens per session scan A 02a4443b040c
perf is a skill published in the GitHub repository Rune-kit/rune (96 stars, last pushed 2d ago), licensed MIT. It adds 73 tokens to every session and 5,782 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-22.
perf compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| perfRune-kit/rune | Skill | 96 | 2d ago | MIT | A | 73 | Claude Code |
| autonomous-tdd-debuggerroedyrustam/vibes-plug | Skill | 129 | 3d ago | MIT | A | 43 | Cursor |
| repro-firstedonadei/caliper | Skill | 239 | yesterday | MIT | A | 30 | Claude Code |
| pair-programmingfrankxai/claude-skills-library | Skill | 51 | today | MIT | A | 85 | Claude Code |
| debug-flowDVNghiem/FlowDeck | Skill | 44 | 15d ago | MIT | A | 34 | Claude Code, Codex |
| refactoring-patternscosmicstack-labs/mercury-agent-skills | Skill | 492 | 3mo ago | MIT | A | 21 | Claude Code, Codex |
| debugsentimony/skills | Skill | 8 | today | MIT | A | 34 | Claude Code |