Записки серчера: post #1388 — TG.ME

10 промтов, которые оптимизируют ваш Claude 🍩

Большинство оптимизируют модель Claude, но почти никто не аудитирует промпты. А именно тут реальная проблема.

Сессия кодинга в Claude сжигает 80–200 тыс. токенов → $3–15 за пару часов. В день это уже заметные суммы.

ТОП-10 промптов, которые реально экономят токены:

1. Startup audit (экономия ~$45/мес);

Перед первым сообщением в новом чате пишем:
Audit current context: list all loaded files/projects and summarize in under 200 tokens. Remove any unnecessary context.


2. Caveman mode (экономия ~$25/мес, самый сильный)

Добавляем в CLAUDE.md навсегда:
Caveman mode: be extremely concise. No fluff, no explanations unless asked. Short sentences. Output only what is necessary.


github.com/juliusbrussee/caveman даёт 22–87% сокращения вывода

3. Diff only (экономия ~$15/мес)
Respond only with diff/patch. No explanations, no full code, only the changes.


4. No preamble rule (экономия ~$8/мес)

Добавляем в CLAUDE.md:
Never add preambles, introductions, summaries or conclusions unless explicitly asked. Start directly with the answer.


5. Thinking cap (экономия ~$20/мес)
MAX_THINKING_TOKENS=10000. Think step-by-step but keep internal reasoning under 10k tokens. Do not overthink simple tasks.


6. Output budget (экономия ~$8/мес)
Output budget: max 500 tokens per response unless user specifies more.


7. File scope lock (экономия ~$20/мес)
Scope lock: only read and edit the files I explicitly mention. Do not scan the entire repo.


8. Plan before agent (экономия ~$20/мес)
Before starting any agentic workflow or multi-step task, first output a short plan (max 100 tokens) and wait for my approval.


9. Context compression (экономия ~$30/мес)
Compress previous context: summarize old conversation in 300 tokens max while keeping all key facts.


10. Session handoff (экономия ~$8/мес)
Session handoff summary: [вставь краткий summary предыдущей сессии]


Это же можно использовать и в обычном Claude.

Готовый стартовый блок для CLAUDE.md
Caveman mode: be extremely concise. No fluff, no explanations unless asked.

No preamble rule: Never add introductions, summaries or conclusions unless asked. Start directly with the answer.

Diff only: Respond only with changes/diff when editing code.

Thinking cap: MAX_THINKING_TOKENS=10000. Keep reasoning short.

Output budget: Max 500 tokens per response unless specified.


Статья: https://x.com/thegreatest_sv/status/2053128520138739985

Канал | Twitter | Чат
👍6❤3🔥1
May 14, 2026 1.4K 4 111