recording-rulings

recording-rulings is a skill for Claude Code from felipesauer/mnema. It costs 38 tokens per session (575 once invoked), scanned A, original, Apache-2.0.

A record-keeping workflow that copies temporary decisions from a work ledger into the repository's signed decision record.

In plain words
What is it for?
Use it when an agent makes a provisional ruling without waiting for an answer, recording what it chose, why, the downside if wrong, and the rejected alternatives.
Why use it?
Decisions made during a session can otherwise disappear when the temporary ledger is deleted.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the mnema plugin — 3 skills, 2 hooks shipped together

Good fit Use it when an agent makes a provisional ruling without waiting for an answer, recording what it chose, why, the downside if wrong, and the rejected alternatives.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/felipesauer/mnema/recording-rulings
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 felipesauer/mnema --skill recording-rulings
Clone the repo
git clone --depth 1 https://github.com/felipesauer/mnema

Made for: Claude Code.

Or install mnema, the plugin that ships this one along with the rest of its 3 skills, 2 hooks.

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 recording-rulings

README.md
[![agentmods](https://agentmods.dev/badge/skills/felipesauer/mnema/recording-rulings/github.svg)](https://agentmods.dev/skills/felipesauer/mnema/recording-rulings)
Your own site
<a href="https://agentmods.dev/skills/felipesauer/mnema/recording-rulings"><img src="https://agentmods.dev/badge/skills/felipesauer/mnema/recording-rulings/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 recording-rulings

Your own site · 80×15
<a href="https://agentmods.dev/skills/felipesauer/mnema/recording-rulings"><img src="https://agentmods.dev/badge/skills/felipesauer/mnema/recording-rulings.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 575 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.00038 $0.00575
Opus 5.5 $0.00015 $0.00230
Sonnet 5.5 $0.00008 $0.00115
Haiku 4.5 $0.00004 $0.00057

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

Security

Grade A, and why

recording-rulings 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 13d 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.

plugin/skills/recording-rulings/SKILL.md · 51 lines

How it starts

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

Recording rulings

Some workflows have the agent decide and go on instead of stopping to ask, and keep what it decided in a ledger beside the work: a line per ruling, with what was ruled, why, and what it costs if it is wrong. Where that ledger is thrown away when the work ends, the calls go with it. Recorded in mnema, they are kept with the repository, signed, and a person can accept or reject each one later.

This skill leaves the workflow as it is. The ledger stays where the workflow keeps it, and each ruling is also recorded.

What a ruling becomes

A ruling is a decision made without waiting for an answer, which is the state a decision is born in here: proposed, awaiting a judgement. Nothing about it is in force until a person accepts it.

In the ledger In the record
What was ruled the title of a record_decision
Why its rationale
What it costs if it is wrong the last line of the rationale, in the same words the ledger used
The option it was chosen over alternatives, with why it was turned down

Record it when the ruling is made, beside the ledger line, and not in a batch at the end.

What the rest of the ledger becomes

  • A minor the work left for later, found in review: a record_observation about the record it concerns, by its id; with no record to attach it to, capture_memory.
  • The state of each step of the plan stays in the workflow's own file. This skill is only about the calls.

A ruling that is already recorded is not recorded again: search finds a record by the words written in it.

The thoughts that come before a choice goes unrecorded, and what the project measured against each, are the table in recording-decisions; a ruling is a settled choice like any other, so that table applies to it. The tools are named the same in every host, and its references/tools-by-host.md says what each host calls them.

Read the full file on GitHub · 51 lines

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. 13d ago First seen · 51 lines · 38 tokens per session scan A 07822596e67f

Subscribe to this mod's changes

recording-rulings is a skill published in the GitHub repository felipesauer/mnema (4 stars, last pushed yesterday), licensed Apache-2.0. It adds 38 tokens to every session and 575 once invoked, about $0.0002 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-10-03.