watch-patterns skillB
watch-patterns is agent-read markdown (skill) from komluk/scaffolding: Correct watcher construction for long-running operations. TRIGGER when: watching a long-running operation (CI, deploy, log stream), writing poll/until loops, or using the Monitor tool. SKIP: production alerts/metrics (use monitoring-observability); log formatting (use logging-standards); diagnosing the bug (use systematic-debugging)..
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
# Watch Patterns Skill ## Purpose How to observe long-running operations correctly. Anyone can run a loop — the value is a watcher that **never lies**: it terminates, it detects failure as reliably as success, and its silence is never mistaken for progress. Key architectural fact: a subagent cannot hold a long-lived observation. Notifications from an armed `Monitor` land in the conversation that armed it; a subagent finishes and dies. Observation is therefore always armed by the main loop — this skill is loadable anywhere for exactly that reason. ## Auto-Invoke Triggers - Watching a CI run, deployment, file transfer, GC/prune job, or log stream - Writing any poll/`until` loop over a remote or local state - Using the `Monitor` tool or `Bash(run_in_background)` for observation --- ## Decision Tree — Choose the Mechanism FIRST The single most common failure is picking the wrong mechanism. Decide BEFORE writing any script: | Situation | Mechanism | |-----------|-----------| | "Is it done *now*?" — answerable immediately | **One-shot check.** Single command, no loop, no monitor. | …
Read the whole file at its exact version.
How to install
mdr add komluk/scaffolding/watch-patterns@git:20260921.7dfd510mdr add komluk/scaffolding/watch-patterns@sha256:60adb0126c957252Pin 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_3drwpsodulnbh7tu)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260921.7dfd510 latest | 2026-09-21 | 7dfd510 | 9,448 B | B | view · diff |
| git:20260730.f9501dd | 2026-07-30 | f9501dd | 9,451 B | B | view |
Audit of the latest version
- fail: No link to a raw IP address (matched: http://127.0.0.1:1)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9448 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 script tag
Source
komluk/scaffolding · 15 stars · license MIT · pushed 2026-09-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_3drwpsodulnbh7tu GET https://markdownregistry.com/api/v1/resolve?ref=komluk/scaffolding/watch-patterns GET https://markdownregistry.com/api/v1/blob/60adb0126c9572529ed59630515f51b70c8a34b09ae48e8637acd50b8ecf51af
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.