encoding-loop SKILL.md skillA
encoding-loop from emeraldleaf/okl is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add emeraldleaf/okl/encoding-loop@git:20261026.04d23e4Pins 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
src/okl/scaffold/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
mdr add emeraldleaf/okl/encoding-loop@sha256:48085a70596ba9a4The 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.
[](https://markdownregistry.com/a/art_owjn6iup7l7n5vyv)
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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261026.04d23e4 latest | 2026-10-26 | 04d23e4 | 4,787 B | A | view · diff |
| git:20261010.35fbf04 | 2026-10-10 | 35fbf04 | 4,691 B | A | view · diff |
| git:20261010.f7beee3 | 2026-10-10 | f7beee3 | 4,449 B | A | view · diff |
| git:20261010.b9620e7 | 2026-10-10 | b9620e7 | 4,249 B | A | view · diff |
| git:20261010.a550e95 | 2026-10-10 | a550e95 | 4,344 B | A | view · diff |
| git:20261010.c9d5292 | 2026-10-10 | c9d5292 | 4,144 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 (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
emeraldleaf/okl · 4 stars · license MIT · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_owjn6iup7l7n5vyv 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.