Przejdź do treści
Biblioteka skilli
AI i agenci · Automatyzacja

supercompress

/supercompress

Streszcza duże wyniki narzędzi i dokumenty z dziennika sesji lub przez compress_context, prośby użytkownika zostawiając w całości.

Repozytorium
supercompress ↗
Licencja
MIT
Ostatnia zmiana repozytorium
26.10.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Streszcza duże wyniki narzędzi i dokumenty z dziennika sesji lub przez compress_context, prośby użytkownika zostawiając w całości.

Oryginalny opis (EN)

Always-on context compression for OpenClaw. Use whenever tool output, file reads, logs, diffs, or pasted docs get large: read the session inbox digest or call compress_context. Never compress the user's request. Check rate-limit runway before large work.

Jak działa

  1. OpenClaw-specific
  2. When to compress
  3. How
  4. Rate limits (runway)
  5. Don't
Sekcje z nagłówków SKILL.md, w oryginale · 43 linii, 408 słów
Podgląd SKILL.md
---
name: supercompress
description: "Always-on context compression for OpenClaw. Use whenever tool output, file reads, logs, diffs, or pasted docs get large: read the session inbox digest or call compress_context. Never compress the user's request. Check rate-limit runway before large work."
---

# SuperCompress (OpenClaw)

Compress bulky context before it fills your context window. Never compress the user's request.

## OpenClaw-specific

- Inbox digests are **session-scoped** under `$SUPERCOMPRESS_CONFIG_DIR/inbox/<sessionId>/` (default `~/.supercompress/inbox/<sessionId>/`), so sessions never cross-contaminate. Never read another session's inbox.
- The SuperCompress OpenClaw plugin auto-compresses large tool results into the session inbox. Already-seen chunks are skipped, and rolling session memory is compacted when it grows large.

## When to compress

Call `compress_context` with `context` = only the new bulky text and `query` = the user's request, verbatim. Compress:

- tool output, logs, stack traces, test and build runs, diffs over ~150 lines (~2K tokens)
- long file reads, grep / search results, web pages, docs, RAG chunks, pasted documents
- earlier conversation you no longer need word for word

Don't compress the user's request, short output, or code you are about to edit or patch — edits need the exact text.

## How

1. If `inbox/<sessionId>/latest.md` exists, **Read it first** — hooks already compressed the latest large tool result.
2. Otherwise call `compress_context` with only the new dump (not the whole conversation) and work from the returned digest instead of the raw text.
3. If the digest dropped a line you need, re-read just that part of the source.
4. If it says the account is not linked, call `connect_account` once, give the user its link, then retry.

## Rate limits (runway)

Before large or multi-step work, call `runway_check` (or run `supercompress limits --json`). It runs locally and reads Codex session limits, Claude Code statusline limits, and provider rate-limit headers seen by the local proxy.

- `go` → proceed. `scope: large` means quota would otherwise go unused at reset, so take on bigger or parallel work.
- `land` → a window is nearly spent. **Keep working**, but commit or write a handoff note before each step so the hard cutoff loses nothing. Don't stop a 5h window at 90%: it resets on its own and unused quota is lost.
- `wait` → a window is actually used up. Checkpoint, then wait `waitMinutes` or switch to a provider in `alternatives`.
- `unknown` → no usage data. Carry on and never guess a limit.

## Don't

- Compress the user's request or instructions.
- Re-paste a raw dump after a digest exists.
- Skip compression on a large dump "to be safe" — the digest keeps what the query needs.
- Switch to provider API-key mode for SuperCompress; normal login is fine.

Wersje

RepozytoriumWynikLicencja
Ta strona · supercompress/supercompress90MIT
supercompress/supercompress100MIT
supercompress/supercompress90MIT
supercompress/supercompress90MIT

Migawka bazy z 28.10.2026 · wersja paczki 25d89472a3ee (skrót SHA-256 całej paczki)

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 87context-compress
    Przetwarza duże wyniki, logi, JSON i migawki stron narzędziami context-compress zamiast zwykłego Bash i cat.
  • 100context-compress-audit
    Audytuje repozytorium, ustawienia wtyczek lub sesję agenta pod kątem surowych wyników Bash, Read, WebFetch i MCP, które powinny przechodzić przez context-compress, aby ograniczyć marnowanie kontekstu.
  • 86principle-guard-the-context-window
    Kieruje duże wyniki do pod-agentów, gdy kontekst się zapełnia, zostawiając w głównym wątku tylko streszczenia.
  • 100context-mode
    Przetwarza duże wyniki za pomocą narzędzi ctx_execute i ctx_execute_file zamiast Bash i cat: analiza logów, parsowanie JSON, migawki stron, wyniki testów i budowania.
  • 100pilot-compress
    Przezroczysto kompresuje duże wiadomości w sieci Pilot Protocol, żeby zmniejszyć zużycie pasma przy dużych ładunkach i wysyłce wsadowej tekstu lub danych binarnych.
  • 100docs-digest
    Kompresuje dokumentację repozytorium i specyfikacje OpenSpec do jednego gęstego podręcznika dla agentów w pliku .claude/graph/DOCS_DIGEST.md, gdy kontekst dokumentów jest za duży.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.