AGENTS.md agentsA

AGENTS.md is agent-read markdown (agents) from chris-peterson/claudewatch.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# AGENTS.md — Working on ClaudeWatch

This is the build philosophy and key constraints document for ClaudeWatch.
The contract lives in [`SPEC.md`](SPEC.md); this document captures the *how to
think about it*. Every Claude Code session should read this before making
non-trivial changes.

## What ClaudeWatch is

A Claude Code plugin that wraps every shell invocation — `Bash` and `Monitor`,
which runs its command in the same shell — in a `PreToolUse` hook and applies
regex-based safety rules. The core safety advantage over Claude
Code's built-in deny rules is that patterns match **anywhere** in the command
string (`re.search()`), so compound commands (`git add . && git push --force`),
heredocs, and reordered flags are not bypassable by syntactic tricks.

## Core contracts (don't break these)

1. **Determinism.** Given the same command, the same `cwd` and project root, the
   same `watches/` tree, and the same on-disk state of the paths those name, the
   engine must always produce the same *decision*.
   No clocks, no randomness, no network on the decision path. `cwd` and
   `CLAUDE_PROJECT_DIR` enter the decision only as the deterministic per-invocation
…

Read the whole file at its exact version.

How to install

Latest version
mdr add chris-peterson/claudewatch/AGENTS.md@git:20260919.4ac4e46
Exact content
mdr add chris-peterson/claudewatch/AGENTS.md@sha256:bfb9c930c848c522

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_27f2gupzkbuhdewg.svg)](https://markdownregistry.com/a/art_27f2gupzkbuhdewg)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260919.4ac4e46 latest2026-09-19 4ac4e46 12,678 BA view · diff
git:20260829.d49f31f2026-08-29 d49f31f 11,342 BA view · diff
git:20260822.d40baef2026-08-22 d40baef 11,352 BA view · diff
git:20260820.c27c91c2026-08-20 c27c91c 10,923 BA view · diff
git:20260820.3125eb52026-08-20 3125eb5 10,508 BA view

Audit of the latest version

A  14 of 14 checks passed. Deterministic, no model, same answer every run.
  • pass: Size between 200 bytes and 200 KB (12678 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-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_27f2gupzkbuhdewg
GET https://markdownregistry.com/api/v1/resolve?ref=chris-peterson/claudewatch/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/bfb9c930c848c5224adf64acc2a970c35677a84b150eb4c7285b26f566ff7a6b

Your agent 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.

More from chris-peterson/claudewatch

CLAUDE.md claude
chris-peterson/claudewatch · CLAUDE.md
git:20260508.84b9d8b · audit A · 3 stars
learn 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:20260827.34d2077 · audit A · 3 stars
rules skill
chris-peterson/claudewatch · skills/rules/SKILL.md · View and interactively edit ClaudeWatch safety rules — list each rule set's block/ask rules as tables, then add, move…
git:20260705.3262d6a · audit A · 3 stars

Every file in chris-peterson/claudewatch

Other files named AGENTS.md

AGENTS.md agents
obra/superpowers · AGENTS.md
git:20260919.5bf4e78 · audit A · 291,204 stars
AGENTS.md agents
affaan-m/ecc · AGENTS.md
git:20260919.91ba9b4 · audit A · 266,832 stars
AGENTS.md agents
firecrawl/firecrawl · AGENTS.md
git:20260613.d9a35c0 · audit A · 184,144 stars
AGENTS.md agents
dietrichgebert/ponytail · AGENTS.md
git:20260710.b6c0448 · audit A · 144,862 stars
AGENTS.md agents
garrytan/gstack · AGENTS.md
git:20260914.4a3c6a8 · audit A · 134,082 stars
AGENTS.md agents
graphify-labs/graphify · AGENTS.md
git:20260414.7ec92ec · audit A · 121,202 stars
AGENTS.md agents
juliusbrussee/caveman · AGENTS.md
git:20260902.d9faebc · audit A · 107,708 stars
AGENTS.md agents
addyosmani/agent-skills · AGENTS.md
git:20260709.b665c5c · audit A · 98,554 stars

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