cache-efficient

Enforces cache-first session loading and token-capped responses for repository work.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/ndestates/ndestates-website --skill cache-efficient-ndestates
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cache-efficient
Source: https://github.com/ndestates/ndestates-website/tree/main/.copilot/skills/cache-efficient
Command: npx skills add https://github.com/ndestates/ndestates-website --skill cache-efficient-ndestates

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Long AI coding sessions waste tokens by re-reading large files and producing verbose answers. This Skill enforces a cache-first workflow that loads only an index plus a small number of targeted cache or memory files, keeping context small and responses short. ## Core Features & Use Cases - Capped context loading: Reads the manifest token policy, README index, codebase scan, and TODO first, then loads at most 2 codebase docs and 1 memory file, with grep-before-read rules for large files. - Token-budgeted responses: Caps replies at roughly 120 words in bullet form with path citations, and appends a token meter footer generated by the token_monitor.py script each turn. - Session refresh and chaining: Recommends starting a fresh thread at 100k context tokens and composes with chain, standup, and orchestrator skills for deeper work. - Use Case: At the start of every session in the ndestates-io repo, invoke this Skill so the assistant loads only the INDEX and relevant cache sections, then answers in short cited bullets instead of re-reading source files. ## Quick Start Start the session in cache-efficient mode and answer my questions using only the index and targeted cache files with short bulleted responses.

Frequently Asked Questions about cache-efficient

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

FAQPage Schema
How do I reduce token usage in AI coding sessions?▼

Load only an index and a capped number of targeted cache or memory files instead of full source files, and grep headings before reading any file over 80 lines. This Skill enforces that pattern with a default cap of 2 codebase docs plus 1 memory file.

How to keep AI assistant responses short and cited?▼

Cap responses at about 120 words, format them as bullets with one finding per line, and cite path or path:line references instead of quoting code blocks. Reference cache documents by name rather than pasting paragraphs.

When should I start a fresh AI session for a long task?▼

Start a fresh thread when session context reaches roughly 100k tokens, as recommended by the session_refresh_context_tokens policy. Run the chain skill's session-start flow in the new thread to reload the cache spine cheaply.

Can I combine cache-efficient mode with deeper analysis workflows?▼

Yes. Begin with the cache-efficient load, then expand stepwise only when the user asks to go deep or invokes the chain skill's complex-task flow. Each expansion step still follows cache-first rules.

Why does the skill block reading application source code at session start?▼

Reading source files early consumes large amounts of context before the task direction is confirmed. The no_source_until_confirmed rule delays source reads until the user confirms direction or names one exact file path.