skills/ASI-context-window-mgr/SKILL.md
Context window lifecycle management — monitors token usage, triggers compression when approaching limits, manages conversation summarization, and preserves critical context across compaction boundaries. USE WHEN: "context getting long", "compress conversation", "summarize session", "token budget".
npx skillsauth add ariffazil/openclaw-workspace ASI-context-window-mgrInstall 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.
Model context windows are finite (128k-200k tokens). Long sessions, large codebases, and multi-organ evidence accumulate until the window fills. This skill manages the lifecycle: monitor → warn → compress → compact → restore.
{
"session_id": "...",
"compacted_at": "timestamp",
"token_count_before": 150000,
"token_count_after": 30000,
"summary": "compressed session narrative",
"must_keep": ["task intent", "floor state", "active blockers"],
"dropped": ["resolved errors", "completed steps"],
"provenance": "compacted by ASI-context-window-mgr"
}
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.