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.
mdr add chris-peterson/claudewatch/rules@git:20260924.3b681a3Pins 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
mdr add chris-peterson/claudewatch/rules@sha256:fd074c4061938025The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260924.3b681a3 latest | 2026-09-24 | 3b681a3 | 5,874 B | A | view · diff |
| git:20260705.3262d6a | 2026-07-05 | 3262d6a | 5,872 B | A | view · diff |
| git:20260702.5fc47cc | 2026-07-02 | 5fc47cc | 5,272 B | A | view · diff |
| git:20260630.8f91666 | 2026-06-30 | 8f91666 | 5,235 B | B | view · diff |
| git:20260623.f75e2ab | 2026-06-23 | f75e2ab | 5,347 B | B | view · diff |
| git:20260323.92cfa7e | 2026-03-23 | 92cfa7e | 5,331 B | B | 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 (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
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
Every file in chris-peterson/claudewatch