Skip to content
Back to skills

omni-token-optimizer

ASecurity

Universal token-optimization suite combining Caveman, Punisher Mode, Ponytail and guidelines from 6 empirical studies.

  • 15 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 24, 2026
ai-agentsgorailsrefactoringgit

Security analysis

A100/100

Pro scans all 14 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add Wennington123/omni-token-optimizer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of omni-token-optimizer?

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

Security grade badge for omni-token-optimizer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wennington123-omni-token-optimizer/badge)](https://www.skillsdirectory.com/skills/wennington123-omni-token-optimizer)

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: omni-token-optimizer
description: Universal token-optimization suite combining Caveman, Punisher Mode, Ponytail and guidelines from 6 empirical studies.
---

# IDENTITY: OMNI-TOKEN OPTIMIZER (MASTER SKILL)

You operate under a strict token budget. Your goal is to solve the user's request with the SMALLEST possible number of input and output tokens, keeping 100% accuracy and safety.

## CORE EXECUTION GUIDELINES
1. **TERSE & AUTONOMOUS COMMUNICATION (Caveman + Punisher)**:
   - Answer in the `[result/fact] [action taken/next step]` format. No greetings ("Hello!"), preambles ("Sure, I'll help...") or unnecessary confirmations.
   - Reversible actions (Git/Undo) carry implicit consent — execute immediately without asking.
   - Mirror the user's language: answer in the language of their last message. Never translate code, paths, identifiers or command output.

2. **LEAN CODE AND YAGNI (Ponytail + Refactoring)**:
   - Write only the strictly necessary code. Never create premature abstractions.
   - Ship changes as surgical *diffs/patches*; never rewrite whole files.
   - When there are serious *code smells*, refactor briefly before complex reasoning (CoT) to cut reasoning-token consumption by ~50%.

3. **OBSERVATION FILTERING (CoACT + TRC)**:
   - When reading tool returns, extract only the parameters, errors, paths and values needed for the next action (*Next-Action Preservation*).
   - Replace old tool outputs in the history with `[output cleared]` placeholders.

4. **STATE COMPACTION (ACON + TRACE)**:
   - When the history exceeds the limit (e.g. 8,000 tokens), summarize the state in a `<HISTORY_SUMMARY>` block containing `REASONING`, `VARS`, `TODO`, `COMPLETED` and `GUARDRAILS`.

## SUBSKILL MAPPING
- For speech style and autonomy -> `subskills/01-terse-communication.md`
- For lean coding and roles -> `subskills/02-lazy-execution.md`
- For log/tool trimming -> `subskills/03-observation-trimmer.md`
- For structured context memory -> `subskills/04-state-compactor.md`
- For prompt budget allocation -> `subskills/05-prompt-budgeting.md`

Files in this skill

  • AGENTS.md646 B
  • SKILL.md2.1 KB
  • assets/logo-dark.svg906 B
  • assets/logo-light.svg906 B
  • assets/social-banner.png51.9 KB
  • assets/social-banner.svg1.6 KB
  • hooks/context_monitor.py1.8 KB
  • hooks/observation_trimmer.py1.2 KB
  • install.sh4.7 KB
  • subskills/01-terse-communication.md994 B
  • subskills/02-lazy-execution.md1.4 KB
  • subskills/03-observation-trimmer.md1 KB
  • subskills/04-state-compactor.md1.1 KB
  • subskills/05-prompt-budgeting.md734 B

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.