All Claude Code modslucastononro/cc-traj-seg
cc-traj-seg
Trajectory segmentation for long Claude Code sessions: every N steps a model of your choice (haiku by default) reads the previous segments and the last 40 steps and either adds a segment of what Claude is doing now and the path it is on, amends the current one, or stays quiet. Cards in a pane on the right, each with an X. Needs Claude Code 2.1.289 or later.
cc-traj-seg reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 7
- API methods referenced: 17
- Access from classified calls: L2, writes or runs: writes files, drives Claude, reads files, reads env vars, reads the transcript, persists state, draws
- Static scan, not a runtime test
Install hint
/plugin install cc-traj-seg --marketplace lucastononro/cc-traj-segFrom the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runswrites files, drives Claude, reads files, reads env vars, reads the transcript, persists state, drawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- every tool call
- Hooks
session.start, command.run {command=traj}, ui.close {id=traj}, ui.close {id=traj-steps}, ui.close {id=traj-btw}, ui.close {id=traj-settings}, ui.close {id=traj-edit}, ui.message, tool.call, turn.complete, ui.render {component=Pane, requestId=traj}, ui.render {component=Pane, requestId=traj-steps}, ui.render {component=Pane, requestId=traj-btw}, ui.render {component=Pane, requestId=traj-settings}, ui.render {component=Pane, requestId=traj-edit}- API calls
$.clock.now, $.command.register, $.env.get, $.fs.read, $.fs.write, $.model.complete, $.session.id, $.session.messages, $.session.usage, $.store.get, $.store.set, $.ui.close, $.ui.invalidate, $.ui.log, $.ui.open, $.ui.resolve, $.ui.toast- Surface modules
hooks/editor.tsx- Validation on 2.1.302
- Passed
- Scanned revision
6c3f4a6adc40- Marketplace passed
- cc-traj-seg
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/lucastononro--cc-traj-seg--cc-traj-seg/)
[](https://mods.aidojo.si/mods/lucastononro--cc-traj-seg--cc-traj-seg/)