Logo Response Compression

Response Compression

Cộng đồng
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.

Tổng quan

Nhà phát hànhathola
Kho mãclaude-night-market
Tên kỹ năngresponse-compression
Sao
343
Bản fork
37
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Đầy đủ trong hướng dẫn

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được athola công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Response Compression trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/athola/claude-night-market/tree/master/plugins/conserve/skills/response-compression
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Response Compression trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Response Compression ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Response Compression không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Câu hỏi thường gặp

Kỹ năng AI Response Compression làm được gì?

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

Vì sao nên dùng Response Compression trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Response Compression là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Response Compression trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/athola/claude-night-market/tree/master/plugins/conserve/skills/response-compression. TypingMind đọc tệp SKILL.md và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Response Compression?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Response Compression với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Response Compression với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Response Compression có miễn phí không?

Có. Kỹ năng này được athola phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇