alego: Skill for Claude Code

.agents/skills/alego-speed-up-perf/SKILL.md

alego-speed-up-perf is a skill for Claude Code, Codex from singula-ai/alego. It costs 44 tokens per session (2,195 once invoked), scanned A, a copy of dsh-speed-up-perf, MIT.

A performance investigation and optimization procedure for Alego. It uses user-path measurements, profiling, benchmarks, and performance checks to guide behavior-preserving changes.

In plain words
What is it for?
Use it to profile long sessions or web responsiveness, design synthetic benchmarks and continuous-integration performance gates, and assess performance pull requests.
Why use it?
It replaces vague requests to make software faster with measurements of the actual backend and browser work users experience.

Skill for Claude CodeCodex

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to singula-ai/alego. 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/singula-ai/alego/main/.agents/skills/alego-speed-up-perf/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/singula-ai/alego

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 alego-speed-up-perf

README.md
[![agentmods](https://agentmods.dev/badge/skills/singula-ai/alego/alego-speed-up-perf/github.svg)](https://agentmods.dev/skills/singula-ai/alego/alego-speed-up-perf)
Your own site
<a href="https://agentmods.dev/skills/singula-ai/alego/alego-speed-up-perf"><img src="https://agentmods.dev/badge/skills/singula-ai/alego/alego-speed-up-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.

agentmods 80×15 button for alego-speed-up-perf

Your own site · 80×15
<a href="https://agentmods.dev/skills/singula-ai/alego/alego-speed-up-perf"><img src="https://agentmods.dev/badge/skills/singula-ai/alego/alego-speed-up-perf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,195 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 94% 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.00044 $0.02195
Opus 5.5 $0.00018 $0.00878
Sonnet 5.5 $0.00009 $0.00439
Haiku 4.5 $0.00004 $0.00219

Measured 1mo ago against content hash d2592e40bee8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

alego-speed-up-perf 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.

Origin

This is a copy

94% identical to dsh-speed-up-perf — 12 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/alego-speed-up-perf/SKILL.md · 93 lines

How it starts

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

Speed Up Alego

Turn a broad “make it faster” request into reproducible user-path measurements and small, evidence-backed fixes. This is guidance, not a quota or a script: survey broadly, follow measured cost, and reject attractive changes that do not improve the workload users actually run.

Establish scope and current authority

Read AGENTS.md, architecture, testing policy, defensive patterns, and the affected packages’ instructions and Agent Notes. Use CI test reliability for processes, clocks, browser tests, and asynchronous cleanup.

Agree on the user-visible endpoint, workload range, resource constraints, acceptable minor behavior differences, and stopping rule. Keep backend and browser end-to-end measurements separate: a fast history iterator or Client fold does not prove fast transport, paint, scrolling, or input response. Exclude model/network latency when measuring local overhead, and state that exclusion rather than calling the result complete product latency.

Inspect the exact current base, not just the running checkout. Study final merged diffs, owning source, tests, and resolved review threads; a PR body can describe an abandoned implementation. Separate merged, closed-unmerged, superseded, estimated, and newly measured evidence. The archived performance workflow decision and evidence supply historical leads, not authority to reintroduce their implementations.

Survey user paths, then rank candidates

Delegate independent domains when breadth helps; require measurements and production call sites, not guesses. Useful domains include:

  • Cold profile startup, first historical read, current-generation reopen, and writable resume.
  • Many-turn and tool-heavy history, large individual messages/results, child Session listing, and repeated navigation among Sessions.
  • Initial history transport and fold, first usable browser paint, older-page loading, scrolling, tool expansion, and inactive-view activation.
  • Live streaming and reconnect, including a long active attempt, interleaved tool work, settlement, cancellation, and teardown.

Read the full file on GitHub · 93 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. 1mo ago Changed d2592e40bee8
  2. 2mo ago First seen · 93 lines · 44 tokens per session scan A edbd2ca8f3b2

Subscribe to this mod's changes

alego-speed-up-perf is a skill published in the GitHub repository singula-ai/alego (110 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 2,195 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to dsh-speed-up-perf, differing in 12 lines, and is treated as a copy.

Related

alego-speed-up-perf compared with skills from other repositories

alego-speed-up-perf next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
alego-speed-up-perfsingula-ai/alegoSkill110yesterdayMITA44Claude Code, Codex
ctxagentis-tools/ctxSkill135d agoApache-2.0A60Claude Code
ctxagentis-tools/ctxSkill135d agoApache-2.0A60Claude Code, Codex
monitoring-observabilitytravisjneuman/.claudeSkill115yesterdayMITA48Claude Code
debug-systematictravisjneuman/.claudeSkill115yesterdayMITA33Claude Code
agent-debugging-specialisttravisjneuman/.claudeSkill115yesterdayMITA12Claude Code
agent-refactoring-specialisttravisjneuman/.claudeSkill115yesterdayMITA12Claude Code