Logo vun Response Compression

Response Compression

Communautéit
athola
response-compression

Compresses verbose responses by removing filler and framing to save 200-400 tokens. Use when responses feel bloated or context is filling fast.

Iwwersiicht

Editeurathola
Repositoryclaude-night-market
Skill-Nummresponse-compression
Stären
343
Forks
37
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum athola op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Response Compression an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/athola/claude-night-market/tree/master/plugins/conserve/skills/response-compression
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/athola/claude-night-market.git /tmp/claude-night-market
mkdir -p .claude/skills
cp -r /tmp/claude-night-market/plugins/conserve/skills/response-compression .claude/skills/response-compression
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Response Compression an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Response Compression automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Response Compression net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Response Compression

Eliminate response bloat to save 200-400 tokens per response while maintaining clarity.

When To Use

  • Reducing verbose output to save context tokens
  • Providing concise answers without losing information

When NOT To Use

  • Educational explanations where detail improves understanding
  • First-time setup instructions needing step-by-step clarity

Elimination Rules

ELIMINATE

CategoryExamplesReplacement
Decorative Emojis--(remove entirely)
Filler Words"just", "simply", "basically", "essentially"(remove or rephrase)
Hedging Language"might", "could", "perhaps", "potentially", "I think"Use factual statements
Hype Words"powerful", "amazing", "seamless", "robust", "elegant"Use precise descriptors
Conversational Framing"Let's dive in", "Now that we've", "Moving forward"Start with content
Transitions"Furthermore", "Additionally", "In conclusion"(remove, use structure)
Call-to-Action"Feel free to", "Don't hesitate to", "Let me know if"(remove from endings)

PRESERVE (When Appropriate)

CategoryExampleWhen to Use
Status Indicators[pass] [fail] [warn]In structured output, checklists
Technical PrecisionExact error messagesWhen debugging
Safety WarningsCritical info about data lossAlways preserve
Context SettingBrief necessary backgroundWhen user lacks context

Before/After Transformations

Example 1: Opening Bloat

Before (68 tokens):

Great question! I'd be happy to help you understand how this works.
The bloat detector is a powerful tool that analyzes your codebase
and provides comprehensive insights into potential issues...

After (28 tokens):

The bloat detector analyzes codebases using three tiers: quick scan
(heuristics), static analysis (tools), and deep audit (git history).

Example 2: Closing Bloat

Before (45 tokens):

I've completed the task. Here's what I did:
- Deleted 5 files
- Saved 18k tokens

Next steps:
1. Review the changes
2. Run tests
3. Commit if satisfied

Let me know if you need anything else!

After (15 tokens):

Done. Deleted 5 files, saved 18k tokens.
Backup: backup/unbloat-20260102

Example 3: Hedging Removal

Before:

I think this might potentially be causing the issue, but I could be wrong.
Perhaps we should consider looking into it further.

After:

This causes the issue. Investigate the connection pool timeout setting.

Termination Guidelines

When to Stop

End response immediately after:

  • Delivering requested information
  • Completing requested task
  • Providing necessary context

Avoid Trailing Content

PatternAction
"Next steps:"Remove unless safety-critical
"Let me know if..."Remove always
"Summary:"Remove (user has the response)
"Hope this helps!"Remove always
Bullet recapsRemove (redundant)

Override: action-first-output

When Skill(conserve:action-first-output) is active, two rows above are overridden:

  • "Next steps:": one single-line next action is required, not removed. The ban still holds for multi-item "Next steps:" blocks.
  • Bullet recaps: a position marker ("step 3 of 5 done") is required every turn. The ban still holds for recapping content the reader just read.

See the Precedence table in that skill for the full resolution.

Exceptions (When Summaries Help)

  • Multi-part tasks with many changes
  • User explicitly requests summary
  • Critical rollback/backup information
  • Complex debugging with multiple findings

Directness Guidelines

Direct =/= Rude

Goal: Information density, not coldness.

EliminatePreserve
Unnecessary encouragementTechnical context
Rapport-building fillerSafety warnings
Hedging without reasonNecessary explanations
Positive paddingFactual uncertainty markers

Encouragement Bloat

Eliminate:

  • "Great question!"
  • "Excellent point!"
  • "Good thinking!"
  • "That's a great approach!"

Replace with: Direct answers to the question.

Rapport-Building Filler

Eliminate:

  • "I'd be happy to help you..."
  • "Feel free to ask if..."
  • "I hope this helps!"
  • "Let me know if you need..."

Replace with: Useful information or nothing.

Preserve Helpful Directness

The following are NOT bloat:

  • Brief context when user needs it
  • Clarifying questions when ambiguity affects correctness
  • Warnings about destructive operations
  • Error explanations that help debugging

Quick Reference Checklist

Before finalizing response:

  • No decorative emojis (status indicators OK)
  • No filler words (just, simply, basically)
  • No hedging without technical uncertainty
  • No hype words (powerful, amazing, robust)
  • No conversational framing at start
  • No unnecessary transitions
  • No "let me know" or "feel free" closings
  • No summary of what was just said
  • No "next steps" unless safety-critical
  • Ends after delivering value

Token Impact

PatternTypical Savings
Eliminating opening bloat30-50 tokens
Removing closing fluff20-40 tokens
Cutting filler words10-20 tokens
Removing emoji5-15 tokens
Direct answers50-100 tokens
Total per response150-350 tokens

Over 1000 responses: 150k-350k tokens saved.

Integration

This skill works with:

  • conserve:token-conservation - Budget tracking
  • conserve:context-optimization - MECW management
  • sanctum:pr-review - Review feedback

Exit Criteria

  • Response contains none of the banned openers: "Great question!", "I'd be happy to help", "Let's dive in", "Furthermore", "Additionally", "In conclusion"
  • Response contains no trailing filler: "Let me know if...", "Feel free to...", "Hope this helps!", "Next steps:" (unless safety-critical)
  • Token count of final response is 150-400 tokens lower than a naive version of the same content would be, verified by comparing before/after examples when token impact is measurable
  • Safety warnings, technical precision, and factual uncertainty markers are preserved intact; only decorative and conversational content is removed

Heefeg gestallte Froen

Wat mécht de KI-Skill Response Compression?

Compresses verbose responses by removing filler and framing to save 200-400 tokens. Use when responses feel bloated or context is filling fast.

Firwat Response Compression op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Response Compression besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Response Compression an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/athola/claude-night-market/tree/master/plugins/conserve/skills/response-compression an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Response Compression benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Response Compression benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Response Compression domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Response Compression gratis?

Jo. De Skill gëtt vum athola ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇