learn skillA
learn is agent-read markdown (skill) from chris-peterson/claudewatch: Analyze the ClaudeWatch decision log to find commands that repeatedly prompt, and propose allow-list entries and rule tweaks that cut prompt fatigue — reviewed as one batch, then reset the log..
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
# ClaudeWatch — learn
ClaudeWatch watches every command and records its decision; this skill is the
*learn* step that turns those recordings into suggestions. You vet a window's
worth of accumulated prompts once, as a batch, instead of pressing enter on
each one. It is the replacement for the generic transcript-scanning approach:
it works from the hook's own decisions, so it knows what ClaudeWatch allowed,
asked, and blocked — not just what looked read-only.
## 0. Prerequisite: a decision log to learn from
Logging is **on by default** — the hook writes to
`~/.claude/claudewatch/decisions.jsonl` unless `CLAUDEWATCH_LOG` is set to an
opt-out value (`off`, `0`, `false`, `none`, or empty). Each `Bash` record stores
the command *shape* (`git push`, not the full command with its arguments), never
the raw command, so inline secrets stay out of the plaintext log; the file is
owner-only (`0600`). Two states block a learn pass; distinguish them before doing
anything else.
First, check whether logging has been turned off:
```bash
echo "CLAUDEWATCH_LOG=[${CLAUDEWATCH_LOG:-<unset>}]"
```
- **`off` / `0` / `false` / `none` / empty** — logging is **disabled**. Warn the
…Read the whole file at its exact version.
How to install
mdr add chris-peterson/claudewatch/learn@git:20260827.34d2077mdr add chris-peterson/claudewatch/learn@sha256:39857739f0c81715Pin 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.
[](https://markdownregistry.com/a/art_5vvguzc2ttskcxjq)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260827.34d2077 latest | 2026-08-27 | 34d2077 | 8,209 B | A | view · diff |
| git:20260820.3125eb5 | 2026-08-20 | 3125eb5 | 7,950 B | A | view · diff |
| git:20260705.3262d6a | 2026-07-05 | 3262d6a | 7,735 B | A | view · diff |
| git:20260702.5fc47cc | 2026-07-02 | 5fc47cc | 7,633 B | A | view · diff |
| git:20260630.8f91666 | 2026-06-30 | 8f91666 | 7,647 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 (8209 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-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_5vvguzc2ttskcxjq GET https://markdownregistry.com/api/v1/resolve?ref=chris-peterson/claudewatch/learn GET https://markdownregistry.com/api/v1/blob/39857739f0c81715b014f182101aab22e736b6cbd4874808b5205b7c3149fa7d
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
Every file in chris-peterson/claudewatch