reaatech/agent-eval-harness/trajectory-eval

Claude Code and agent skill by reaatech/agent-eval-harness

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install reaatech/agent-eval-harness/trajectory-eval

SKILL.md

The same SKILL.md was published earlier as reaatech/agent-eval-harness/trajectory-eval.

Skill: Trajectory Evaluation

What It Is

Trajectory evaluation assesses the quality of complete agent executions — multi-turn conversations with tool invocations and task completion. Unlike single-turn evaluation, trajectory evaluation considers conversation coherence, goal completion, and turn-by-turn quality.

Why It Matters

  • Holistic Quality — Single-turn metrics miss conversation-level issues
  • Goal Completion — Did the agent actually solve the user's problem?
  • Coherence — Does the conversation flow logically?
  • Regression Detection — Catch quality degradation across releases

How to Use It

CLI: Evaluate a Trajectory
bash
# Single file
npx agent-eval-harness eval trajectories/run-001.jsonl --output results/
# Multiple files (glob)
npx agent-eval-harness eval trajectories/*.jsonl --output results/
# With golden comparison
npx agent-eval-harness eval trajectories/run-001.jsonl \
--golden golden/password-reset.jsonl \
--output results/
Programmatic: Evaluate a Trajectory
typescript
import { loadFromFile, evaluate, compare } from '@reaatech/agent-eval-harness';
// loadFromFile returns Trajectory[]
const trajectories = await loadFromFile('trajectories/run-001.jsonl');
for (const trajectory of trajectories) {
// evaluate() is synchronous, returns EvalResult
const result = evaluate(trajectory, {
checkCoherence: true,
checkGoalCompletion: true,
analyzeFlow: true,
});
console.log(`Overall Score: ${result.overall_score}`);
console.log(`Goal Completed: ${result.goal_completed}`);
}
Compare Two Trajectories
typescript
import { compare } from '@reaatech/agent-eval-harness';
const diff = compare(goldenTrajectory, candidateTrajectory);
console.log(`Similarity: ${diff.similarity}`);
console.log(`Turn diffs: ${diff.turnDiffs.length}`);

Key Metrics

MetricDescriptionRange
overall_scoreCombined quality score0-1
coherenceConversation flow quality0-1
goal_completionTask completion rate0-1
turn_qualityAverage per-turn quality0-1

Best Practices

  1. Use JSONL format — One turn per line for easy streaming
  2. Include timestamps — Required for latency analysis
  3. Add tool results — Essential for tool-use validation
  4. Compare against golden — Detect regressions early
  5. Track trends — Monitor quality over time

Common Pitfalls

  • Missing required fields — Ensure turn_id, role, content, timestamp
  • Incomplete tool calls — Always include arguments and results
  • No goal definition — Define success criteria for each scenario
  • Ignoring coherence — Multi-turn quality ≠ average of single-turn quality

Related Skills

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/reaatech/agent-eval-harness/trajectory-eval/badge)](https://verified-skill.com/skills/reaatech/agent-eval-harness/trajectory-eval)

Something wrong with this skill or its page? Tell us.