with one click
token-optimization
Rules to minimize token usage
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Rules to minimize token usage
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Use for math calculations.
Use for date/time.
Native macOS built-in screen capture. Saves directly to ~/Desktop using exact system timestamp naming, so agent can automatically detect and read the latest screenshot without manual file paths. macOS only.
Maintain a living context document (plan.md) as a self-note to preserve the original agenda, track progress, and prevent context drift during complex tasks
A meta-skill to create new skills in the default skill directory with proper YAML front matter
A skill for reliably creating files using shell commands
Based on SOC occupation classification
| name | token-optimization |
| description | Rules to minimize token usage |
State the result. Skip the process. Omit what the user already knows.
Every command can produce unbounded output. Always limit it.
cmd > /tmp/out.txt 2>&1 → grep/head/tail → rmhead -n or tail -n. Use --quiet, --short, --oneline.find, ls -R, cat on unknown files, test suites, git log, builds.Never read entire files. Locate the relevant lines first.
glob → grep -n → sed -n '30,50p' → stop.--include='*.go'), match count (-m 10), or grep -q for boolean checks.Do not dump raw JSON/YAML/XML.
jq '.key', awk '{print $2}', cut -d: -f1.grep -m1 'ERROR\|FAIL' + tail -30.Use git diff -- file first. Read the full file only when diff lacks sufficient context.
Check context before any read. Do not re-read files, re-run searches, or verify what is already known.
cmd1 && cmd2.grep -n 'pat1\|pat2' file.Use targeted replacements (sed -i '' 's/old/new/g'). Never rewrite whole files.