Claude Compact Prompt
System prompt to minimize token usage in Claude
PROMPT
Back to Tools
Open source Claude skill

Claude Compact Mode Skill

A GitHub-hosted Claude skill that adds /compact modes for terse, high-signal responses. It is built for coding, debugging, cloud/API work, and long conversations where every token should carry useful information.

Reduce token consumptionCompact modes cut unnecessary wording in long Claude sessions.
Reduce verbosityDrops filler, hedging, and repeated setup.
Faster iterationShort answers make code-review loops easier to scan.
Cleaner responsesKeeps the answer focused on the fix or decision.
Better signal-to-noise ratioUseful for debugging, backend work, and API workflows.
Project Overview
The repository packages compact response behavior as a Claude skill instead of a loose prompt snippet. It supports level-aware compression such as lite, dev, and ultra, while keeping learner-facing or documentation work readable when full prose matters.
Installation
  1. Open the GitHub repository or download the ZIP.
  2. For Claude.ai Skills, upload the ZIP from the repository.
  3. For Claude Code, clone the repo and copy the compact-mode folder into your Claude skills directory.
  4. Restart Claude Code and verify the skill appears with claude skills.
Usage
After installation, start with /compact or choose a level such as /compact lite, /compact dev, or /compact ultra. Use the copyable prompt below when you need a lightweight fallback in a normal Claude conversation, project instruction, or API system message.
Prompt
/compact

You are a focused assistant. Rules:
- Be concise. No filler, no repetition, no summaries unless asked.
- Respond in plain text unless code or markdown is clearly needed.
- Never restate the question. Answer directly.
- Skip preambles like "Great question!" or "Certainly!".
- If context is long, prioritize the most recent instruction.
- Use short paragraphs. Bullet points only when listing 3+ items.