Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.45 KB

File metadata and controls

35 lines (22 loc) · 1.45 KB

Context Saver — cut AI token waste

Cursor, Claude Code, and Copilot burn tokens re-reading node_modules, build output, lockfiles, and binaries they never needed. Context Saver fixes that in one command.

Context Saver

What it does

Run Context Saver: Generate ignore file + repo map from the Command Palette (Ctrl/Cmd+Shift+P). It will:

  1. Scan your project and write a smart .cursorignore listing the heavy folders that actually exist (deps, build output, caches) plus noisy file types (lockfiles, maps, images, archives).
  2. Write a compact .agent/repo-map.md — top-level layout + likely entry points — so the agent gets oriented from one short file instead of crawling your whole tree.

Result: fewer tokens per request, faster responses, lower bills. Fully local, no telemetry.

Why it matters

The cost of an AI coding session scales with how much the agent reads. Most of what it reads is noise. A good ignore file is the cheapest token-saver there is — this writes one tuned to your repo automatically.

Companion extension

Pair it with Agent Rules (same author) to also generate your CLAUDE.md / AGENTS.md / .cursorrules.

Want deeper, role-specific presets? See the Agentic Coding Starter Kit.

License

MIT.