write-eval SKILL.md skillA
write-eval from dzhng/duet-agent is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add dzhng/duet-agent/write-eval@git:20261002.2075ed7Pins git:20261002.2075ed7 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- dzhng/duet-agent
- Path
.agents/skills/write-eval/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261002.2075ed7, committed Oct 2, 2026
- First version recorded
- Jun 5, 2026
- Size
- 17,426 bytes
- Repository stars
- 50
- License
- Apache-2.0
Write a live eval for new or changed runner/agent behavior using red/green TDD plus a falsification check that proves the eval fails when the behavior is broken. Use whenever you add or modify behavior that should be covered by an eval, when asked to "write an eval", "add an eval", "cover this with an eval", or after landing a feature that needs end-to-end proof it works.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Write an Eval An eval is only trustworthy if you have seen it both **fail for the right reason** and **pass for the right reason**. Writing the assertions, watching them go green once, and moving on is how you ship an eval that passes whether or not the feature works. The standard operating procedure is: pick the outermost entry point, design the assertion so it can only hold when the behavior is present, watch it go green, then **falsify** — break the production code, confirm the eval goes red with a diagnostic that points at the real path, and restore. This is the flow used to land `evals/state-machine-slash-skill-expansion.eval.ts`; read it as the reference implementation for a **deterministic wiring** eval (the feature either injects the right context or it doesn't). …
Read the whole file at its exact version.
How to install
mdr add dzhng/duet-agent/write-eval@sha256:1f0fd512633a77bbThe line at the top of this page pins the label git:20261002.2075ed7, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_soyafclgjb5k5ypw)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Jun 5, 2026 and Oct 2, 2026, about one every 24 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261002.2075ed7 latest | 2026-10-02 | 2075ed7 | 17,426 B | A | view · diff |
| git:20260928.3181c05 | 2026-09-28 | 3181c05 | 15,664 B | A | view · diff |
| git:20260708.6575805 | 2026-07-08 | 6575805 | 15,668 B | A | view · diff |
| git:20260605.7f516fc | 2026-06-05 | 7f516fc | 15,595 B | A | view · diff |
| git:20260605.9463562 | 2026-06-05 | 9463562 | 12,868 B | A | view · diff |
| git:20260605.6e90e7a | 2026-06-05 | 6e90e7a | 12,867 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (17426 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
dzhng/duet-agent · 50 stars · license Apache-2.0 · pushed 2026-10-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_soyafclgjb5k5ypw GET https://markdownregistry.com/api/v1/resolve?ref=dzhng/duet-agent/write-eval GET https://markdownregistry.com/api/v1/blob/1f0fd512633a77bbbfce1d57a95d7bff132517c09aecafd6566425d4022e1333
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.