From langchain-skills
Builds and runs Harbor evals for agent repositories by inspecting code, interviewing users, and iterating on eval tasks one at a time.
How this skill is triggered — by the user, by Claude, or both
Slash command
/langchain-skills:eval-engineeringThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Build evals iteratively:
Build evals iteratively:
inspect agent and interview user -> propose directions -> user chooses
-> approve runtime and environment -> build, run, audit -> review and repeat
Use the latest version of Harbor. Put task source under evals/. Read references/harbor.md before creating or running a task.
Inspect the active agent and code reachable from its public entrypoint. Find:
Mapping is read-only. Do not start the target or services, install packages, or use external credentials before the user approves the runtime and environment.
Summarize the map in the conversation:
Agent: target and entrypoint
Purpose: users and jobs
Abilities: work it is expected to perform
Tools and data: actions, backing data, and dependencies
Effects: reads, writes, and state changes
Evidence: tests, failures, or traces
Use code to model the agent; do not turn implementation details into the eval question unless answering questions about that code is the agent's job.
Keep the user involved: explain the map and what it implies in plain language, then ask only for information the repository and traces cannot establish. For example: “Which user job matters most?”, “What failure should never happen?”, or “What would a good result look like?”
Use traces only when the user provides a source or asks to use them. Read references/trace-sourcing.md. Use selected traces to identify real requests and dependency behavior, and never treat a recorded target answer as truth.
Propose two or three capabilities grounded in the map. For each, give:
Name
Example request: realistic request sent to the agent
Tests: behavior the eval distinguishes
Needs: main obstacle, data, or environment requirement
Example:
Name: choose the right account lookup
Example request: “What plan is account A on?”
Tests: retrieves account A, uses the returned plan, and does not invent account details
Needs: a read-only account lookup with known records
Recommend one and ask the user which to build. The request must make the agent exercise the capability: use multiple turns for context use, competing tools for tool choice, source material for retrieval, or known state for an action.
Do not implement until the user chooses.
Read references/task-design.md and references/environment-building.md. Design one scenario that requires the selected capability.
Recommend a target runtime:
Before implementation, give the user one proposal under 150 words:
Task: request and capability
Runtime: active entrypoint or reconstruction, with tradeoff
Dependencies and backing data: live, frozen, or simulated; required credentials if live, effects, and source/version
Success: how the result is judged
Recommendation: preferred setup and why
The user approves or revises the target runtime and environment boundary. Never write to production; isolate mutations.
Create one task for the selected capability:
evals/<task-id>/
├── task.toml
├── instruction.md
├── environment/
└── tests/
Add an adapter or non-default configuration only when Harbor needs it to invoke the approved target runtime. Keep instructions and environment facts visible to the target; keep expected outcomes, judge criteria, and judge credentials unavailable to it.
An adapter may translate I/O and inject approved dependencies. It must not make target decisions, contain answers, or fabricate actions. Custom adapters and verifiers must write the target response/action record, verifier evidence, verdict/reason, reward, and errors to Harbor artifacts or verifier logs. Do not add audit.json or another result ledger.
Use an LLM judge for semantic success and deterministic checks for execution, parsing, files, or state. Read references/verifier-design.md. Emit one primary reward.
Start the minimum environment before completing the scenario. Test the verifier directly with one clearly valid result that passes and one realistic incorrect result that fails.
Run the approved target runtime through Harbor. Inspect:
Fix and rerun when the task is unclear, the environment is unrealistic, the verifier is wrong, or infrastructure failed. Before approval, confirm that the target exercised the selected capability and the verifier scored that behavior, not an environment or verifier failure. If the environment returned the answer before the target used the intended tool, revise the task.
Explain the task path and run command, capability and scenario, runtime and dependency boundary, target behavior, verifier decision, and limitation. Ask the user to approve, revise, drop, or choose the next direction. If continuing, reuse the map and trace findings, then propose a distinct capability.
evals/.npx claudepluginhub langchain-ai/langchain-skills --plugin langchain-skillsBuilds AI agent evaluations using Anthropic patterns: code/model/human graders, tasks, trials, benchmarks for coding, conversational, research agents.
Builds evaluation frameworks for agent systems including multi-dimensional rubrics, LLM-as-judge methods, and token-budget-aware testing.
Build evaluation frameworks for agent systems. Use when testing agent performance systematically, validating context engineering choices, or measuring improvements over time.