Individual skill
opus-tuner
Token-budget discipline for long sessions - context size, session limits, compaction, handoff, tier and gear routing.
skills/opus-tuner/SKILL.md
Source commit 1653efcb3d32ac3fc5ed102ab6c73f1f69987447
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- Yes
- Skill scan complete
- Yes
- Observed behavior
- Local scripts
- Last checked
- Nov 11, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
Claude Code
Destination .claude/skills/opus-tuner
(
set -euo pipefail
destination='./.claude/skills/opus-tuner'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/YahyaLendani/opus-tuner-claude-skill.git' "$work/repo"
git -C "$work/repo" checkout --detach 1653efcb3d32ac3fc5ed102ab6c73f1f69987447
git -C "$work/repo" archive --format=tar '1653efcb3d32ac3fc5ed102ab6c73f1f69987447:skills/opus-tuner' > "$work/skill.tar"
mkdir -p -- './.claude/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)Codex
Destination .agents/skills/opus-tuner
(
set -euo pipefail
destination='./.agents/skills/opus-tuner'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/YahyaLendani/opus-tuner-claude-skill.git' "$work/repo"
git -C "$work/repo" checkout --detach 1653efcb3d32ac3fc5ed102ab6c73f1f69987447
git -C "$work/repo" archive --format=tar '1653efcb3d32ac3fc5ed102ab6c73f1f69987447:skills/opus-tuner' > "$work/skill.tar"
mkdir -p -- './.agents/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)Cursor
Destination .cursor/skills/opus-tuner
(
set -euo pipefail
destination='./.cursor/skills/opus-tuner'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/YahyaLendani/opus-tuner-claude-skill.git' "$work/repo"
git -C "$work/repo" checkout --detach 1653efcb3d32ac3fc5ed102ab6c73f1f69987447
git -C "$work/repo" archive --format=tar '1653efcb3d32ac3fc5ed102ab6c73f1f69987447:skills/opus-tuner' > "$work/skill.tar"
mkdir -p -- './.cursor/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)Gemini CLI
Destination .gemini/skills/opus-tuner
(
set -euo pipefail
destination='./.gemini/skills/opus-tuner'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/YahyaLendani/opus-tuner-claude-skill.git' "$work/repo"
git -C "$work/repo" checkout --detach 1653efcb3d32ac3fc5ed102ab6c73f1f69987447
git -C "$work/repo" archive --format=tar '1653efcb3d32ac3fc5ed102ab6c73f1f69987447:skills/opus-tuner' > "$work/skill.tar"
mkdir -p -- './.gemini/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)GitHub Copilot
Destination .github/skills/opus-tuner
(
set -euo pipefail
destination='./.github/skills/opus-tuner'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/YahyaLendani/opus-tuner-claude-skill.git' "$work/repo"
git -C "$work/repo" checkout --detach 1653efcb3d32ac3fc5ed102ab6c73f1f69987447
git -C "$work/repo" archive --format=tar '1653efcb3d32ac3fc5ed102ab6c73f1f69987447:skills/opus-tuner' > "$work/skill.tar"
mkdir -p -- './.github/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)OpenCode
Destination .opencode/skills/opus-tuner
(
set -euo pipefail
destination='./.opencode/skills/opus-tuner'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/YahyaLendani/opus-tuner-claude-skill.git' "$work/repo"
git -C "$work/repo" checkout --detach 1653efcb3d32ac3fc5ed102ab6c73f1f69987447
git -C "$work/repo" archive --format=tar '1653efcb3d32ac3fc5ed102ab6c73f1f69987447:skills/opus-tuner' > "$work/skill.tar"
mkdir -p -- './.opencode/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)Repository context
- Repository stars (not skill ratings)
- 14
- Repository last updated
- Nov 3, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- claude Repository topic
- claude-code Repository topic
- context-window Repository topic
- cost-optimization Repository topic
- hooks Repository topic
- powershell Repository topic
- token-optimization Repository topic
- claude-code-skill Repository topic
- claude-skills Repository topic
- finance Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
README.mddoc · 16,114 bytesSKILL.mdcore · 3,035 bytesVERSIONasset · 6 bytesreferences/playbook.mddoc · 3,207 bytesreferences/pricing.jsonasset · 3,398 bytesscripts/_common.ps1runs · 52,707 bytesscripts/_pricing.ps1runs · 5,392 bytesscripts/audit.ps1runs · 17,350 bytesscripts/brief.ps1runs · 12,766 bytesscripts/ctx.ps1runs · 2,581 bytesscripts/doctor.ps1runs · 21,549 bytesscripts/post-tool.ps1runs · 5,253 bytesscripts/pre-compact.ps1runs · 2,988 bytesscripts/pre-tool.ps1runs · 1,539 bytesscripts/profile.ps1runs · 4,439 bytesscripts/route.ps1runs · 7,862 bytesscripts/selftest.ps1runs · 43,259 bytesscripts/session-end.ps1runs · 1,356 bytesscripts/session-start.ps1runs · 7,394 bytesscripts/stats.ps1runs · 2,782 bytesscripts/statusline.ps1runs · 3,288 bytesscripts/stop.ps1runs · 4,949 bytesscripts/weekly.ps1runs · 2,769 bytes
Read excerpt
# opus-tuner
Every request re-reads the whole context, so these rules are about how much gets
re-read and how many requests read it.
## The five rules
1. **Batch independent tool calls.** Four greps in one message read the context
once; four separate messages read it four times.
2. **Grep before read, and bound every read.** `Read` with no `limit`, or above 400
lines, only when you are certain. Otherwise `offset`/`limit`, or search first.
Never recursive-scan a repo to find one symbol.
3. **Never trade verification for tokens.** A "saving" that causes rework is a loss.
4. **Delegate breadth, not judgement.** Exploration, mechanical multi-file edits and