Skip to content
Back to skills

Watch Change

ASecurity

Watch a change after it lands, at checkpoints 1 h, 3 h and 12 h from now by default, polling a per-change check every 10 minutes. On an issue, fix it test first and restart the whole schedule, until one full clean pass or three restarts. Use for "watch this change", "monitor this for 1h, 3h, 12h", "watch it overnight", "keep an eye on this change", "monitor for a day", "soak this", or after shipping a job, deploy or automation change whose failures only show up over time.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 28, 2026
businessbash

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned November 28, 2026

npx -y skills add trampo-framework/trampo --skill watch-change --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Watch Change?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Watch Change
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/trampo-framework-watch-change/badge)](https://www.skillsdirectory.com/skills/trampo-framework-watch-change)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: watch-change
description: Watch a change after it lands, at checkpoints 1 h, 3 h and 12 h from now by default, polling a per-change check every 10 minutes. On an issue, fix it test first and restart the whole schedule, until one full clean pass or three restarts. Use for "watch this change", "monitor this for 1h, 3h, 12h", "watch it overnight", "keep an eye on this change", "monitor for a day", "soak this", or after shipping a job, deploy or automation change whose failures only show up over time.
---

# watch-change

`${CLAUDE_PLUGIN_ROOT}/skills/watch-change/watch.sh` keeps each monitor in `~/.claude/state/watch-change/<slug>/`
(`WATCH_CHANGE_HOME` moves it): `config`, `check.sh`, `run`, one `run-N.log` per run, `fixes.md`, `done`. On disk, a
monitor survives compaction and reboots, and several can run at once.

The waiter runs in this session's background, so the session must stay open; a sleeping machine pauses the polls. Put
one task on the list per checkpoint, plus one for the on-pass step, before you start.

## 1. Arm

```bash
W=${CLAUDE_PLUGIN_ROOT}/skills/watch-change/watch.sh
bash "$W" arm <slug> [1h 3h 12h] [--every 10m] [--then "<step to run after a clean pass>"]
```

- Checkpoints count from the start of the run: `1h 3h 12h` is a 12 h watch.
- **The last checkpoint must cover the rarest event the check reads.** A nightly job needs `1d 2d`; a weekly job needs
  `8d`.
- `--then` is whatever the person asked to happen afterwards (close the session, post a summary). Record it verbatim.

## 2. Write `check.sh`

Replace `$WATCH_DIR/check.sh` (a template that fails until filled in). The contract: a problem prints
`ISSUE: <what>` and exits 1; healthy exits 0 with a one-line summary as its last line (`free=54G errors=0`). Fast,
read-only, no prompts. `$WATCH_DIR` holds state between polls (a baseline, the previous poll time). Shapes to start
from: `reference/examples.md`.

Check what the change can break, not only that it ran: the job's exit status, its error output, the thing it acts on,
and anything that must happen on its schedule.

**Baseline:** run it once by hand (`WATCH_DIR=... bash check.sh`) and confirm it passes now, then break one input and
confirm it fails. A check that cannot fail watches nothing.

## 3. Wait

```bash
bash "$W" wait <slug>     # in the background; one waiter per monitor
```

Exit codes, reported when the background task ends:

| Exit | Meaning | Do |
|---|---|---|
| 10 | an earlier checkpoint passed | Complete its task, give the person one line (`+3h PASS, free=54G`), start `wait` again |
| 0 | the last checkpoint passed | Section 5 |
| 1 | `ISSUE` | Section 4 |

Do not poll between notifications. After a reboot or a lost session, `bash "$W" status` lists every monitor and
`wait <slug>` picks the run up where its log left off.

## 4. On an issue

Diagnose before touching anything. Then one of:

- **The change is wrong.** Fix the root cause test first, push it the way the repository pushes, then
  `bash "$W" restart <slug> "real: <cause>, fixed in <commit>"` and `wait` again. The schedule starts over.
- **The check is wrong** (a false alarm, a threshold too tight). Fix `check.sh`, then
  `restart <slug> "check: <what changed and why>"`. Loosening a check needs the reason in that line; never pass by
  weakening the check.
- **The fix needs a person** (an approval, a credential, a production deploy, a decision). Stop and ask; restart only
  after the answer.

`restart` refuses (exit 3) after three restarts. Then stop and report: three failed fixes usually mean the change itself
is wrong.

## 5. On a clean pass

Report each checkpoint's result, every restart with its reason and commit (`fixes.md`), and the range of the summary
lines across the run. Then run the `then:` step it printed, and the session's own close step if it has one. Complete
the tasks.

Finished monitors are deleted 30 days after they pass, the next time one is armed.

Tests: `bash ${CLAUDE_PLUGIN_ROOT}/skills/watch-change/watch.test.sh`.

Files in this skill

  • SKILL.md3.9 KB
  • check.template.sh372 B
  • reference/examples.md2.2 KB
  • watch.sh3.6 KB
  • watch.test.sh3.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.