encoding-loop SKILL.md skillA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

encoding-loop from emeraldleaf/okl is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add emeraldleaf/okl/encoding-loop@git:20261026.04d23e4

Pins git:20261026.04d23e4 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
emeraldleaf/okl
Path
.claude/skills/encoding-loop/SKILL.md
Versions recorded
6
Latest version
git:20261026.04d23e4, committed Oct 26, 2026
First version recorded
Oct 10, 2026
Size
4,787 bytes
Repository stars
4
License
MIT

Use when you discover a rule, antipattern, or lesson worth keeping ("we should never write this again" / "we should always do this when") and need to encode it at the right surface and record it to the org knowledge layer. Fires on review findings, debugging discoveries, audits, and prior-art hits.

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

# Encoding loop — turn a finding into a durable, promoted rule

A trigger surfaced a candidate rule. The response is always the same two moves.

## 1. Pick the smallest sufficient surface (softest→strongest)

| # | Surface | Use when |
|---|---|---|
| 1 | `docs/` + diagram | the *why* needs more than a line, or reviewers need a picture |
| 2 | `CLAUDE.md` | every session needs it, always-on (keep it lean — prefer a rule file) |
| 2 | `.claude/rules/<area>.md` with `paths:` glob | scoped to a file category (loads only in context) |
| 3 | `.claude/skills/` or `.claude/commands/` | a multi-step procedure with real logic |
| 4 | `.coderabbit.yaml` path_instructions / `architecture-reviewer` checklist | catch at PR-review time |
| 5 | a test or a CI check (`gates/` if you ran `okl scaffold`) | mechanical, build-breaking — for rules that keep being broken |

Default to the *softest* surface that could hold the rule. **Promote down (toward 5) only as it
earns it** — a rule that keeps being violated moves to a sterner tier, not a sterner paragraph.
Most rules never leave tier 1, and that is fine.

## 2. Record it in the store, with a scope that decides which repos may see it

```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add emeraldleaf/okl/encoding-loop@sha256:48085a70596ba9a4

The line at the top of this page pins the label git:20261026.04d23e4, 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_sos4mk7woketvbxk.svg)](https://markdownregistry.com/a/art_sos4mk7woketvbxk)

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

Versions

The registry has recorded 6 versions of this file, between Oct 10, 2026 and Oct 26, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
git:20261026.04d23e4 latest2026-10-26 04d23e4 4,787 BA view · diff
git:20261010.35fbf042026-10-10 35fbf04 4,691 BA view · diff
git:20261010.f7beee32026-10-10 f7beee3 4,449 BA view · diff
git:20261010.b9620e72026-10-10 b9620e7 4,249 BA view · diff
git:20261010.a550e952026-10-10 a550e95 4,344 BA view · diff
git:20261010.c9d52922026-10-10 c9d5292 4,144 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 (4787 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

emeraldleaf/okl · 4 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_sos4mk7woketvbxk
GET https://markdownregistry.com/api/v1/resolve?ref=emeraldleaf/okl/encoding-loop
GET https://markdownregistry.com/api/v1/blob/48085a70596ba9a42046a0113d6c74fd50f95208995ffd2fb3e9d7593e784e9f

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 emeraldleaf/okl

AGENTS.md AGENTS.md file
emeraldleaf/okl · AGENTS.md
git:20261107.ff72c19 · audit A · 4 stars
CLAUDE.md CLAUDE.md file
emeraldleaf/okl · CLAUDE.md
git:20261107.ff72c19 · audit A · 4 stars
encoding-loop SKILL.md skill
emeraldleaf/okl · src/okl/scaffold/claude/skills/encoding-loop/SKILL.md · Use when you discover a rule, antipattern, or lesson worth keeping ("we should never write this again" / "we should…
git:20261026.04d23e4 · audit A · 4 stars
verify-before-claiming SKILL.md skill
emeraldleaf/okl · src/okl/scaffold/claude/skills/verify-before-claiming/SKILL.md · Use before stating that work is done, a test passes, a build is green, a bug is fixed, a file exists, or any factual…
git:20260831.7854149 · audit A · 4 stars
CLAUDE.md@src/okl/scaffold/root CLAUDE.md file
emeraldleaf/okl · src/okl/scaffold/root/CLAUDE.md
git:20260930.f1f54de · audit A · 4 stars

Every file in emeraldleaf/okl

Other files named encoding-loop

encoding-loop SKILL.md skill
emeraldleaf/okl · src/okl/scaffold/claude/skills/encoding-loop/SKILL.md · Use when you discover a rule, antipattern, or lesson worth keeping ("we should never write this again" / "we should…
git:20261026.04d23e4 · audit A · 4 stars

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