Claude Code that refreshes its own context instead of compacting.
At a context threshold aigent-OS writes a verified capsule, runs /clear, and resumes in a fresh session. Memory is plain markdown in git, readable with git log. MIT licensed, runs locally, one install (Node 18+). Around that loop: a caddy that hands Claude the right skill, a crew of named specialists and memory guardrails.
Starring is how the next builder finds it. Star the repo
Clone it, read every file, run it: the same harness behind the four seats that run The AIgent.
Every repeated mistake becomes a guardrail.
A pantheon of named specialists you own and carry.
Same Claude. Enhanced output.
Think of it as a legal, packaged enhancement layer that turns a stock session into a high-performance operator. You keep the model you already pay for and add the system around it.
A caddy that surfaces the right one of about sixty skills at the exact moment it matters, so you are not the one remembering which tool to reach for. A learning loop that logs every repeated mistake into a durable guardrail, so the same wrong turn is far less likely to bite twice and the system gets sharper the more you run it. Body-state awareness that warns you when a session is running low on working memory before it costs you. A vault of notes and rules you commit to git like code, and a nine-specialist crew you own and carry across machines. Same Claude. Enhanced output. One install.
Built for builders who live in the terminal.
You run Claude Code — whether today is day one or day five hundred — and you want it operating like a system that remembers, not a blank assistant you re-brief every session.
You use Claude occasionally, or you want one single-purpose bot. This is the full operator system, not a one-trick agent.
The proof is that it runs a real business.
aigent-OS is the system that produces The AIgent newsletter every single day. Not a demo, not a template, a live operation. Here is one run.
8,328 subscribers every morning · a new issue shipped every single day · read the latest →
What the run is actually showing.
Managed Auto-Refresh. At a context threshold (80% by default) aigent-OS asks Claude to write a capsule, waits for one exact acknowledgement, sends a single /clear, confirms a genuinely new session started, and resumes from the capsule. No acknowledgement, no clear. It's in the v1.1.0-rc.1 pre-release, and a long session can still stall at the clear step and need a manual /clear while the fix is in review.
The caddy. You do not have to know which of about sixty skills fits the moment. It reads your task and surfaces the right one, right when it matters. You stop being the one who remembers the toolbox.
A filed Claude Code issue asked for exactly this: "the memory should function as a pre-action checklist, not just passive context." (anthropics/claude-code #37847)
The learning loop. Every repeated mistake becomes a guardrail. The system diagnoses the failure, writes the fix into a memory, a rule, a check, or a caddy trigger, and surfaces it before you hit the same wall again. The same wrong turn is far less likely to cost you twice, and it gets sharper the more you run it. It also keeps score on itself: honesty and trust ledgers measure how well its own calls hold up over time.
The operator system you'd otherwise wire by hand.
The core is genuinely ours: the caddy, the memory architecture, the agent roster. Bundled third-party skills are curated, each credited with its license in the included credits file. Read every file, then run it.
Read every file. Then run it.
The full aigent-OS is live and public: the caddy that surfaces the right skill in real time, the learning loop that writes every miss back as a rule, the committable vault you own across machines, and the routed crew. No server and no database. The default install needs Node.js 18+ for the refresh runner and local search. Clone it and preview the install first:
The dry run prints the planned changes and writes nothing. When the plan looks right, run bash install.sh in the same folder, open a new terminal, and run aigent.
Prefer chat? Open the cloned folder in Claude Code and say "install this": Claude runs the installer for you, then "set this up" starts the operator interview. It installs into whatever directory you already work in (your project, your home folder) and the installer wires Claude Code settings with your real paths. Prefer the lighter rung first? There is the starter operator-kit: a five-agent crew and an auto memory-loader so you stop re-explaining your project every session.
Stock Claude codes. Enhanced Claude operates.
Most kits ship skills and agents. The enhancement is what surrounds them: a caddy that surfaces the right rule and skill the moment it matters, and a learning loop that turns your mistakes into guardrails.
That is the difference between a folder of tools and an operating system. Every file is readable before you run it.
The honest answers.
Claude Code that refreshes instead of compacting.
One command to install, and it runs a real business every morning. The repo is live. Clone it now.
MIT-licensed. Every file readable before you run it.
Built by Will Gwyn. Four aigent-OS seats run the operations behind The AIgent, a newsletter with 8,328 subscribers.