Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic

auditing-prompt-token-budget

Étoiles2
Forks0
Mis à jour17 juin 2026 à 00:55

Audits an Anthropic API prompt (system + user + tool definitions + tool results) for token budget pressure and prompt-cache hygiene. Tokenizes the full request, flags prompts above a configurable budget, detects duplicated boilerplate that should be moved to a cache_control segment, and recommends the right TTL (5m default vs 1h extended). Use whenever per-call cost is rising, latency is climbing on otherwise-identical prompts, the request payload is approaching the model context window, or when shipping any new agentic loop, RAG application, or multi-turn workflow. Refuses to engage on prompts under ~500 tokens (no meaningful budget pressure) and redirects raw-text re-tokenizing requests to the model's tokenizer directly.

Installation

Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.

Explorateur de fichiers
5 fichiers
SKILL.md
readonly