About judgment
Judgment is an agent-development skill for instrumenting applications, evaluating outputs, testing agent changes, and consulting current documentation. It emphasizes tracing real execution paths and choosing scorers suited to each evaluation.
Key features
- 01Application tracing guidance
- 02Evaluation setup and scorer selection
- 03OfflineTracer agent testing
- 04Python Code judge guidance
- 05Judgment documentation references
Use cases
- 01Adding tracing to an application
- 02Evaluating agent outputs with suitable scorers
- 03Testing model or prompt changes offline
- 04Creating deterministic Code judges
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ judgmentlabs/ skills --skill judgmentAfter installing, type/judgmentin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/agent-testing.mdcode-judges.mddocs.mdevaluations.mdtracing.mdDetails
From the project READMEJudgment
This skill helps you use Judgment effectively across common agent development workflows: instrumenting applications, evaluating outputs, creating Code judges, and looking up current Judgment docs.
Core Principles
Follow these principles for all Judgment work:
- Docs first: Fetch current Judgment docs and refer to reference files before implementing SDK patterns from memory.
- Instrument the real path: Add tracing to the functions, tools, and LLM calls the app actually executes.
- Tracing first for integrations: When the user asks to add Judgment to an app, start with references/tracing.md unless they explicitly ask for evaluations or Code judges.
- Stay on the tracer surface: In most cases, use Judgment's tracer, wrappers, and documented integrations directly. Do not reach into underlying provider objects or create additional wrapper layers unless the current docs require it or a real instrumentation gap remains after using the supported integration.
- Start small: For evaluations, begin with a focused example set and one scorer before expanding.
- Use the right scorer: Use Agent judges for rubric-based judgment and Python Code judges for deterministic logic, custom dependencies, or trace inspection.
- Keep credentials out of chat: Ask the user to set
JUDGMENT_API_KEYandJUDGMENT_ORG_IDlocally rather than pasting secrets. - Use offline agent tests before production changes: For model, prompt, tool, or agent config changes, pull a stable dataset, collect fresh
OfflineTracertraces for each input, then evaluate the generated offline examples in one batch. If the production agent is already traced with Judgment, leave that tracing intact and swap only the test harness initialization toclient.offline_tracer(...).
Use Case References
- Adding or auditing tracing: references/tracing.md
- Creating evaluations and choosing scorers: references/evaluations.md
- Testing agent changes with OfflineTracer: references/agent-testing.md
- Creating Python Code judges: references/code-judges.md
- Using Judgment docs and SDK references: references/docs.md
Comments
Markdown supported