evaluate-skill
Use when evaluating, comparing, or making readiness claims about agent-skill behavior.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 5
- Forks
- 0
01 前言 Front Matter
- name
- evaluate-skill
- description
- Use when evaluating, comparing, or making readiness claims about agent-skill behavior.
02 资源文件 35
- 参考文档references/eval-patterns.md3.5 KB
- 参考文档references/evaluation-architecture.md2.5 KB
- 参考文档references/grading-and-revision.md2.0 KB
- 参考文档references/grading-priority.md1014 B
- 参考文档references/portable-execution.md1.7 KB
- 参考文档references/token-efficient-execution.md1.5 KB
- 脚本scripts/lib/args.mjs878 B
- 脚本scripts/lib/capabilities.mjs8.3 KB
- 脚本scripts/lib/codex-adapter.mjs9.9 KB
- 脚本scripts/lib/compact-evidence.mjs9.6 KB
- 脚本scripts/lib/constants.mjs61 B
- 脚本scripts/lib/coordinator.mjs6.8 KB
- 脚本scripts/lib/decision.mjs2.1 KB
- 脚本scripts/lib/doctor.mjs4.5 KB
- 脚本scripts/lib/evaluate.mjs31.2 KB
- 脚本scripts/lib/feasibility.mjs8.6 KB
- 脚本scripts/lib/fixture-oracle.mjs2.2 KB
- 脚本scripts/lib/grade.mjs8.2 KB
- 脚本scripts/lib/hash.mjs3.8 KB
- 脚本scripts/lib/integrity.mjs907 B
- 脚本scripts/lib/materialize.mjs8.2 KB
- 脚本scripts/lib/outcome.mjs4.4 KB
- 脚本scripts/lib/path-policy.mjs3.4 KB
- 脚本scripts/lib/pi-adapter.mjs20.8 KB
- 脚本scripts/lib/plan.mjs28.2 KB
- 脚本scripts/lib/process-outcome.mjs2.2 KB
- 脚本scripts/lib/process.mjs4.1 KB
- 脚本scripts/lib/publication.mjs2.0 KB
- 脚本scripts/lib/rpc-client.mjs11.9 KB
- 脚本scripts/lib/semantic-evidence.mjs12.4 KB
- 脚本scripts/lib/semantic.mjs14.6 KB
- 脚本scripts/lib/workspace.mjs29.4 KB
- 脚本scripts/pi-composition-runtime.mjs3.4 KB
- 脚本scripts/pi-root-guard.mjs3.1 KB
- 脚本scripts/skill-eval.mjs5.2 KB
03 SKILL.md 正文
Evaluate Skill
Judge whether an exact skill changes agent behavior as intended under natural pressure. Evidence outranks confident prose.
A variant is one fixed skill-and-context condition being compared. The subject is the agent performing the natural task under that variant.
Inline examples teach the subject. They are part of the candidate, not evaluation evidence. Behavioral evals keep criteria outside the natural prompt and test what the agent actually does.
Route First
- Grade adequate saved evidence before proposing a rerun or wording change.
- Reuse an existing case unchanged when it already preserves the failure and fixed criteria.
- For a draft-only request, use Write Skill, record the result as Draft or Unverified in the eval artifact, report, or response, and keep that status out of the subject
SKILL.md; do not fake a run. - Require evidence relevant to every readiness or host-support claim.
- After infrastructure failure, discard partial outcomes and rerun every variant as one whole case.
- Follow explicit constraints. Do not mutate adequate evidence merely to demonstrate process order.
Name The Question
Separate the behavior being claimed:
- First activation: does a natural prompt cause the host to load the exact description and skill snapshot at the earliest useful moment?
- First-read comprehension: can the delivered body guide correct behavior with only guaranteed prior context?
- Nearby behavior: does a close case avoid activation or load without hijacking the task?
- Dependency composition: does the skill work with the exact declared base stack and resources?
- Retained use: does the method remain available across the claimed later turns?
- Artifact outcome: do files, commands, state, and reports match the required behavior?
- Cross-host behavior: does the same case hold on every named host?
One evidence class does not prove another. Direct body delivery cannot prove native activation. One turn cannot prove retained use. Ambient context cannot prove declared composition.
Read evaluation architecture when selecting evidence classes. Read eval patterns when choosing the smallest case shape.
Smallest Valid Loop
- Fix criteria before candidate output exists.
- Preserve the earliest natural prompt or strongest pressure that should change behavior.
- Choose a fair variant: no skill, exact old snapshot, release, candidate, description-only change, or declared composition.
- Plan before spending model requests.
- Keep prompt, fixture, tools, host, model, and thinking settings fixed across variants.
- Grade objective artifacts first; use fresh semantic judgment only for unresolved meaning.
- Classify the failure before editing.
- Revise one measured pressure point and rerun the whole case.
For a nearby prompt, define whether success means no activation or safe behavior after activation. Do not treat every extra read as a behavioral failure.
Execution
Use direct child processes for ordinary cases. Do not spend parent or subagent context merely to run a subject.
Use the bundled skill evaluator. Resolve the link relative to this skill directory, then run node <resolved-path> doctor|init|evaluate. A complete evaluate invocation declares the skill, case, timeout, retained-output limit, and model/process limits. Use --plan-only before model execution so the owner can inspect the case, limits, and spend.
The default source lives under .skill-eval/<skill-name>/. Subjects receive only the natural prompt, isolated fixture, declared immutable skill resources, and allowed tools. Do not supply author discussion, desired reasoning, assertions, expected outcomes, reports, or another variant unless that material naturally belongs to the user task.
Use portable execution for capability fallbacks and isolation. Use token-efficient execution before expanding cases, models, turns, or evidence scope.
Grade And Diagnose
- Files, diffs, exit status, events, usage, and protocol fields are objective evidence.
- Final response is lower priority than contradictory artifacts.
- A subject never grades its own run in the same conversation.
- Semantic graders use fresh context, fixed criteria, opaque labels, sanitized paths, and visible uncertainty.
- Missing usage or cost is unavailable, not zero.
- Infrastructure failure publishes diagnostics only.
Classify failures precisely:
- activated too early, too late, or not at all;
- description relies on unavailable vocabulary;
- body fails on first read;
- undeclared or undelivered dependency;
- normal-path guidance hidden in a reference;
- nearby activation hijacks behavior;
- retained-context or multi-turn failure;
- wording, placement, missing stop, structure, fixture, host, or grader failure.
Read grading priority when evidence conflicts. Read grading and revision before deciding a revision or rerun.
Stop
Stop rather than overclaim when required activation, first-read, composition, isolation, multi-turn, or host evidence is unavailable. Label a cheaper fallback Diagnostic, Reduced-Fidelity, or Unsupported when it changes the question. The owner decides disputed behavior and readiness.
04 同仓库更多 Skills
write-skill
Use when creating, revising, merging or splitting a skill or any other text an agent acts on: a SKILL.md and its description, the references and scripts in a skill, AGENTS.md, CLAUDE.md, system or runtime prompts, tool descriptions, subagent briefs or judge prompts. Also use when deciding where an instruction should live, and when a skill is read at the wrong time, not read at all, or read but not followed.
verify-work
Use whenever you need to know whether something works or a claim is true: running tests, builds, linters or type checks; reproducing a bug or checking a fix; trying the real path in the running software, a browser or a CLI; measuring performance; and reading what the output actually shows, including failures and conflicting results. Read it before saying a change works, is fixed or is done, and to check your own change or document before reporting it done. Also use when writing, designing or changing a test, fixture or regression check; when a claim depends on an integration, host lifecycle, an installed package, rendered UI or browser behavior, or performance; and when setting up, following or updating a project's saved steps for launching its software and trying each feature as a user would, or rechecking them after the software changed.
setup-freeflow
Use when installing, activating or turning off Freeflow in a repository, changing or repairing its repository or personal configuration (.freeflow/config.json, .freeflow/local.json), setting up the Freeflow store that keeps task memory (local only, or local + cloud with a private repository, in a cloud session too) and moving older task records into it, or checking whether the current host is loading Freeflow's guidance and skills.
research-work
Use when a question has to be answered from evidence gathered and checked first: an in-depth report on a codebase, library, agent harness or tool; a survey, literature or systematic review of papers, docs or prior work; finding out what sources say before relying on them, and rechecking a published study's numbers; a study or experiment whose plan is fixed before the data, or a quick check on about twenty tasks of whether a change helped; writing a paper from results with its figures, references and PDF, and answering its reviewers. Also use when citing code at a pinned commit, deciding how strong a claim's evidence is, checking that each number traces to its log and each citation supports its claim, designing a measurement or a model judge, and computing statistics for a result (intervals, paired comparisons, clustered runs, rater agreement, pass@k, multiple comparisons, power, meta-analysis). Comparing options from facts already in hand is Discuss Work's; checking whether a change works is Verify Work's.
execute-work
Use for any task that uses tools: reading or searching a repository, running commands, diagnosing, and any work that changes code, files or settings: implementing a feature, fixing a bug, adding or changing behavior, configuring, prototyping, refactoring, simplifying or cleaning up code, deleting dead code, or maintaining a project. Also use when something fails, breaks, regresses or slows down and the cause is unknown, or a fix did not hold; when migrating users, data, a schema, a service or traffic to a replacement and removing the old path; when adding edge-case handling or code comments; and when handing work to subagents or parallel workers, or working from another agent's brief. Read it before your first tool call on a task, even a small or read-only one: it reads the request for its asks and implied requirements, finds what the change touches before you edit, and reports the result.
evaluate-behavior
Use when testing, evaluating or comparing how an agent behaves: whether a skill triggers, whether a change to a prompt, skill, model, setting or extension changes outcomes, measuring a reviewer or checker, or benchmarking agents on coding tasks, conversations or pipelines. Also use when writing or checking an eval's JSON files, running an eval and reading its results, and deciding what a result can claim, how many cases and trials it needs and what it costs.