token-efficient-setup

Insert token-efficiency rules into a project's CLAUDE.md based on detected repo type.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ElvinOuyang/claude-skill-collection --skill token-efficient-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: token-efficient-setup
Source: https://github.com/ElvinOuyang/claude-skill-collection/tree/main/plugins/ai-dev-toolkit/skills/token-efficient-setup
Command: npx skills add https://github.com/ElvinOuyang/claude-skill-collection --skill token-efficient-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It reduces wasted model output by adding token-efficiency rules to a project's CLAUDE.md, preventing verbosity, filler, sycophantic fluff, and repeated restatements.

Core Features & Use Cases

  • Project-type detection: Scans the repo (root and first two levels) to choose an appropriate efficiency profile (coding, analysis, agents, benchmark).
  • Safe CLAUDE.md merging: Appends a clearly marked Token Efficiency section at the end of an existing CLAUDE.md, or creates CLAUDE.md if missing, without overwriting user instructions.
  • Profile-specific behavior constraints: Enforces output structure and hallucination-prevention rules tailored to the selected workflow type.

Quick Start

Use token-efficient-setup to create or update a project's CLAUDE.md with token-efficiency rules optimized for your repository.

Frequently Asked Questions about token-efficient-setup

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

FAQPage Schema
How do I reduce excessive output tokens in Claude Code without losing signal?

To reduce excessive output tokens, you can insert token-efficiency rules into your project's CLAUDE.md. This prevents verbosity, filler, and repeated restatements by enforcing strict output structure constraints tailored to your workflow.

How does CLAUDE.md token optimization work for different repository types?

CLAUDE.md token optimization works by scanning the repository root and first two levels to detect the project type, then applying profile-specific behavior constraints for coding, analysis, agents, or benchmarking workflows to minimize wasted model output.

Can I add token-efficiency rules to an existing CLAUDE.md without overwriting my instructions?

Yes, you can safely add token-efficiency rules to an existing CLAUDE.md. The process appends a clearly marked Token Efficiency section at the end of the file, ensuring your original user instructions remain completely intact and un overwritten.

What is the best way to stop sycophantic fluff and filler during agent workflows?

The best way to stop sycophantic fluff and filler during agent workflows is to configure a CLAUDE.md file with profile-specific efficiency rules. This enforces output structure constraints and hallucination-prevention rules tailored to agent tasks.

Does setting up token efficiency rules require manually editing the CLAUDE.md file?

No, setting up token efficiency rules does not require manual editing. The setup process automatically creates or updates the CLAUDE.md file by scanning your repository and merging the appropriate universal and profile-specific rule sets.

Why does my repository analysis workflow generate verbose and repetitive responses?

Your repository analysis workflow generates verbose responses because it lacks explicit token-efficiency rules. Without a configured CLAUDE.md enforcing output structure and hallucination-prevention constraints, the model defaults to filler and repeated restatements.