Skills
Skill 7 of 22
Inspect an agent repository and optional traces, interview the user, write reviewed Task Specs, build and audit Harbor tasks, and bootstrap reusable project World Knowledge Skills.
9 minutes · 1,897 words · 12 sections
Install
npx skills add langchain-ai/langchain-skills --skill eval-engineeringnpx skills add langchain-ai/langchain-skills/plugin marketplace add langchain-ai/langchain-skillsThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
Task.md, and refine both until the user approves them.Task.md, which describes the input, relevant agent
conditions, Environment, scoring, fairness, and open decisions for one Task.Read each reference when its decision appears:
| Need | Read |
|---|---|
| Inspect source, traces, the Harness, dependencies, access, and existing evals | Discovery (opens in a new tab) |
| Bootstrap or update reusable project knowledge | World knowledge (opens in a new tab) |
| Propose Tasks and write the single Task Spec | Task design (opens in a new tab) |
| Build data, services, access, state, and reset | Environment building (opens in a new tab) |
| Create structured or natural-language data | Synthetic data (opens in a new tab) |
| Define independent evidence and scoring | Verifier design (opens in a new tab) |
| Apply Spec2Task to turn a reviewed Spec into an audited Task | Task implementation (opens in a new tab) |
| Compare model runs and classify failures | Calibration (opens in a new tab) |
| Package and run Harbor tasks | Harbor (opens in a new tab) |
| Adapt a known benchmark design | Benchmark patterns (opens in a new tab) |
| Build multi-turn conversations | Multi-turn simulation (opens in a new tab) |
| See World knowledge learned across two Tasks | Service-desk example (opens in a new tab) |
Reusable implementation resources:
$ref targetsReview every input the user provides before proposing a Task. Use the guidance that matches each available input:
Inspect the repository before asking questions that source and tests can answer. Follow the active Harness through prompts, models, tools, services, state, effects, and focused tests. Inspect existing Task instructions, parsers, Verifiers, reward paths, and run evidence.
If the user supplies traces, review complete runs or threads. Use traces to learn real requests, dependency behavior, state shapes, errors, and failure conditions. Do not treat a trace answer as independent truth.
If .agents/skills/<project>-world/SKILL.md exists, read it. Follow its routing
only for knowledge relevant to the current Task. Check cited repository paths,
commands, and scripts when their accuracy affects the design.
Read Task design (opens in a new tab) and use the index in Benchmark patterns (opens in a new tab) to find the relevant domain and source callouts. Focus on that domain unless the Task crosses another one. In the first user-facing design response after inspection, propose one Task grounded in repository evidence, supplied traces, existing coverage, or a human priority. State:
In the same response, show the relevant current World Skill content and the specific additions or corrections this Task suggests. If no World Skill exists, show the small initial contents that will help create this Task and future Tasks. Keep the Task’s exact request, focal records, expected result, hidden truth, and exact scoring rules out of the World Skill.
Let the user revise the Task proposal and World knowledge together before implementation. Offer alternatives only when a real user choice changes the design.
Copy the Task template (opens in a new tab) to
evals/<suite>/tasks/<task-id>/Task.md. Put all Task-specific design in this
one file. At the same time, create or update the project World Skill by
following World knowledge (opens in a new tab). Determine the
project skill location supported by the active agent and repository.
.agents/skills/<project>-world/SKILL.md and
.claude/skills/<project>-world/SKILL.md are common landing spots. Follow an
established project convention when one exists. Otherwise, explain the proposed
location and get user confirmation before creating the skill. Start from
the World Skill template (opens in a new tab) when needed.
Keep each Task.md beside the Harbor task it describes:
evals/<suite>/tasks/<task-id>/
├── Task.md # human-reviewed control-plane spec
├── task.toml # required Harbor configuration
├── instruction.md # required agent input
├── environment/ # required Environment definition and visible state
│ ├── Dockerfile # use this or docker-compose.yaml
│ └── docker-compose.yaml # optional; primary service must be main
├── tests/
│ ├── test.sh # required Harbor Verifier entry point
│ ├── test_*.py # optional Verifier helpers
│ └── fixtures/ # optional hidden Verifier data
└── solution/
└── solve.sh # optional reference pathNever copy or mount Task.md into the evaluated agent’s workspace or image.
The agent receives instruction.md and only the Environment state intended for
the run.
Include:
Show the full Task Spec and the World Skill changes to the user. Explain what
is already in the World Skill, what this Task adds or corrects, and what stays
only in Task.md. Revise both through the same back-and-forth. Mark the Task
Spec approved only after explicit approval. Treat World Skill changes as
accepted only after the user reviews them. If the user requests an end-to-end
build without an approval pause, continue with an agent-reviewed
Status: Draft and label the World Skill changes as unreviewed.
If implementation changes the request, visible information, material
Environment behavior, or scoring boundary, update Task.md and show the
change. Set its status back to Draft. Show the diff and require explicit
reapproval before setting it to Approved again.
Follow Task implementation (opens in a new tab). It gives the build order and routes each decision to the Environment, synthetic-data, Verifier, Harbor, and calibration references.
For an existing project, use its pinned or supported Harbor version. Otherwise, use the installed supported version and record it. Upgrade only with user approval and a stated compatibility reason. Use the installed CLI help as the command contract.
Before a scored model run:
Run the actual Harness through Harbor. Read the complete trajectory, not only the reward. Inspect:
Classify each unsuccessful run as an agent capability failure, missing information, Harness defect, Environment defect, Verifier false rejection, Verifier false acceptance, leakage, or infrastructure failure. Fix non-agent failures before using the score.
Model comparison is an optional calibration strategy, not a completion rule. When it would answer a real uncertainty, compare a weaker model, the target model, or a stronger model and repeat trials when behavior is variable. Read every selected trace. Contrast can expose unclear inputs, brittle setup, leakage, shortcuts, or reward hacks. Pass rates and model ordering do not prove Task quality.
Read Calibration (opens in a new tab) for the complete audit method.
Use World knowledge (opens in a new tab) throughout Task design, implementation, and audit. Add or correct project-specific knowledge when the work supplies evidence that would help another Task. This can include Task patterns, Environment methods, data creation, Verifier evidence, run procedures, scripts, assets, and examples.
After the audit, reconcile the World Skill with what the completed Task proved. Show the user:
Remove or narrow ideas that the Task disproved. If the user asked for autonomous end-to-end updates without a pause, make the smallest supported update, show it in the final review, and do not imply that the human approved the generalization.
Create only SKILL.md at first. Add references/, scripts/, assets/, or
tests/ only when their real contents justify them.
Keep the completed Task’s request, focal state, expected result, and exact
criteria in its collocated Task.md. Do not copy broad guidance that is already
clear in this skill. Record the project-specific adaptation of that guidance.
Use Tasks two and three to test the World Skill. Check whether it reduces rediscovery, improves Task Specs, preserves important relationships, reuses a proven operation, or prevents a known Verifier defect. Correct rules that are missing, stale, or too broad.
When several materially different Tasks have exercised the shared knowledge and the construction and verification methods are clear, the next cycle can propose several independent Task Specs:
Continue this loop as production behavior, user priorities, agents, and models change.
Map required systems, data, roles, network needs, and safe setup methods. Never read, print, copy, store, or ask the human to paste secret values. Tell the human what dependency is needed, why it is needed, and how the project expects access to be provided. Default to controlled local, frozen, or simulated dependencies. Never write to production during an eval. Treat access, startup, reset, timeout, judge, and Verifier failures as invalid runs, not failed agent work.
Task.md matches the built instruction, Environment, and Verifier.Inspect an agent repository and optional traces, interview the user, write reviewed Task Specs, build and audit Harbor tasks, and bootstrap reusable project World Knowledge Skills. Use for agent evals, benchmark design, Task generation, controlled Environments, synthetic data, Verifiers, Harbor runs, calibration, or continuous benchmark maintenance.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
main, last pushed 23 September 2026.SKILL.md, not by matching a directory convention. One layout observed: config/skills/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by LangChain, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./langchain-ai/langchain-skills.md, and each skill at its own .md URL.20 files · 148 KB
Everything this skill ships beside its prose. 18 of them are set here as subchapters of skill 7; the other 2 are described rather than reproduced.
Documentation the agent loads on demand, rather than up front.
references/10 files · 94 KBreferences/examples/1 file · 3 KB
references/multi-turn-simulation/4 files · 27 KB
Executable code the skill can run.
Templates, schemas and fixtures the skill draws on.
Everything else published alongside the skill.