# more
Reference
This page covers the statusline, the files under ~/.monot/, how to turn Monot off or remove it, and how to work on Monot.
Statusline
On each prompt, Monot writes one line, such as recall 3 · 4 ms, to ~/.monot/status/<session_id>. The line has two numbers:
- The first number is the total of memories and handoff records that Monot injected in this session so far.
- The second number is the time that Monot took on the last prompt, in milliseconds.
Monot injects nothing for a task notification or for a prompt inside a subagent. A task notification is the message that Claude Code sends to itself when background work finishes. A subagent is a helper agent that Claude starts for one part of the work. For these prompts, the line shows skipped in place of the time, such as recall 3 · skipped. The total stays the same.
The total starts at 0 in each new session. /clear starts a new session with a new session ID, so the total starts at 0 again. A compaction or a resume keeps the session ID, so the total continues. In a compaction, Claude Code replaces the earlier part of the conversation with a summary. In a new session, the line is empty until the first prompt.
Claude Code sends the session data as JSON to your statusline script on standard input. The two lines below expect that your script already saved that JSON in the variable input, for example with input=$(cat). To show the line, add these two lines to your own statusline script:
sid=$(printf '%s' "$input" | jq -r .session_id)
monot=$(cat "${MONOT_HOME:-$HOME/.monot}/status/$sid" 2>/dev/null)Then print $monot where you want the text to appear.
Where things live
Monot keeps all its files under ~/.monot/. To use a different folder, set MONOT_HOME.
| Path | What it holds |
|---|---|
repos/<host>/<owner>/<repo>/ | It holds Monot's facts for that repo. |
repos/<host>/<owner>/<repo>/handoffs/ | It holds one handoff record per branch. Its retired/ folder holds the retired records. |
repos/<host>/<owner>/<repo>/claude-md-suggestions.md | It holds rules that you can copy into CLAUDE.md. |
global/ | It holds the global memories, which every repo may recall. |
index.db | It is the index. You can delete it at any time. |
log/monot.jsonl | It holds one line per event. Extraction runs and picks also log their tokens and cost here. |
status/<session_id> | It holds the statusline text for that session. |
picks/<session_id>/ | It holds the pick results of that session. Monot deletes it when the session ends. |
extract.toml | It holds the extraction and pick settings. Monot writes it when a session starts and the file is missing. |
Disable or remove Monot
To disable Monot for one session, start Claude with MONOT=0 claude. This stops every Monot hook for that session. Monot adds no memory or handoff record to Claude's context, writes no handoff record, starts no pick and does not add the session to the list of sessions that wait for extraction. The MCP tools still answer when Claude calls them, so Claude can still read, store and delete memories. If you resume an earlier session this way and that session is already on that list, a worker that another session starts can still extract it, new turns included.
Monot always skips headless sessions. A headless session is one that claude -p starts, with no person who types. The MCP tools still work in a headless session, because they run only when Claude calls them.
To remove Monot completely, run the three commands below. The last command deletes the whole folder that MONOT_HOME names if you set it, else ~/.monot. It deletes every fact, handoff record and setting that Monot wrote there, and also any other file in that folder. You cannot undo it. So look into the folder before you run the command. If the folder is a symlink, the command removes only the link, and you must also delete the folder that the link points to.
claude plugin uninstall monot@monot
rm ~/.local/bin/monot
rm -rf "${MONOT_HOME:-$HOME/.monot}" # every fact, handoff record and setting Monot wroteThe rm command does not delete Claude Code's built-in memory. Monot never writes there.
Working on Monot
cargo test # Runs the unit tests and the hook tests of the binary.
cargo build --release # Builds target/release/monot, which the harness tests run.
python3 eval/test_harness.py # Runs the tests of the eval harness itself.Run cargo build --release before the harness tests. Without target/release/monot, the harness reports the tests that need the binary as skipped.
GLOSSARY.md defines the words that these docs use, such as handoff record, pointer, gate and extraction.
Sponsor
You can support the work on Monot through GitHub Sponsors.
License
Monot uses the MIT license. The text is in LICENSE. third_party/gitleaks/ holds the default rules of gitleaks v8.30.1. These rules also use the MIT license. Its text is in the same folder.