watch-upstream

watch-upstream is a skill for Claude Code from luiseiman/dotforge. It costs 24 tokens per session (1,882 once invoked), scanned B, original, MIT.

A documentation-monitoring tool that checks official Anthropic and Claude Code documentation for changes relevant to dotforge. Anthropic is the company that develops Claude Code; dotforge is the configuration project being monitored.

In plain words
What is it for?
Use it to fetch the official documentation and report changes affecting settings, hooks, memory, sub-agents, or command-line usage.
Why use it?
It reduces the risk of project instructions becoming outdated when Claude Code settings, hooks, commands, or features change.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: mentions subagents; positional $N argument; mentions Claude Code.

Part of the dotforge plugin — 25 skills, 25 commands, 7 agents, 8 hooks shipped together

Good fit Use it to fetch the official documentation and report changes affecting settings, hooks, memory, sub-agents, or command-line usage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luiseiman/dotforge/watch-upstream
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add luiseiman/dotforge --skill watch-upstream
Clone the repo
git clone --depth 1 https://github.com/luiseiman/dotforge

Made for: Claude Code.

Or install dotforge, the plugin that ships this one along with the rest of its 25 skills, 25 commands, 7 agents, 8 hooks.

Wrote 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.

agentmods badge for watch-upstream

README.md
[![agentmods](https://agentmods.dev/badge/skills/luiseiman/dotforge/watch-upstream/github.svg)](https://agentmods.dev/skills/luiseiman/dotforge/watch-upstream)
Your own site
<a href="https://agentmods.dev/skills/luiseiman/dotforge/watch-upstream"><img src="https://agentmods.dev/badge/skills/luiseiman/dotforge/watch-upstream/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.

agentmods 80×15 button for watch-upstream

Your own site · 80×15
<a href="https://agentmods.dev/skills/luiseiman/dotforge/watch-upstream"><img src="https://agentmods.dev/badge/skills/luiseiman/dotforge/watch-upstream.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,882 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.01882
Opus 5.5 $0.00010 $0.00753
Sonnet 5.5 $0.00005 $0.00376
Haiku 4.5 $0.00002 $0.00188

Measured 25d ago against content hash cc44e6050b38, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

watch-upstream scanned grade B with 2 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 25d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

BASE=$(grep -rhoE 'v2\.1\.[0-9]+' "$DOTFORGE_DIR/.claude/rules/domain/" | sort -t. -k3 -n | tail -1)

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

If either tool is not found, fall back to `Bash(curl -s <url>)` for fetching.
skills/watch-upstream/SKILL.md · 143 lines

How it starts

The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Watch Upstream

Detect changes in official Claude Code documentation that may require updates to dotforge.

Step 0: Discover tools

WebFetch and WebSearch are deferred tools — they may not be loaded yet. Run ToolSearch("WebFetch WebSearch") to ensure both tools are available before proceeding. If either tool is not found, fall back to Bash(curl -s <url>) for fetching.

Step 1: Fetch current documentation

Use WebFetch to read these pages directly:

  1. https://code.claude.com/docs/en/overview — main feature list
  2. https://code.claude.com/docs/en/settings — settings.json schema, permissions
  3. https://code.claude.com/docs/en/hooks — hook types, events, matchers
  4. https://code.claude.com/docs/en/memory — memory and context management
  5. https://code.claude.com/docs/en/sub-agents — subagent capabilities (renamed from agent-tool)
  6. https://code.claude.com/docs/en/cli — CLI flags and options

If any URL fails, use WebSearch with query "Claude Code" <topic> site:code.claude.com as fallback.

If a URL returns 404 instead of redirecting, fall back to https://code.claude.com/docs/llms.txt (canonical index) and search for the slug — the new domain reorganized some paths (e.g. agent-tool → sub-agents).

Then search for recent announcements:

  • WebSearch: Claude Code new features 2026
  • WebSearch: Claude Code changelog site:anthropic.com
  • WebSearch: Claude Code hooks settings update site:github.com/anthropics

Budget: WebFetch fails after 5 min per page (CLAUDE_CODE_WEBFETCH_DEADLINE_MS), WebSearch refills 100 calls/hour. Keep the doc fetches to the 6 pages + whats-new and at most 3 searches.

Step 1b: Determine the baseline and the raw changelog delta

WebFetch summarizes the CHANGELOG through a small model and silently drops bullets when the delta is large (2026-10-06: 60 of 73 versions lost). Never classify from a WebFetch summary of the changelog — use the raw file:

# Baseline = newest version already cited in the domain rules
BASE=$(grep -rhoE 'v2\.1\.[0-9]+' "$DOTFORGE_DIR/.claude/rules/domain/" | sort -t. -k3 -n | tail -1)
curl -sL https://raw.githubusercontent.com/anthropics/claude-code/main/CHANGELOG.md -o "$SCRATCH/CHANGELOG.md"
HEAD=$(grep -m1 '^## 2\.1\.' "$SCRATCH/CHANGELOG.md" | awk '{print $2}')
END=$(grep -n "^## ${BASE#v}$" "$SCRATCH/CHANGELOG.md" | cut -d: -f1)
sed -n "1,$((END-1))p" "$SCRATCH/CHANGELOG.md" > "$SCRATCH/changelog-slice.md"
echo "delta: $BASE → $HEAD, $(grep -c '^## ' "$SCRATCH/changelog-slice.md") versions"

Read the full file on GitHub · 143 lines

Changes

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.

  1. 25d ago Changed · +9 lines cc44e6050b38
  2. 1mo ago Changed · +26 lines scan A → B e59d9869b570
  3. 3mo ago First seen · 108 lines · 24 tokens per session scan A 1f47e0b9bf89

Subscribe to this mod's changes

watch-upstream is a skill published in the GitHub repository luiseiman/dotforge (8 stars, last pushed 26d ago), licensed MIT. It adds 24 tokens to every session and 1,882 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

watch-upstream compared with skills from other repositories

watch-upstream next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
watch-upstreamluiseiman/dotforgeSkill826d agoMITB24Claude Code
zephermineDannykkh/skill-olympusSkill96d agoMITA97Codex
design-planDannykkh/skill-olympusSkill96d agoMITA108Codex
agent-teamDannykkh/skill-olympusSkill96d agoMITA132Claude Code, Codex
clioDannykkh/skill-olympusSkill96d agoMITA107Claude Code, Codex
frontend-designDannykkh/skill-olympusSkill96d agoMITA92Claude Code, Codex
argosDannykkh/skill-olympusSkill96d agoMITA89Claude Code, Codex