agent-trace

by Krishnamurthy · ★ 8 · updated 16 days ago

PanesGuardsCommandsPromptwarnings

0

Prompt flow pane: every step after a prompt is sent, in order, colored by type, with tokens, cost and failures

install agent-trace

Install

/plugin marketplace add krika2810/agent-trace
/plugin install agent-trace@agent-trace

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
session.startsession.endcommand.runprompt.submitturn.startprompt.composeturn.stepagent.spawntool.checkclassic.PostToolUseclassic.PostToolUseFailuretool.callturn.completesession.compactsession.appendui.render
API calls
$.clock.now$.command.register$.env.get$.fs.exists$.fs.read$.fs.write$.process.run$.session.id$.session.messages$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.set$.ui.copy$.ui.open$.ui.resolve$.ui.toast
Draws
Pane
Can see
every promptsubagent spawnsclassic hooksevery tool callcompaction
Reach
level 2 of 3 runs processeswrites fileswrites the clipboardreads filesreads env varsreads the transcriptreads mod statepersists 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/krika2810/agent-trace
Path in repo
repository root
Source commit
797feb2 the exact code the scan read
Author
Krishnamurthy @krika2810
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.