Toolverse
All skills

sophie-optimizer

by openclaw

Automated context health management for OpenClaw. Monitors token usage, snapshots memory, and resets sessions to maintain performance. Authored by Sophie.

Installation

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

Installation

Quick info

Author
openclaw
Category
Security
Views
1

About this skill

Automated context health management for OpenClaw. Monitors token usage, snapshots memory, and resets sessions to maintain performance. Authored by Sophie.

How to use

  1. Upewnij się, że masz dostęp do katalogu instalacji OpenClaw (domyślnie /home/lucas/openclaw/skills/sophie-optimizer/) oraz że Python 3 jest zainstalowany w systemie.

  2. Uruchom skrypt optymalizatora ręcznie z wiersza poleceń: python3 /home/lucas/openclaw/skills/sophie-optimizer/optimizer.py. Skrypt sprawdzi bieżące zużycie tokenów sesji głównej.

  3. Jeśli liczba tokenów jest poniżej 80 tys., skrypt zakończy pracę bez zmian. Jeśli przekroczy ten próg, przejdź do następnego kroku.

  4. Narzędzie automatycznie tworzy archiwum bieżącego stanu kontekstu w formacie JSON w katalogu archives/ z nazwą zawierającą datę i godzinę (format YYYY-MM-DD_HH-MM.json).

  5. Skrypt aktualizuje plik MEMORY.md, dodając nowe podsumowanie i zachowując trzy ostatnie wpisy, starsze zaś indeksuje dla przyszłych odniesień.

  6. Na koniec reset.sh wyczyszcza pliki sesji JSONL i restartuje usługę openclaw-gateway, przywracając sesję do stanu czystego. Aby zautomatyzować ten proces, dodaj skrypt do crona lub systemu heartbeat, aby uruchamiał się regularnie bez Twojej interwencji.

Related skills

google-analytics

by davila7

Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements. Use when the user asks about analytics, website metrics, traffic analysis, conversion rates, user behavior, or performance optimization.

Security
1260

accessibility-compliance

by wshobson

Implement WCAG 2.2 compliant interfaces with mobile accessibility, inclusive design patterns, and assistive technology support. Use when auditing accessibility, implementing ARIA patterns, building for screen readers, or ensuring inclusive user experiences.

Security
2173

typescript-review

by metabase

Review TypeScript and JavaScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing TypeScript/JavaScript code.

Security
17133

security-compliance

by davila7

Guides security professionals in implementing defense-in-depth security architectures, achieving compliance with industry frameworks (SOC2, ISO27001, GDPR, HIPAA), conducting threat modeling and risk assessments, managing security operations and incident response, and embedding

Security
1172

llama-cpp

by zechenzhangAGI

Runs LLM inference on CPU, Apple Silicon, and consumer GPUs without NVIDIA hardware. Use for edge deployment, M1/M2/M3 Macs, AMD/Intel GPUs, or when CUDA is unavailable. Supports GGUF quantization (1.5-8 bit) for reduced memory and 4-10× speedup vs PyTorch on CPU.

Security
11252

zendesk

by vm0-ai

Zendesk Support REST API for managing tickets, users, organizations, and support operations. Use this skill to create tickets, manage users, search, and automate customer support workflows.

Security
11100