Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By jgwillv0.1.57In 1 marketplace
Saves every Claude Code session on a host to disk, so token counts and session history stay reviewable and agents can be restored after a crash. Hooks run on every event and record your prompts; remove the hooks block from settings.json after installing, or each event is written twice.
You run one by typing its /name in Claude Code.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Session capture for Miadi hosts, as a Claude Code plugin. Install it once on a host and every
Claude Code session there is captured. Nobody edits settings.json by hand.
jgwill/miadi-orchestration-kit#56.
<root>/<session_id>/, the layout the token
counter, the /token-usage page and the session observers read.<root>/data/terminal_bindings.jsonl and to the session's own _terminal_binding.jsonl. The line holds the session id, the tmux
session:window.pane and pane id, the agent's command line, its name and name history, and
its team, the chronicle episode it works in, and the miadi-run mission that started it (the
pinned tracing prompt and its trace, from the seat's prompt that names the mission's
prompt.md, or from MIADI_RUN_MISSION). Since 0.1.26 it also holds account_person, the
person on the wheel the local account acts for (MIADI_ACCOUNT_PERSON, else
~/.miadi/person.env, jgwill/Miadi#887). tmux restore and tide agents restore read
these lines to bring agents back._transcript_final.jsonl, and only at the
turn's end. Each one is now written to images/<message_uuid>/<NN>-<name> in the session
folder, one folder per transcript line, with a line in _claude_images.jsonl: prompt id,
message uuid, the start of the prompt's text (prompt_text), how many of the person's lines
carry that prompt id (prompt_lines), position, media type, bytes, sha256, kept_from and
read_from. A reader joins an image to its prompt by id and text, because one id can sit on
many lines: a forked session's copied history carries one id on every copied prompt.
~/.claude/uploads/<session_id>/ while it exists, found through the inlined_image_paths
attachment and the attachments between it and the prompt's line. The transcript copy may
be downscaled for the model (the 14th of 14 photos on 2026-11-19: 357,156 bytes uploaded,
234,840 in the transcript). A pasted image has no original and is decoded from the
transcript, strictly: base64 the secret sanitizer changed in the archived copy is listed
with that reason, not written as broken bytes..images.state
takes the transcript's mtime from the start of each pass, and two builtin -nt tests
compare them. Reading the 38 MB transcript takes 2 s. Measured on gaia, 2026-11-19: the
first 0.1.52 sweep took 218 s with the archive, and the image check over 645 unchanged
sessions now costs no process.images/<prompt_id>/, 0.1.50 and 0.1.51) is moved to
images/v1/ with its index, never deleted, and captured again. A session started before
0.1.52 keeps its loaded hooks and may add layout 1 lines until it restarts. The reader
takes both.python3. tests/user-images.sh, 33 checks. Found by an adversarial review of
0.1.50: originals skipped in 24 of 42 uploads, fork images overwritten, slash-command
images dropped, a 165 s sweep.stc-workspaces.json maps to a working
directory is not written, committed or pushed from its second clone under the auto-clone
root (/workspace/repos on gaia). hooks/workspace_clone_guard.sh refuses and names the
working directory. It reads $MIADI_SRC/config/stc-workspaces.json, so a host without a
Miadi checkout gets the capture and no guard. jgwill/workspace#60. Since 0.1.48 a mapped
folder counts as the working directory only when it is a git checkout: on eury /src/Miadi
is a folder of another repository, and the only jgwill/Miadi clone there was refused.<root>/<session_id>/ was already
redacted, but a credential printed in a tool's output reaches the model and Claude Code's
own transcript before any hook runs, and Claude Code lets a hook replace only an MCP tool's
output. Since 0.1.31 the alert says only what it knows. When the output holds the value of
a credential this host holds (a variable in the session environment named *TOKEN*,Plugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub jgwill/miadi-orchestration-kit --plugin miadi-session-observability