backprop

backprop is a skill for Claude Code, Codex from LilMGenius/paperthin. It costs 106 tokens per session (1,114 once invoked), scanned A, original, MIT.

A correction workflow that carries a lesson from an incorrect result back to the requirements, source documents, rules, or code that produced it. It then cleans and realigns the affected source materials.

In plain words
What is it for?
Use it after a correction, failed work cycle, or review finding to identify the cause, update its owning source, remove outdated material, and refresh related listings.
Why use it?
It prevents the same mistake from returning after a one-off fix. The work stays within a named scope and stops when a person must decide or approve something.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the paperthin plugin — 45 skills shipped together

Good fit Use it after a correction, failed work cycle, or review finding to identify the cause, update its owning source, remove outdated material, and refresh related listings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lilmgenius/paperthin/backprop
About the project

Paperthin is a collection of low-level design patterns that coding agents can apply as repeatable checks and actions during software work. It is for people using agents such as Claude Code, Codex, Cursor, or other supported tools, and its catalogue entries package the patterns as skills, an instruction, and a plugin.

LilMGenius/paperthin · 1,481 stars · on GitHub · paperthin.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LilMGenius/paperthin --skill backprop
Clone the repo
git clone --depth 1 https://github.com/LilMGenius/paperthin

Made for: Claude Code, Codex.

Or install paperthin, the plugin that ships this one along with the rest of its 45 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for backprop

README.md
[![agentmods](https://agentmods.dev/badge/skills/lilmgenius/paperthin/backprop/github.svg)](https://agentmods.dev/skills/lilmgenius/paperthin/backprop)
Your own site
<a href="https://agentmods.dev/skills/lilmgenius/paperthin/backprop"><img src="https://agentmods.dev/badge/skills/lilmgenius/paperthin/backprop/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for backprop

Your own site · 80×15
<a href="https://agentmods.dev/skills/lilmgenius/paperthin/backprop"><img src="https://agentmods.dev/badge/skills/lilmgenius/paperthin/backprop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,114 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00106 $0.01114
Opus 5.5 $0.00042 $0.00446
Sonnet 5.5 $0.00021 $0.00223
Haiku 4.5 $0.00011 $0.00111

Measured 21d ago against content hash b47f8079c44f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

backprop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/coil/backprop/SKILL.md · 39 lines

How it starts

The opening of the file, as written. The whole thing — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Carry a lesson from the output back into the sources that produced it, then leave those sources clean.

Goal

A correction says the output was wrong; the fix belongs in what produced it. Backpropagation in a network measures the error at the output and sends it back through every layer that contributed, each adjusting by its share. backprop does the same for a body of work: re0-memo measures the error and names its class, elon questions the requirements that let it through, ssotize puts the lesson in the one source that owns it, and re0, debloat and re0-order leave that source reading as its clean current version. The scope you name bounds every pass, each pass runs only when its condition holds, and the order stays fixed.

Workflow

  1. Pin the scope. Name the output the lesson came from (the correction, the failed cycle, the review finding) and the sources it implicates: the docs, rules, skills or code that produced it. If neither is named, propose the user's last correction and the files it concerns, and wait for a yes before editing; with no correction to propose, ask for the output and stop. Every later step stays inside this scope.
  2. Measure. Call the Skill tool with "re0-memo" on the output. Its lessons, each a class with its evidence and the owner it names, are what the remaining steps carry back. When it finds no lesson, report that and stop.
  3. Question. Call the Skill tool with "elon" on the requirements and rules in scope that the lessons touch. Skip it when the scope holds no requirement or rule. Stop at its approval gate; what the user approves is carried out, and what is declined stays as it was.
  4. Consolidate. Call the Skill tool with "ssotize" so each lesson lives in the owner re0-memo named and every other copy in scope becomes a reference. Skip it when nothing in scope duplicates or contradicts a lesson. Stop at its approval gate; what the user approves is carried out, and what is declined stays as it was.
  5. Refresh. Call the Skill tool with "re0" on each owner the steps above changed, so it reads as though the lesson had always been there. Skip it when no owner changed.
  6. Tighten. Call the Skill tool with "debloat" on prose or code in scope that is correct and current but padded, AI slop included. Skip it when nothing is bloated.
  7. Realign. Call the Skill tool with "re0-order" on each listing in scope whose order no longer follows one principle. Skip it when no listing drifted.
  8. Hand off punctuation. If the changed text has em-dashes or look-alikes, ask the user to run dedash on it; if it has Korean prose or label rows joined by middle dots, dedot. Name the files to pass.
  9. Report each step as ran, skipped with its reason, or handed off, and name each lesson with the owner it landed in.

Read the full file on GitHub · 39 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 21d ago First seen · 39 lines · 106 tokens per session scan A b47f8079c44f

Subscribe to this mod's changes

backprop is a skill published in the GitHub repository LilMGenius/paperthin (1,481 stars, last pushed 5d ago), licensed MIT. It adds 106 tokens to every session and 1,114 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-09.

Related

backprop compared with skills from other repositories

backprop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
backpropLilMGenius/paperthinSkill1.5k5d agoMITA106Claude Code, Codex
modular-skillsathola/claude-night-marketSkill358yesterdayMITA24Claude Code
evaluate-skilledonadei/caliperSkill2392d agoMITA70Claude Code
context-boundary-reporteredonadei/caliperSkill2392d agoMITA20Claude Code, Codex
alertedonadei/caliperSkill2392d agoMITA20Claude Code, Codex
grill-skilledonadei/caliperSkill2392d agoMITA58Claude Code
hillclimb-skilledonadei/caliperSkill2392d agoMITA66Claude Code