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 JudgmentLabsv0.3.1Apache-2.0In 1 marketplace
Send Claude Code sessions to Judgment.
Claude loads one when your task matches it, or you run it by name.
2 cautions to review before installing
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
judgment, judgeval, tracing, observability, opentelemetry, coding-agent
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
This plugin sends a Claude Code session to Judgment when the project opts in. Install it, then follow the project setup in the repository README.
Add this repository as a plugin marketplace, then install the plugin:
claude plugin marketplace add JudgmentLabs/judgeval-coding-agent
claude plugin install judgment-tracing@judgment-tracing
The marketplace file is .claude-plugin/marketplace.json. You can also install from /plugin inside Claude Code. See Marketplace reference.
Start a new Claude Code session after installing. Hooks from a plugin load with that session. To try the plugin for one session without installing it, run claude --plugin-dir <clone>/claude-code from a clone of this repository.
claude plugin marketplace update judgment-tracing && claude plugin update judgment-tracing@judgment-tracing
The first command fetches the latest release, and the second installs it. The update takes effect in the next session.
Claude Code treats a line that starts with / as a slash command. /judgment off is not a command, so it never reaches the tracing hook. The plugin registers three skills. Type one of these:
/judgment:off
/judgment:on
/judgment:status
The hook blocks the skill, so Claude Code does not run it as a prompt. The reply is the tracing state for this conversation only. A leading space before /judgment off also reaches the hook, because Claude Code does not treat that line as a command. The skill form is the one to use.
Skill names in a plugin keep the plugin prefix. See Slash commands.
| Field | Where it comes from |
|---|---|
| Prompt | UserPromptSubmit prompt |
| Final answer | Stop last_assistant_message |
| Tool arguments and result | PostToolUse tool_input and tool_response |
| Failed tool | PostToolUseFailure error |
| Model name | SessionStart model, then PostModelSwitch to_model |
| Subagent text | SubagentStop last_assistant_message |
| Subagent tokens | PostToolUse on Agent, tool_response.usage |
tool_response.usage is the subagent's final request only. totalTokens on that result is the same request, not the whole subagent run. The main turn's hook payloads do not include token counts. After the turn is spooled, the exporter reads transcript_path. Each API request becomes one model span. Rows that share a message id or a request id are one request, including parallel tool calls split across rows. Model and usage come from the row that has them, and a tool call is stored once. A tool result is not a new user prompt, so later requests in the same turn are included. When a row has a timestamp, the span uses it. That read is not on the hook path. A background subagent that finishes after Stop is exported again with the same span ids. The root is claude-code turn. That resend includes the root, with judgment.update_id, so its start and end cover the children. The same judgment.session_id on every span groups the traces from one conversation. Each subagent request is read from subagents/agent-<id>.jsonl next to the session transcript, or from agent_transcript_path on SubagentStop. A SubagentStop with an empty agent_type and no matching Agent tool or SubagentStart is an internal fork, such as a prompt suggestion, and is ignored.
Tool calls inside a subagent include agent_id on PostToolUse. Those tool spans are children of the subagent span.
Assistant tool_use blocks and the following tool_result rows become the tool calls on that model span and the context of the next one. The trace root is claude-code turn. A later subagent flush sends that root again with judgment.update_id so its end time covers the new children.
Hook reference: Claude Code hooks.
This runs the plugin from a clone of this repository at ~/judgment-tracing, without installing it:
git clone https://github.com/JudgmentLabs/judgeval-coding-agent.git ~/judgment-tracing
Use a temporary git repo, not a repo you care about.
mkdir /tmp/judgment-claude && cd /tmp/judgment-claude
git init
export JUDGMENT_API_KEY=<your-api-key>
export JUDGMENT_PROJECT_ID=<your-project-id>
mkdir -p .judgment && printf '{"enabled": true}\n' > .judgment/tracing.json
claude --plugin-dir $HOME/judgment-tracing/claude-code -p "Read README.md if it exists, then run ls"
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 judgmentlabs/judgeval-coding-agent --plugin judgment-tracingPlugins from other owners that cover similar ground