skills/FORGE-context-compressor/SKILL.md
Compress oversized logs, transcripts, diffs, and telemetry before they exceed a host runtime context budget while preserving provenance and recovery
npx skillsauth add ariffazil/openclaw-workspace FORGE-context-compressorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Cross-runtime compression gate for FORGE-* tools and AGI-* long-log producers. Used when raw input would exceed the host runtime's context budget.
forge_execute_sealed if chain is densecompress:
- strategy: rolling_window | semantic_chunks | bsdiff | paged_attention
chunk_size: tokens | lines | bytes
overlap_pct: number (0..50)
retention: verbatim | summary | pointer
provenance:
original_sha256: 12-char-prefix
compressor: <which>
captured_at: ISO-8601
| Strategy | When |
|---|---|
| rolling_window | conversation stream — keep last N tokens verbatim, drop the rest to pointers |
| semantic_chunks | narrative + structured — chunk on discourse markers, embed each |
| bsdiff | code diffs — keep delta fields, drop noise (whitespace-only hunks) |
| paged_attention | mixed modal — paginate by scene/section, keep anchors |
If the compressor's output raises ΔS on re-decode:
rsi_reason: "context_compression_too_aggressive" + flag in next agentGrok Build 4.3 (FI-010) has 256K context. Pre-flight:
forge_filesystem_stat.rsi_reason: "would_exceed_context" and HOLD.Distinct from AGI-emd-encode (intake contract, witness readiness) and AGI-emd-metabolize (memory promotion). Compressor operates between observation and encode — it shrinks the substrate so encode can attach witnesses without exceeding context.
DITEMPA BUKAN DIBERI.
testing
OpenClaw edge agent bridge — operational triage, doctor, restart, and A2A bridge routing for the federation edge (Telegram surface). USE WHEN: "openclaw unhealthy", "gateway down", "edge bot not responding", "a2a bridge disconnected", "watchdog tripped", "openclaw doctor", "openclaw restart". NOT for token/security audit — use FORGE-telegram-audit.
tools
Generate images, videos, TTS, voice clone, and music via MiniMax MCP server. Use when user asks to "draw", "generate image", "create picture", "make a photo", "text to image", "image generation".
testing
Single load-bearing constitutional-judgment skill. Routes all F1–F13, verdict, hold, seal, scope, authority and floor-check calls through the live arif_judge surface. Replaces 7 overlapping predecessors (arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge).
development
MANDATORY LSP grounding gate BEFORE any code mutation on .ts, .py, .js, .tsx, .jsx files. Forces the agent to read real-time compiler diagnostics and structural project context before editing — eliminating blind guesses and anchoring every mutation in F2 (TRUTH). Routes through arifOS kernel (:8088) for centralized gate logic.