claudetto-sessions

by xsyetopz · ★ 3 · updated yesterday

GuardsCommandsAutomationvalidates

0

Measures the start of a Claude Code session by source, and the usage of each run: model calls, context that each call reads again, and skills that a period did not use.

install claudetto-sessions

Install

/plugin marketplace add xsyetopz/dotclaude
/plugin install claudetto-sessions@claudetto

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
command.runsession.measuresession.starttool.call
API calls
$.fs.read$.process.run$.session.id$.session.identity$.state.get$.state.set$.store.get$.store.set$.ui.log
Can see
every tool call
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processesreads filespersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/xsyetopz/dotclaude
Path in repo
plugins/claudetto-sessions
Source commit
305546a the exact code the scan read
Author
@xsyetopz
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from xsyetopz/dotclaude

claudetto

xsyetopz/dotclaude

Adds a lean output style, six role agents, and a status line command. Adds hooks that check edits and git calls, bound the context of subagents, and check Markdown line breaks and drift.

★ 3Status lineGuardsCommands

claudetto-browser

xsyetopz/dotclaude

Drives a browser with agent-browser, or with CloakBrowser on sites with bot detection when the user chooses it. With the cloakbrowser backend, answers each WebSearch call that the permission rules allow with a search in CloakBrowser, and needs its binary.

★ 3GuardsAutomation

claudetto-codegraph

xsyetopz/dotclaude

Gives Claude the code graph of a project from the CodeGraph CLI codegraph. Syncs the index at session start, after an edit, and after a git command that changes the tree. Adds one line about the graph commands at session start.

★ 3GuardsAutomation

claudetto-you-should-know

xsyetopz/dotclaude

Shows one thing that you should know before Claude changes something, in a band above the prompt that does not stop the change. Opt-in. Makes at most one model call per turn: a Haiku call, or a fork of the conversation when the Haiku call gets HTTP 429.

★ 3BandsGuards

dcc-plugin-agents-md

xsyetopz/dotclaude

Loads AGENTS.md files where Claude Code loads CLAUDE.md: the user folder, each ancestor of the working directory, nested folders on each read or edit, and the folders of permissions.additionalDirectories. Skips a file that a CLAUDE file already loads.

★ 3GuardsPromptAutomation