token-efficiency-methodology-reuse

Audit API integrations for token waste using the token-efficiency methodology.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/liuyu520/cc_source --skill token-efficiency-methodology-reuse
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: token-efficiency-methodology-reuse
Source: https://github.com/liuyu520/cc_source/tree/main/.claude/skills/token-efficiency-methodology-reuse
Command: npx skills add https://github.com/liuyu520/cc_source --skill token-efficiency-methodology-reuse

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a structured framework to design and audit token usage across third-party API integrations, ensuring cost-effective, efficient interactions.

Core Features & Use Cases

  • Five principles: information density, invariant deduplication, lazy loading, progressive detail, output economy.
  • Four anti-patterns: parrot, arsenal, library, journal.
  • Provider-aware optimization pattern and an implementation audit for existing systems.
  • Real-world use: auditing API calls, refactoring prompts, and adding env-var gated optimizations.

Quick Start

Describe a step-by-step audit of a third-party API integration applying the token-efficiency methodology.

Frequently Asked Questions about token-efficiency-methodology-reuse

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit token usage in third-party API integrations?▼

To audit token usage in third-party API integrations, apply a structured methodology that identifies waste across design reviews and messaging pipelines using principles like information density and invariant deduplication.

What are common anti-patterns that waste tokens in prompt engineering?▼

Common token-wasting anti-patterns in prompt engineering include parrot, arsenal, library, and journal patterns, which reduce output economy and inflate API costs during interactions.

How do I optimize API calls to reduce token waste?▼

Optimize API calls to reduce token waste by applying provider-aware optimization patterns, enforcing env-var gating, and using progressive detail and lazy loading principles to minimize redundant information.

Can I use env-var gating to control API optimization features?▼

Yes, env-var gating can control API optimization features by conditionally enabling provider checks and structured audit frameworks, ensuring cost-effective and efficient interactions across different environments.

What's the best way to refactor prompts for token efficiency?▼

The best way to refactor prompts for token efficiency is applying the five principles: information density, invariant deduplication, lazy loading, progressive detail, and output economy to eliminate identified anti-patterns.

When should I apply a token-efficiency audit to my API integration?▼

Apply a token-efficiency audit when integrating third-party APIs, refactoring existing prompts, or designing messaging pipelines to identify and remove token waste before it impacts operational costs.