Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/assafkip/investigators-copilotnpx agentmods add commands/assafkip/investigators-copilot/q-watchWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/assafkip/investigators-copilot/q-watch)<a href="https://agentmods.dev/commands/assafkip/investigators-copilot/q-watch"><img src="https://agentmods.dev/badge/commands/assafkip/investigators-copilot/q-watch/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/assafkip/investigators-copilot/q-watch"><img src="https://agentmods.dev/badge/commands/assafkip/investigators-copilot/q-watch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00693 |
| Opus 5.5 | $0.00000 | $0.00277 |
| Sonnet 5.5 | $0.00000 | $0.00139 |
| Haiku 4.5 | $0.00000 | $0.00069 |
Grade A, and why
q-watch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 15d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Monitor case URLs and profiles for changes, and route every change into the evidence chain.
Active case: read the case folder name from the first line of .active-case (written by /q-begin and /q-new-case). The watch store lives at investigations/<case>/memory/watch.jsonl (append-only). If .active-case is missing or empty, ask the founder which case to use.
Backends (auto-selected):
changedetection-- whenCHANGEDETECTION_URLandCHANGEDETECTION_API_KEYare set, URLs are registered in a self-hosted changedetection.io (tagged with the case name) and itslast_changedis read on each poll. Start one withdocker run -d -p 5000:5000 --name changedetection dgtlmoon/changedetection.io, then Settings > API for the key.local-- no server needed:watch.pyfetches each URL itself and compares a SHA-256 of the normalised body (scripts/styles stripped). An empty body is an error, never a "change".- Optional: a self-hosted sosse (AGPL, separate service, never imported) can crawl and diff whole sites on a schedule; use it alongside this store, not instead of the EV capture step.
Steps:
- Parse
$ARGUMENTS:add <url> [label],remove <url>,list, orpoll [--capture]. Default islist. - Run the matching command:
python3 skills/osint/scripts/watch.py add "<url>" --label "<label>" python3 skills/osint/scripts/watch.py list python3 skills/osint/scripts/watch.py poll # report only python3 skills/osint/scripts/watch.py poll --capture # changed URLs -> capture-evidence.sh --batch python3 skills/osint/scripts/watch.py remove "<url>" pollis bounded:--max 50watches and--deadline 300seconds per run by default. If it reports watches left over, say so; do not loop it.- A
changedresult is a LEAD (T3). Only the EV-NNNN item created by--capture(throughcapture-evidence.sh) may be cited. If the batch capture fail-stops (INCOMPLETE item), stop and tell the founder which URL and why (.claude/rules/evidence-capture-protocol.md). - For a social profile, prefer
capture-evidence.sh <url> <slug> --socialon the changed URL so media lands in the same EV item. - Report: watches polled, changed (with the new EV IDs), errors (URL + error), and anything not polled this run.
Rules:
- Never edit
watch.jsonlby hand; it is an append-only history. - Login walls / challenge pages / 403s on poll are blocked extractions: stop and tell the founder (
.claude/rules/q-investigation.md).
Argument: $ARGUMENTS (optional: add <url> [label] | remove <url> | list | poll [--capture])
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 15d ago First seen · 30 lines · 0 tokens per session scan A fe9789fc4d84
q-watch is a command published in the GitHub repository assafkip/investigators-copilot (77 stars, last pushed 28d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 693 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-15.
q-watch compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| q-watchassafkip/investigators-copilot | Command | 77 | 28d ago | MIT | A | 0 | Claude Code |
| q-client-questionsassafkip/huntkit | Command | 53 | 1mo ago | MIT | A | 0 | Claude Code |
| q-new-caseassafkip/huntkit | Command | 53 | 1mo ago | MIT | A | 0 | Claude Code |
| q-screenshotsassafkip/huntkit | Command | 53 | 1mo ago | MIT | A | 0 | Claude Code |
| q-endassafkip/huntkit | Command | 53 | 1mo ago | MIT | A | 0 | Claude Code |
| q-intakeassafkip/huntkit | Command | 53 | 1mo ago | MIT | A | 0 | Claude Code |
| q-osintassafkip/huntkit | Command | 53 | 1mo ago | MIT | A | 0 | Claude Code |