rule-promoter SKILL.md skillA

rule-promoter from narendawar/narens-claude-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add narendawar/narens-claude-skills/rule-promoter@git:20261002.1c575d2

Pins git:20261002.1c575d2 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
narendawar/narens-claude-skills
Path
plugins/rule-promoter/skills/rule-promoter/SKILL.md
Versions recorded
5
Latest version
git:20261002.1c575d2, committed Oct 2, 2026
First version recorded
Oct 1, 2026
Size
9,926 bytes
Repository stars
4
License
MIT

Use when the user wants rules in CLAUDE.md enforced with hooks, says Claude keeps ignoring a CLAUDE.md rule, or asks to turn CLAUDE.md rules into hooks (for example 'promote my CLAUDE.md rules to hooks' or 'make Claude stop editing migrations').

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

# Rule Promoter

## Overview

CLAUDE.md rules are advice: Claude can rationalize past them. A hook is enforcement. This skill reads the project's CLAUDE.md, picks out the rules a hook can actually enforce, writes them into a rules file enforced by a small tested engine, proves each rule blocks a violation, and installs the hooks after the user confirms. It runs only when the user asks. Hooks are guardrails, not a security boundary: a determined workaround (a helper script, `sh -c`) can get past a pattern. Say so.

## Files (in this skill's base directory, shown when the skill loads)

- `scripts/rule_hook.py`: the engine. Copy it to `.claude/hooks/rule_hook.py` in the project. `python rule_hook.py selftest` proves every rule; `check` is the hook entry point.
- `scripts/settings_merge.py`: `launcher` picks a Python command that works; `plan` shows the settings diff; `apply` writes it.

Run both with a Python 3 command that works on this machine (try `python3`, `python`, `py -3`). Quote paths.

## Process

1. **Read.** Find `CLAUDE.md`, `.claude/CLAUDE.md` and `CLAUDE.local.md` in the project. List every rule with its file and line. If there is none, say so and stop.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add narendawar/narens-claude-skills/rule-promoter@sha256:1925534900eaab06

The line at the top of this page pins the label git:20261002.1c575d2, 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_5rbokgrk4r6q46ww.svg)](https://markdownregistry.com/a/art_5rbokgrk4r6q46ww)

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

Versions

The registry has recorded 5 versions of this file, between Oct 1, 2026 and Oct 2, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20261002.1c575d2 latest2026-10-02 1c575d2 9,926 BA view · diff
git:20261002.cb043d92026-10-02 cb043d9 9,682 BA view · diff
git:20261002.924712f2026-10-02 924712f 9,308 BA view · diff
git:20261001.0d3b5bf2026-10-01 0d3b5bf 8,721 BA view · diff
git:20261001.239768a2026-10-01 239768a 591 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 (9926 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

narendawar/narens-claude-skills · 4 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_5rbokgrk4r6q46ww
GET https://markdownregistry.com/api/v1/resolve?ref=narendawar/narens-claude-skills/rule-promoter
GET https://markdownregistry.com/api/v1/blob/1925534900eaab0619734b6bda40db8771a7f6663428dd653d4e211aa637db68

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 narendawar/narens-claude-skills

llms.txt llms.txt file
narendawar/narens-claude-skills · llms.txt
git:20261020.8585eaa · audit A · 4 stars
comprehension-check SKILL.md skill
narendawar/narens-claude-skills · plugins/comprehension-check/skills/comprehension-check/SKILL.md · Use when the user asks to be quizzed on, or to check their understanding of, code Claude wrote this session (for…
git:20261001.15ebe60 · audit A · 4 stars
decision-journal SKILL.md skill
narendawar/narens-claude-skills · plugins/decision-journal/skills/decision-journal/SKILL.md · Use when the user wants to log a prediction or estimate about a dev or project decision, grade past predictions, or see…
git:20261001.6851e1f · audit A · 4 stars
human-writing SKILL.md skill
narendawar/narens-claude-skills · plugins/human-writing/skills/human-writing/SKILL.md · Use when the user wants words written or rewritten in a human, personal voice, including short casual messages: a Slack…
git:20261020.8585eaa · audit A · 4 stars
model-bakeoff SKILL.md skill
narendawar/narens-claude-skills · plugins/model-bakeoff/skills/model-bakeoff/SKILL.md · Use when the user wants to pick the cheapest model that still works for a custom subagent, asks whether Haiku or Sonnet…
git:20261010.895cd4c · audit A · 4 stars
pdf-table-fixer SKILL.md skill
narendawar/narens-claude-skills · plugins/pdf-table-fixer/skills/pdf-table-fixer/SKILL.md · Use when the user has a tagged PDF whose tables fail accessibility checks or read badly in a screen reader (for example…
git:20261011.7b2ffe1 · audit A · 4 stars
podcast-clip-scout SKILL.md skill
narendawar/narens-claude-skills · plugins/podcast-clip-scout/skills/podcast-clip-scout/SKILL.md · Use when the user has a timestamped podcast or video transcript and wants the best short clips picked from it (for…
git:20261014.0506b44 · audit A · 4 stars
schedule-doctor SKILL.md skill
narendawar/narens-claude-skills · plugins/schedule-doctor/skills/schedule-doctor/SKILL.md · Use when the user is about to schedule a Claude task, or asks why a scheduled task, /loop, cron job or routine did not…
git:20261004.a246b3f · audit A · 4 stars
subagent-tax-auditor SKILL.md skill
narendawar/narens-claude-skills · plugins/subagent-tax-auditor/skills/subagent-tax-auditor/SKILL.md · Use when the user asks why their Claude Code quota or usage limit runs out so fast, which subagents cost the most, or…
git:20261003.e9d6b70 · audit A · 4 stars
__SKILL_NAME__ SKILL.md skill
narendawar/narens-claude-skills · template/skills/__SKILL_NAME__/SKILL.md · __DESCRIPTION__
git:20261001.206faba · audit A · 4 stars

Every file in narendawar/narens-claude-skills

Other files named rule-promoter

rule-promoter SKILL.md skill
narendawar/narens-claude-toolkit · plugins/rule-promoter/skills/rule-promoter/SKILL.md · Use when the user wants rules in CLAUDE.md enforced with hooks, says Claude keeps ignoring a CLAUDE.md rule, or asks to…
git:20261002.1c575d2 · audit A · 4 stars

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