wrg32786/aigent-os

Claude Code harness and alternative to context compaction: at 80% context it writes a verified capsule, runs /clear and resumes with persistent memory in git. Long-running and multi-agent Claude Code sessions, auto clear instead of auto-compact. MIT, local, Node 18+. Codex adapter.

This repository also configures its own agents. See what aigent-os tells them →

25Stars on the repository
89Mods indexed here, across every type
todayLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

context-capsule

01

wrg32786/aigent-os

Plugin Claude Code

Bundles 2 skills, 3 commands, 2 hooks · 175 tokens together

Write a resume-ready capsule of your session, then /clear or auto-compact and pick up exactly where you left off. Manual-trigger refresh: PreCompact marker with a post-compact reminder, SessionStart pointer on clear and compact, /capsule, /refresh and /resume. Zero dependencies, no network.

not rated 25 +2 today A tokens not measured original MIT