Claude Code API Optimizer Skill

PassAudited by ClawScan on May 10, 2026.

Overview

This instruction-only token optimizer is coherent and purpose-aligned, but users should notice that it can persist conversation memories and use a secondary model to process conversation content.

This appears safe to use for token optimization, provided you are comfortable with persistent memory files and any secondary model/provider used for extraction. Before installing, review the full SKILL.md because the supplied artifact text was truncated, decide where memories should live, and avoid saving secrets or highly sensitive project data.

Findings (4)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

Over-compression or truncation could make the assistant miss important details, especially in accuracy-critical tasks.

Why it was flagged

The skill intentionally changes what is sent to model/API calls to save tokens. This is central to the stated purpose, but users should be aware it can remove context.

Skill content
Estimate before every API call... If estimated tokens exceed the budget: Summarize or truncate the longest sections first.
Recommendation

Use explicit token budgets, review compressed context for important tasks, and disable or relax compression when completeness matters more than cost.

What this means

Users cannot verify the additional referenced guidance from the provided package.

Why it was flagged

The manifest contains only SKILL.md, so these referenced documentation files were not available in the supplied artifacts. They are not executable helpers, so this is a completeness note rather than a security concern.

Skill content
See [references/token-formula.md](references/token-formula.md)... See [references/memory-extraction-pattern.md](references/memory-extraction-pattern.md)
Recommendation

Review the full published package if available, and do not assume absent reference files add extra safety controls.

What this means

Personal preferences, project details, deadlines, or links may be saved and influence later work.

Why it was flagged

The skill stores conversation-derived user, feedback, project, and reference information for later reuse. This is purpose-aligned, but it creates persistent context that can become stale, sensitive, or over-trusted.

Skill content
extract and persist key information into structured memory files. On subsequent turns, load only the memory index
Recommendation

Review memory files periodically, avoid storing secrets, and add your own retention/deletion rules if using this skill.

What this means

Conversation content used for memory extraction may be processed by a different model provider than the main assistant.

Why it was flagged

The memory extraction workflow may send new conversation messages to another model/provider. This is disclosed and purpose-aligned, but it crosses a data-processing boundary.

Skill content
Use a lightweight secondary model (Haiku, GPT-4o-mini, Gemini Flash) as the memory extraction agent.
Recommendation

Confirm which secondary model/provider will be used and avoid running memory extraction over confidential content unless that provider is acceptable.