mnemion-doctrine SKILL.md skillA

mnemion-doctrine from daniloc/mnemion is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add daniloc/mnemion/mnemion-doctrine@git:20261106.c67f5dc

Pins git:20261106.c67f5dc in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
daniloc/mnemion
Path
.claude/skills/mnemion-doctrine/SKILL.md
Versions recorded
5
Latest version
git:20261106.c67f5dc, committed Nov 6, 2026
First version recorded
Jun 21, 2026
Size
11,556 bytes
Repository stars
22
License
MIT

The architectural doctrine for developing and extending the Mnemion repo — convert block-lists to chokepoints, one declarative home per invariant, fail closed, prove totality with an oracle, make the boundary un-routable in types, keep intent/structure/evolution converged. Use whenever adding or changing an invariant, security boundary, kernel pattern, feature, tool, route, or serve/egress path in this repo, or when reviewing/decomposing its code. This is the standard the codebase converged…

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

This is the doctrine the Mnemion codebase converged on. It is not style advice — it is the reason the security surface stopped leaking and the structure stays coherent under agentic editing. Apply it; do not relitigate it. Full derivation (the why, the retrospective, the physics) is in `references/doctrine.md`.

## The one rule

> A recurring bug is a structural question being answered at call sites instead of at a boundary. Don't patch faster — invert the architecture so the bug becomes **unrepresentable**.

The fix-one-open-another loop *is* the diagnosis. When you see two or more findings clustered on the same seam, stop patching instances and enforce the invariant from a single home.

## The core conversion: O(N) → O(1)

Turn a **block-list** (N guards you must remember at N sinks; fails open the moment one is forgotten) into a **chokepoint** (one reference monitor every path physically crosses). A chokepoint earns trust from four properties that travel together — miss one and drift returns:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add daniloc/mnemion/mnemion-doctrine@sha256:bd21b999b50b2c2a

The line at the top of this page pins the label git:20261106.c67f5dc, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_jgsrlgnmtwekb7tu.svg)](https://markdownregistry.com/a/art_jgsrlgnmtwekb7tu)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jun 21, 2026 and Nov 6, 2026, about one every 35 days.

versioncommittedcommitsizeaudit
git:20261106.c67f5dc latest2026-11-06 c67f5dc 11,556 BA view · diff
git:20261106.c10bd552026-11-06 c10bd55 11,530 BA view · diff
git:20261011.86c78402026-10-11 86c7840 10,553 BA view · diff
git:20260621.2cf2e272026-06-21 2cf2e27 11,188 BA view · diff
git:20260621.b586b742026-06-21 b586b74 11,186 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (11556 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

GitHub

daniloc/mnemion · 22 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_jgsrlgnmtwekb7tu
GET https://markdownregistry.com/api/v1/resolve?ref=daniloc/mnemion/mnemion-doctrine
GET https://markdownregistry.com/api/v1/blob/bd21b999b50b2c2a780809a876905f8d41d9d8474b305b14ab6062312ffc155f

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.

More from daniloc/mnemion

how-to-build-software SKILL.md skill
daniloc/mnemion · .claude/skills/how-to-build-software/SKILL.md · An accord for building software with AI assistance. Establishes shared vocabulary and principles for structuring code…
git:20260618.527970f · audit A · 22 stars
CLAUDE.md CLAUDE.md file
daniloc/mnemion · CLAUDE.md
git:20261105.c65b6d5 · audit A · 22 stars

Every file in daniloc/mnemion

Browse by kind, by grade A, or by owner.