polygen SKILL.md skillA
polygen from cognitive-fab/polygraph is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add cognitive-fab/polygraph/polygen@git:20260811.fb53d7ePins git:20260811.fb53d7e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- cognitive-fab/polygraph
- Path
skills/polygen/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260811.fb53d7e, committed Aug 11, 2026
- First version recorded
- Jul 23, 2026
- Size
- 13,293 bytes
- Repository stars
- 15
- License
- Apache-2.0
Write NEW stateful code that is verifiable from the moment it's written, instead of auditing code that already exists (that's the "polygraph" skill). Draft a contract from a feature description, author a SAM v2 strict-profile module against it (named intents/schemas/domains, keyed acceptors, reject(reason), sealed model, next-state (prime) acceptors), self-repair against reachable invariant violations before anything ships, and synthesize a demo/regression trace corpus. Use when the user wants…
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
# polygen — author verifiable code, out of the box
Companion to the `polygraph` skill. That one AUDITS code that already exists.
This one AUTHORS new code so it's verifiable from the start — closing the loop
at creation time instead of retrofitting it later. v1 is **JS/TS only**: the
generated module is directly usable only in a JS/TS codebase (porting a
verified model to another language is a real, separate problem — the port
itself would need its own differential check against the JS original — and is
out of scope here).
**The authored artifact (v0.7):** by default a **SAM v2 strict-profile
module** (`module.exports = { instance, init, actions, getState, setState }`,
sam-lib 2.1.2 vendored in the plugin): named intents with schemas and
finite domains, acceptors keyed by intent name, every not-applicable action
an observable `reject(reason)` (never a throw), sealed model, and explicit
next-state (prime) semantics — acceptors write the `next` draft and frame
untouched variables with `unchanged(...)` (sam-lib 2.1, #25). Generated code
must load **strict-clean** — `instance({}).validate()` is a hard gate at
…Read the whole file at its exact version.
How to install
mdr add cognitive-fab/polygraph/polygen@sha256:b4e5306a2327ba02The line at the top of this page pins the label git:20260811.fb53d7e, 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_nwrs7ez3wmcoract)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jul 23, 2026 and Aug 11, 2026, about one every 5 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260811.fb53d7e latest | 2026-08-11 | fb53d7e | 13,293 B | A | view · diff |
| git:20260807.2705388 | 2026-08-07 | 2705388 | 13,501 B | A | view · diff |
| git:20260725.c560fd1 | 2026-07-25 | c560fd1 | 8,626 B | A | view · diff |
| git:20260724.b7ad92a | 2026-07-24 | b7ad92a | 8,388 B | A | view · diff |
| git:20260723.22c676f | 2026-07-23 | 22c676f | 8,392 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 (13293 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
cognitive-fab/polygraph · 15 stars · license Apache-2.0 · pushed 2026-09-13 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_nwrs7ez3wmcoract GET https://markdownregistry.com/api/v1/resolve?ref=cognitive-fab/polygraph/polygen GET https://markdownregistry.com/api/v1/blob/b4e5306a2327ba02b9e0b096bc4438210d677b873b49571b24d084e85d7d8af9
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.