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 lukas-grigis/ralphctl --skill ralphctl-performance-optimizationgit clone --depth 1 https://github.com/lukas-grigis/ralphctlWrote 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/lukas-grigis/ralphctl/ralphctl-performance-optimization)<a href="https://agentmods.dev/skills/lukas-grigis/ralphctl/ralphctl-performance-optimization"><img src="https://agentmods.dev/badge/skills/lukas-grigis/ralphctl/ralphctl-performance-optimization/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/lukas-grigis/ralphctl/ralphctl-performance-optimization"><img src="https://agentmods.dev/badge/skills/lukas-grigis/ralphctl/ralphctl-performance-optimization.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.00097 | $0.01564 |
| Opus 5.5 | $0.00039 | $0.00626 |
| Sonnet 5.5 | $0.00019 | $0.00313 |
| Haiku 4.5 | $0.00010 | $0.00156 |
Grade A, and why
ralphctl-performance-optimization 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.
How it starts
The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Performance Optimization
Adapted from addyosmani/agent-skills — "Performance Optimization" (MIT). Adapted for ralphctl's harness contract.
Performance work without measurement is guessing, and guessing adds complexity that costs more than the speed it buys. Measure, find the real bottleneck, fix that one thing, measure again — and keep only what the numbers justify.
When not to use: there is no evidence of a problem. Optimising on a hunch is how neutral complexity lands.
When this applies
- Execute — when the task carries a performance target or a slowness report, or the change touches a hot path. The generator measures with the project's tooling; when reviewing, a performance claim with no before-and-after numbers behind it is a finding, and so is an "optimisation" that changed behaviour.
The workflow
MEASURE → IDENTIFY → FIX ONE THING → RE-MEASURE (keep or undo) → GUARD
1. Measure
Use what the repository already has — a benchmark target, a profiler, a timing harness, a query-plan command, a load script — found in its manifest, scripts, or CI configuration. Fix the budget before you start: the same command, the same input, the same conditions (warm or cold cache, sample count). Record the baseline numbers.
2. Identify
Let the symptom pick what to measure first:
- Startup or first load is slow — payload or bundle size, blocking work at start, slow first response.
- Interaction feels sluggish — long synchronous work on the main thread or event loop, redundant re-rendering or recomputation.
- One operation is slow — profile it; read the query plan of each query it runs.
- Everything slows at once — connection or thread pool exhaustion, memory pressure, CPU saturation.
- Slowness is intermittent — lock contention, garbage-collection pauses, a slow external dependency.
- Memory keeps growing — leaked references, unbounded caches or lists, retained payloads.
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 · 124 lines · 97 tokens per session scan A 589cfa4beb89
ralphctl-performance-optimization is a skill published in the GitHub repository lukas-grigis/ralphctl (24 stars, last pushed yesterday), licensed MIT. It adds 97 tokens to every session and 1,564 once invoked, about $0.0004 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-10-18.
ralphctl-performance-optimization compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ralphctl-performance-optimizationlukas-grigis/ralphctl | Skill | 24 | yesterday | MIT | A | 97 | Claude Code, Codex |
| reviewdevoxx/DevoxxGenieIDEAPlugin | Skill | 697 | yesterday | MIT | A | 90 | Claude Code |
| web-accessopen-octo/octo-agent | Skill | 163 | today | MIT | A | 139 | Claude Code, Codex |
| skill-creatoropen-octo/octo-agent | Skill | 163 | today | MIT | A | 123 | Claude Code, Codex |
| atomic-tdddamusix/atomic-claude | Skill | 117 | 2d ago | MIT | A | 142 | Claude Code, Codex |
| save-learningcaliber-ai-org/ai-setup | Skill | 1.3k | 2mo ago | MIT | A | 71 | Claude Code, Codex |
| repothewaltero/mythos-router | Skill | 309 | today | MIT | A | 11 | Claude Code, Codex |