Token Efficiency

Use to optimize context usage during file inspection, debugging, and targeted testing.

SahilKhan30 Updated

File contents

Token Efficiency Skill

Purpose

Maximize context efficiency during multi-agent collaboration by avoiding unnecessary broad inspections and redundant file reads.


1. Directives

RECOMMENDED

  • Search Before Read: Use targeted grep/symbol searches before loading full file contents.
  • Avoid Unnecessary Inspection: Inspect enough context to make a correct decision, but do not read unrelated packages.
  • Do Not Re-Read Unchanged Files: Reuse memory of unchanged files from previous context steps.
  • Targeted Test Execution: Run single unit/integration tests (e.g. mvn test -Dtest=TransactionServiceTest) rather than entire suites during iterative build loops.

SahilKhan30/claude-skill/tree/main/.claude/skills/core/token-efficiency commit d4554e1bb0

Frequently asked questions

npx skillmds@latest add sahilkhan30/token-efficiency