Toolverse
All skills

strategic-compact

by affaan-m

Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
affaan-m
Category
DevOps
Views
74

About this skill

Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.

How to use

  1. Pobierz umiejętność z repozytorium https://github.com/affaan-m/everything-claude-code/tree/main/skills/strategic-compact i umieść folder strategic-compact w katalogu ~/.claude/skills/.

  2. Otwórz plik ~/.claude/settings.json i dodaj konfigurację hook'a PreToolUse. W sekcji "hooks" dodaj wpis, który uruchomi skrypt suggest-compact.sh przed każdym użyciem narzędzi Edit lub Write. Skrypt będzie monitorować liczbę wywołań narzędzi w sesji.

  3. Opcjonalnie dostosuj próg kompresji, ustawiając zmienną środowiskową COMPACT_THRESHOLD. Domyślnie umiejętność sugeruje kompresję po 50 wywołaniach narzędzi, a następnie co 25 wywołań.

  4. Podczas pracy z Claudem obserwuj sugestie pojawiające się przed użyciem narzędzi Edit lub Write. Kiedy skrypt zasugeruje kompresję, przeczytaj wskazówkę i sam zdecyduj, czy chcesz wykonać /compact.

  5. Stosuj kompresję strategicznie: po sfinalizowaniu planu, po rozwiązaniu błędów, lub przed przejściem do zupełnie innego zadania. Unikaj kompresji w środku implementacji powiązanych zmian, aby nie stracić ważnego kontekstu.

  6. Pamiętaj, że sugestia to tylko przypomnienie – Ty kontrolujesz, kiedy faktycznie skompresować kontekst. Czytaj komunikaty hooka, aby zrozumieć, dlaczego umiejętność uważa dany moment za odpowiedni.

Related skills

docker-containerization

by openclaw

This skill should be used when containerizing applications with Docker, creating Dockerfiles, docker-compose configurations, or deploying containers to various platforms. Ideal for Next.js, React, Node.js applications requiring containerization for development, production, or

DevOps
1334

draw-io

by davila7

draw.io diagram creation, editing, and review. Use for .drawio XML editing, PNG conversion, layout adjustment, and AWS icon usage.

DevOps
1693

cloudflare-manager

by qdhenry

Comprehensive Cloudflare account management for deploying Workers, KV Storage, R2, Pages, DNS, and Routes. Use when deploying cloudflare services, managing worker containers, configuring KV/R2 storage, or setting up DNS/routing. Requires CLOUDFLARE_API_KEY in .env and Bun

DevOps
20122

file-organizer

by ComposioHQ

Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.

DevOps
1399

pmbok-project-management

by jgtolentino

Comprehensive PMP/PMBOK project management methodologies and best practices. Use this skill when users need guidance on project management processes, templates, knowledge areas, process groups, tools, techniques, or certification preparation. Covers all 10 PMBOK Knowledge Areas

DevOps
21133

senior-data-engineer

by davila7

World-class data engineering skill for building scalable data pipelines, ETL/ELT systems, and data infrastructure. Expertise in Python, SQL, Spark, Airflow, dbt, Kafka, and modern data stack. Includes data modeling, pipeline orchestration, data quality, and DataOps. Use when

DevOps
1268