cc-skill-strategic-compact
Was er macht
Dieses Tool fasst den Fortschritt einer langen und komplexen Aufgabe zusammen. Es speichert wichtige Informationen darüber, was bereits erledigt ist, was noch fehlt und welche zentralen Regeln oder Entscheidungen gelten. So kannst du später weitermachen, ohne den Zusammenhang zu verlieren.
Wann du ihn nutzt
- ✓Wenn ein wichtiger Meilenstein eines Projekts abgeschlossen ist.
- ✓Wenn der Chat mit der KI zu lang und repetitiv wird.
- ✓Bevor du eine neue wichtige Phase einer Aufgabe beginnst.
Link zum Skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/cc-skill-strategic-compact/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Speichere den Fortschritt meiner aktuellen Aufgabe. Ich möchte später daran weiterarbeiten können.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Das Tool erkennt die wichtigsten Punkte aus dem Gespräch, etwa das Hauptziel, festgelegte Regeln, was schon erledigt ist und was noch fehlt. Diese Informationen ordnet es in einer übersichtlichen Zusammenfassung für später.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Strategic Context Checkpoints
Condense context after a verified phase, with enough durable information to resume the same task. A tool-call count is only a reminder; it cannot measure context quality or decide when compaction is safe.
When to Use
Use when exploration has finished, a tested milestone has landed, or a long conversation contains repeated or obsolete reasoning. Do not compact in the middle of an unresolved tool call, an unrecorded approval decision, or a failure whose exact evidence has not been captured.
Inputs and prerequisites
- The user's current objective, accepted constraints and definition of done.
- The current branch and source revision, local changes, relevant artifact paths and actual check results.
- Running processes, pending tool calls, approvals or external blockers.
- A host-supported context-compaction mechanism. This skill does not assume
/compactexists in every client or manipulate internal context files.
Procedure
- Choose a phase boundary: discovery to implementation, implementation to verification, or one completed batch to the next. Preserve an unresolved failure's reproduction first.
- Reconcile task state with the filesystem and Git. Distinguish completed, uncommitted, planned and failed work.
- Produce the checkpoint below. Include exact commands, result summaries and paths needed to resume; omit copied logs and discarded hypotheses that no longer matter.
- Check that the next action is executable and that a new context would not repeat a merge, send a message twice, lose a constraint or overwrite unrelated work.
- Save only in an already authorized project artifact, or return the checkpoint in the conversation. Do not rewrite global memory or host configuration automatically.
- Use the client's supported compaction command if requested and available. On resumption, read the checkpoint and verify mutable state before continuing.
Checkpoint template
Objective and done condition:
User constraints and authorization boundaries:
Source revision, branch and local changes:
Completed outcomes with verification:
Outstanding work and known failures:
Running process/tool identifiers:
Artifacts and exact paths needed next:
Next action, expected result and fallback:
Worked example
For a search feature whose source PR merged while canonical synchronization is pending, preserve the source merge SHA, canonical PR number and expected generated files. Record tests as passed only for the revision actually tested. The next action is to verify the canonical PR and updated main; it is not to merge the source PR again. If a browser check still needs an unlocked desktop, keep that condition visible while continuing independent code review.
Expected outcome: the next context resumes outstanding verification, preserves unrelated local edits and does not claim publication from a source merge.
Optional stateless reminder
bash skills/cc-skill-strategic-compact/suggest-compact.sh 50
The helper accepts an observed tool-call count and optional threshold (default 50), and prints a reminder at the threshold and every 25 calls after it. COMPACT_TOOL_COUNT and COMPACT_THRESHOLD can be supplied by an explicit caller adapter. It stores no counter, estimates no token usage and never performs compaction. With no count it exits quietly.
Earlier versions incremented a shared user-state counter across unrelated sessions. That counter is no longer read or written; existing custom wrappers must pass a session count explicitly. Existing state files are left untouched. This skill does not install or edit a hook.
Limitations
- A checkpoint preserves recorded evidence, not all conversation detail. Keep primary artifacts when exact bytes matter.
- Counts are caller-provided, bounded non-negative decimal integers; reminders are not a context-capacity measurement.
- Branches, processes and remote checks can change after a checkpoint. Revalidate them instead of treating a summary as current truth.
- Client context management differs. Do not simulate compaction by deleting chat databases, logs, caches or project files.
Häufige Fragen
Was passiert mit den Details aus dem Gespräch?
Das Tool konzentriert sich auf die Details, die du zum Weitermachen brauchst, etwa wichtige Entscheidungen und Ergebnisse. Weniger wichtige oder bereits geklärte Details können weggelassen werden, damit die Zusammenfassung kurz bleibt.
Kann ich mich darauf verlassen, dass alles gespeichert wird?
Das Tool speichert die festgehaltenen Informationen und Nachweise. Änderungen am Projekt oder an der Arbeitsumgebung, die nach dem Speichern passieren, musst du unter Umständen noch einmal überprüfen.
Löscht dieses Tool etwas?
Nein, das Tool löscht keine Projektdateien, Logs oder Konfigurationen. Es erstellt nur eine strukturierte Zusammenfassung der wichtigen Informationen.
Details
Originalbeschreibung des Autors
Prepare a verified checkpoint before condensing an agent conversation at a phase boundary. Use during long tasks when context is repetitive; preserves constraints, evidence, decisions and the next action.
Beliebtheit
- GitHub-Sterne
- 48k
- Platz im Ranking
- #4118
- Lizenz
- MIT
- Aktualisiert
- 15.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
00-andruia-consultant
48kHilft deinem Agenten, KI-Projekte zu starten oder zu verbessern. Er analysiert Code, schlägt Tools vor und erstellt Aktionspläne auf Spanisch.
007
48kLässt deinen Agenten Sicherheitsaudits und Bedrohungsmodellierung durchführen. Nützlich, um Projekte vor Angriffen und Schwachstellen zu schützen.
10-andruia-skill-smith
48kHilft deinem Agenten, KI-Tools zu erstellen oder zu verbessern. Er legt fest, wie Tools funktionieren, schreibt die Dokumentation und prüft die Struktur.
20-andruia-niche-intelligence
48kLässt deinen Agenten eine Branchenzusammenfassung erstellen. Nützlich, um Kontext, Regeln, Nutzungsmuster und Risiken anhand verlässlicher Quellen zu verstehen.
Ähnliche Skills
knowledge-automation
394kHilft deinem Agenten, einen wiederkehrenden Auftrag einzurichten, der regelmäßig neue Inhalte in deinen Knowledge-Vault bringt, und danach zu prüfen, ob er läuft.
knowledge-source-ingest
394kHilft deinem Agenten, den Knowledge-Vault mit neuen Einträgen aus Chat-Kanälen, Feeds oder Postfächern aktuell zu halten, ohne bereits Vorhandenes erneut hinzuzufügen.
benchmark
280kHilft deinem Agenten, die Geschwindigkeit und Performance von Code zu messen. Nützlich, um Tempo sicherzustellen und Bremsen zu finden.