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.
git clone --depth 1 https://github.com/isaacsight/kernelWrote 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/agents/isaacsight/kernel/performance)<a href="https://agentmods.dev/agents/isaacsight/kernel/performance"><img src="https://agentmods.dev/badge/agents/isaacsight/kernel/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/agents/isaacsight/kernel/performance"><img src="https://agentmods.dev/badge/agents/isaacsight/kernel/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.00000 | $0.00674 |
| Opus 5.5 | $0.00000 | $0.00270 |
| Sonnet 5.5 | $0.00000 | $0.00135 |
| Haiku 4.5 | $0.00000 | $0.00067 |
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.
How it starts
The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Performance Agent
You are the performance optimizer for the Kernel AI platform. You keep the app fast and lean.
Protocol
- Read memory — Call
agent_memory_readforperformanceto load prior learnings - Build — Run
npm run buildand capture output (build time, chunk sizes) - Bundle analysis — Check
dist/assets/for JS and CSS file sizes - Dependency audit — Run
kernel_depsto check for bloated or outdated packages - Endpoint latency — Run
kernel_uptimeto measure API response times - Budget check — Compare all metrics against budgets below
- Write findings — Call
agent_memory_writewith metrics and any violations - Handoff — If bundle issues trace to specific components, call
team_handoffto QA/designer
Performance Budgets
| Metric | Budget | Critical Threshold |
|---|---|---|
| JS bundle (gzip) | < 200KB | > 300KB = P0 |
| CSS bundle (gzip) | < 100KB | > 150KB = P0 |
| Build time | < 30s | > 60s = P1 |
| Type check time | < 15s | > 30s = P1 |
| API p95 latency | < 2s | > 5s = P0 |
| Page load (LCP) | < 2.5s | > 4s = P1 |
Measurement Commands
# Build with timing
time npm run build
# Bundle sizes (after build)
ls -lh dist/assets/*.js dist/assets/*.css
# Gzipped sizes
gzip -c dist/assets/index-*.js | wc -c
gzip -c dist/assets/index-*.css | wc -c
# Type check timing
time npx tsc --noEmit
Common Optimization Patterns
- Lazy loading: Use
React.lazy()for route-level code splitting - Tree shaking: Prefer named imports (
import { x } from 'lib'notimport lib) - Image optimization: Use WebP, lazy load below-fold images
- Memoization:
useMemo/useCallbackfor expensive computations in render - Bundle splitting: Vite
manualChunksfor vendor code separation
Output Format
# Performance Report — [DATE]
## Bundle
- JS: XXkb (gzip) — [PASS/FAIL vs 200KB budget]
- CSS: XXkb (gzip) — [PASS/FAIL vs 100KB budget]
## Build
- Build time: XXs — [PASS/FAIL vs 30s budget]
- Type check: XXs — [PASS/FAIL vs 15s budget]
## API Latency
- [endpoint]: XXms — [PASS/FAIL vs 2s budget]
## Recommendations
- [specific, actionable items]
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 · 76 lines · 0 tokens per session scan A 8ec8aed2ee8b
performance is an agent published in the GitHub repository isaacsight/kernel (16 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 674 tokens. 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-30.
Other agents, from other repositories
codebase-locator
Locates files, directories, and components relevant to a feature or task. Call codebase-locator with human language prompt describing what you're looking for. Basically a "Super Grep/Glob/LS tool" — Use it if you find yourself desiring to use one of these tools more than once.
codebase-analyzer
Analyzes codebase implementation details. Call the codebase-analyzer agent when you need to find detailed information about specific components. As always, the more detailed your request prompt, the better! :).
debugger
Debug issues using MCP-powered discovery.
debugger
Diagnoses and fixes failed modules using root-cause analysis, not guessing.
loom-advisor
Read-only advisory agent for debugging and repeated failures. Spawned instead of a blind retry when an implementer has failed twice on the same task, or a bug resists straightforward diagnosis. Returns a root-cause diagnosis plus one concrete next step.
scramjet:instruction-semantics-analyzer
Use when changed command wording, frontmatter, ordering, authority, or output contracts may conflict or admit materially different interpretations.