optimize-code
92 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
Turns a Jeffrey profile into concrete code changes in the current repository — maps the hottest CPU, wall-clock, allocation and blocking frames, the slowest traces, the waiting on locks and I/O, the database and HTTP work, and a heap dump's leak suspects to real source, recommends minimal behaviour-preserving edits, applies them on request and verifies with the tests and a re-profile. Use whenever the user asks what to change, optimise or fix based on a profile, JFR recording, flamegraph or tra…
What this skill can do
Runs commands on your computer
Connects to the internet
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'optimize-code' ] || [ -L ~/.agents/skills/'optimize-code' ]; then echo 'A skill folder named optimize-code already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/petrbouda/jeffrey' "$d" && git -C "$d" checkout --quiet 'b7fcdb7b36f8f188c3d9642fd8aabc46dc882b20' -- 'jeffrey-agent-plugin/skills/optimize-code' && mkdir -p ~/.agents/skills && cp -R "$d"/'jeffrey-agent-plugin/skills/optimize-code' ~/.agents/skills/'optimize-code' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'optimize-code' ~/.claude/skills/'optimize-code' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/petrbouda/jeffrey/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-13 | b7fcdb7 | 92 |
| 2026-11-07 | ec4a6fc | 92 |