Skip to content
Back to skills

Performance

ASecurity

Keep sessions fast and cheap. Always on.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
ai-agentsgobashgitperformance

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add TheElephantCoder/agent-harness --skill performance --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Performance?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Performance
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/theelephantcoder-performance/badge)](https://www.skillsdirectory.com/skills/theelephantcoder-performance)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: performance
description: Keep sessions fast and cheap. Always on.
version: 1.0.0
allowed-tools: [read, grep, glob, bash]
triggers:
  - "optimize"
  - "performance"
  - "slow"
  - "tokens"
metadata:
  category: performance
---

# Performance

Make it fast, keep tokens low.

## How

**Batch things.** If you need to read 3 files, read them in the same turn. Same for greps. Don't do `git status` then `git diff` in two separate calls.

**Grep first, read second.** Never read a big unknown file just to see what's in it. Grep, then read the exact spot.

**Don't load everything.** MEMORY summary first, details on demand. Skills load when triggered, not at boot. That's what `memory/tiers` is for.

**Keep context small.** Summarize long logs instead of pasting 500 lines. Keep `MEMORY.md` under 2k. Prefer surgical `edit` over rewriting a whole file.

**Measure.** Run `harness bench --quick` before and after you try to optimize. Track cold start, tokens, tool calls, hook time.

Targets I try to hold:

- cold start <15s
- tokens per task <50k avg
- tool calls per task <60
- hook p99 <100ms

## Check

```bash
harness bench --task cold-start --harness opencode
harness bench --compare main
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…