anthill 🐜
A Claude Code plugin that docks an ASCII ant colony beside your session.
Your project's file tree grows out of the anthill, and every agent is an ant
crawling its branches:

- Read / Edit / Grep / Glob: the ant walks to that file or directory and works on it.
- Write to a new file: the ant walks there and builds the new branch, piece by piece.
- Ants climb out of the hole on top of the anthill and crawl down its side onto the tree. When the tool call finishes, the ant climbs back up and into the hole, where its antennae peek out until its next job. A subagent's ant leaves the colony when its work is done — and also when the subagent itself stopped, failed or was killed, even with no final turn to say so.
- Bash, WebSearch, an MCP tool, or just thinking (no file to point to): the ant stays inside the mound, shown as a small dot of its own color digging through the mound's body along a winding tunnel, so it never looks as idle as a truly resting ant. What it digs changes the mound until it next resets (see below): packed red tunnel walls, nursery chambers of larvae, roots, and fungi that sprout and grow the longer the colony works.
- A tool call that errors or gets denied: the ant stumbles, dropping its load and heading home, and the file's row flashes — both fade after a few seconds. A path that turns out not to be on disk (a Read of a missing file, a denied Write of a new one) is then removed from the tree, so failed calls leave no fake rows.
/compact: the ants refactor the anthill. Workers haul the grown hump away and pack the mound tight, filling in its tunnels, while the file tree folds up under a live "folding its memory" header. It's paced to last about as long as the compaction itself: the more context there is to fold, the slower they go, and the anthill times each compaction to pace the next one better. Once it resolves, the header says how many messages were folded into how many, and the tree unfolds again.
- The mound itself grows as your context window fills, one step every 5% — a second hump rises beside it and spills over near the auto-compact threshold, and the tunnels dig on into it — then returns to its original shape once the conversation is compacted or cleared.
- Click an ant: a brief, cheerful acknowledgement, and a toast of what it's doing right now (which file, or idle). Click the mound: a brief flinch where you clicked. Neither leaves a mark, and after a click lands the next one is ignored for 3 seconds. Poke the mound more than 10 times within a minute and the ants come out of the hole and dance on top of it in a shower of confetti — once every 10 minutes at most (in quiet mode you just get the toast). Clicking only works while the pane is docked in a fullscreen terminal — not in the strip, and not on a narrow terminal's inline pane, since that's the one place a terminal reports clicks at all.
Each agent gets its own color. Each model gets its own body:
| model | ant |
|---|
| haiku | tiny worker |
| sonnet | medium worker |
| opus | big armoured soldier |
| fable | winged queen |
Install
/plugin install anthill --marketplace Lucas-Servi/anthill
It may say one option isn't set yet: that's the Animation setting (see Configure),
which already defaults to full, so there's nothing to do.
Already installed and want the latest version? claude plugin update only
installs a newer version if plugin.json's version field actually changed,
so:
/plugin marketplace update anthill
/plugin update anthill@anthill
then restart Claude Code (or start a new session) to pick it up.
To remove it: /plugin uninstall anthill@anthill.
Requirements
- Claude Code 2.1.300 or 2.1.301 (what it's tested on). It's built on Claude Code's
plugin hooks API, which is early access and can change between releases: after
updating Claude Code, update anthill too.
- A terminal with 24-bit color.
- Clicking the ants and the mound needs the fullscreen layout with the pane docked:
that's the only place a terminal reports clicks. Everything else works in the
inline pane and the strip too.
Use
The pane opens by itself when the terminal is at least 144 columns wide. At any
width, type /anthill to open it.