mdr, the CLI

One file, Node 18 or newer, no dependencies. Installs an artifact at an exact version into your agent's directory and records its content hash in mdr.lock.

Install
curl -fsSL https://markdownregistry.com/install.sh | sh

Puts mdr in ~/.local/bin. Read it first: /mdr.mjs.

Commands

mdr search <query>                 find artifacts
mdr info <owner/repo/name>          versions, audit, badge
mdr add <owner/repo/name>[@version] install pinned, write mdr.lock  (--agent claude|codex|cursor|opencode, --dir PATH, --force)
mdr install                         install everything in mdr.lock at its pinned hash
mdr outdated                        what moved upstream, with the audit grade of the new version
mdr diff <owner/repo/name> [from] [to]   line diff between two versions
mdr update <owner/repo/name>        move the pin to the latest version

The lockfile

{
  "version": 1,
  "registry": "https://markdownregistry.com",
  "entries": {
    "anthropics/skills/pdf": { "artifact": "art_...", "label": "v1.4.2", "sha256": "...", "commit": "...", "path": ".claude/skills/pdf" }
  }
}