rules SKILL.md skillA

rules from chris-peterson/claudewatch is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add chris-peterson/claudewatch/rules@git:20260924.3b681a3

Pins git:20260924.3b681a3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
chris-peterson/claudewatch
Path
skills/rules/SKILL.md
Versions recorded
6
Latest version
git:20260924.3b681a3, committed Sep 24, 2026
First version recorded
Mar 23, 2026
Size
5,874 bytes
Repository stars
3
License
MIT

View and interactively edit ClaudeWatch safety rules — list each rule set's block/ask rules as tables, then add, move, or remove rules, toggle whole rule sets on/off, or scaffold a new set, with conflict detection, a preview, and a test run before writing.

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

A rule set is a `watches/watch-*.yml` file; each holds `block` and `ask` rules
that the PreToolUse hook matches against commands. This skill lists them and
walks any change through preview and tests before writing.

## Steps

### 1. Find the plugin root

All paths below are relative to `${CLAUDE_PLUGIN_ROOT}`, which Claude Code sets
when the skill runs. If it is empty, stop and report — do not guess a path, since
running against the wrong directory would edit the wrong rule files.

### 2. Discover rule sets

List YAML files in `${CLAUDE_PLUGIN_ROOT}/watches/`. Each file is a rule set
(e.g. `watch-git.yml`, `watch-installs.yml`).

Also check for disabled rule sets — files ending in `.yml.disabled` in the
same directory. These are rule sets that have been toggled off.

### 3. Read and display rules for each rule set

For each **enabled** rule set, present rules in two tables. Use the rule set
`name` field as the heading. Use the naming convention
`<ruleset>-block-NN` / `<ruleset>-ask-NN` for IDs, where `<ruleset>` is the
short name from the YAML `name` field (e.g. `watch-git` → `git`), and NN is
zero-padded (e.g. `git-block-01`, `installs-ask-03`):
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add chris-peterson/claudewatch/rules@sha256:fd074c4061938025

The line at the top of this page pins the label git:20260924.3b681a3, 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_6v4jjjttg5vy4qna.svg)](https://markdownregistry.com/a/art_6v4jjjttg5vy4qna)

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

Versions

The registry has recorded 6 versions of this file, between Mar 23, 2026 and Sep 24, 2026, about one every 37 days. Its first recorded version is graded B and its latest A.

versioncommittedcommitsizeaudit
git:20260924.3b681a3 latest2026-09-24 3b681a3 5,874 BA view · diff
git:20260705.3262d6a2026-07-05 3262d6a 5,872 BA view · diff
git:20260702.5fc47cc2026-07-02 5fc47cc 5,272 BA view · diff
git:20260630.8f916662026-06-30 8f91666 5,235 BB view · diff
git:20260623.f75e2ab2026-06-23 f75e2ab 5,347 BB view · diff
git:20260323.92cfa7e2026-03-23 92cfa7e 5,331 BB 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 (5874 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

chris-peterson/claudewatch · 3 stars · license MIT · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_6v4jjjttg5vy4qna
GET https://markdownregistry.com/api/v1/resolve?ref=chris-peterson/claudewatch/rules
GET https://markdownregistry.com/api/v1/blob/fd074c40619380253b3ed1e3e823b9dea39f48c270058a432ccf27255084105c

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 chris-peterson/claudewatch

AGENTS.md AGENTS.md file
chris-peterson/claudewatch · AGENTS.md
git:20261003.77db300 · audit A · 3 stars
CLAUDE.md CLAUDE.md file
chris-peterson/claudewatch · CLAUDE.md
git:20260508.84b9d8b · audit A · 3 stars
learn SKILL.md skill
chris-peterson/claudewatch · skills/learn/SKILL.md · Analyze the ClaudeWatch decision log to find commands that repeatedly prompt, and propose allow-list entries and rule…
git:20260927.75f4ab9 · audit A · 3 stars

Every file in chris-peterson/claudewatch

Other files named rules

rules SKILL.md skill
code-yeongyu/oh-my-openagent · packages/omo-codex/plugin/components/rules/skills/rules/SKILL.md · Use when the user asks about Codex Rules behavior, injected project rules, supported rule file locations, matching, or…
git:20260603.44361cf · audit A · 70,763 stars
rules Cursor rule
thedaviddias/llms-txt-hub · .cursor/rules/rules.mdc · Rules for placing and organizing Cursor rule files in the repository.
git:20250224.001a864 · audit A · 926 stars
rules SKILL.md skill
kochetkov-ma/claude-brewcode · .codex/plugins/brewcode/skills/rules/SKILL.md · Maintains project .codex/rules and the AGENTS.md rule index. Explicit user invocation only.
git:20260930.2f50853 · audit A · 39 stars
rules SKILL.md skill
kochetkov-ma/claude-brewcode · brewcode/.codex/skills/rules/SKILL.md · Maintains project .codex/rules and the AGENTS.md rule index. Explicit user invocation only.
git:20260930.2f50853 · audit A · 39 stars
rules SKILL.md skill
kochetkov-ma/claude-brewcode · brewcode/skills/rules/SKILL.md · Syncs KNOWLEDGE.jsonl or session learnings to project rules. Triggers: rules, knowledge sync, extract rules.
git:20261017.43a1a80 · audit A · 39 stars
rules SKILL.md skill
mikeprasad/aria-knowledge · plugin-claude-cowork/skills/rules/SKILL.md · Quick lookup into working rules. Use when user says "/aria-cowork:rules", "/aria-cowork:rules 22", "/aria-cowork:rules…
git:20260827.e9e0353 · audit A · 18 stars
rules SKILL.md skill
mikeprasad/aria-knowledge · plugin-openai-codex/skills/rules/SKILL.md · Load and apply ARIA working rules, user rules, examples, and the change decision framework. Trigger on /rules, show…
git:20260725.82f826d · audit A · 18 stars
rules SKILL.md skill
mikeprasad/aria-knowledge · plugin-antigravity/skills/rules/SKILL.md · Quick lookup into working rules. Use when user says '/rules', '/rules 22', '/rules dependencies', 'look up rule…
git:20260725.82f826d · audit B · 18 stars

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