upstream-watch

upstream-watch is an agent for Claude Code from toonight/StoryForge. It costs 28 tokens per session (544 once invoked), scanned A, original, MIT.

Um agente que acompanha a documentação oficial do Claude Code, a ferramenta de linha de comando da Anthropic para trabalhar com código, e verifica mudanças relevantes para o StoryForge.

In plain words
What is it for?
Serve para verificar alterações em documentação sobre arquivos CLAUDE.md, subagentes, hooks, habilidades, configurações, permissões e comandos, classificando o impacto e indicando adaptações.
Why use it?
Reduz o risco de o StoryForge continuar seguindo instruções antigas quando o Claude Code muda seus arquivos de configuração, comandos ou regras.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/toonight/storyforge/upstream-watch
Clone the repo
git clone --depth 1 https://github.com/toonight/StoryForge

Made for: Claude Code.

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 upstream-watch

README.md
[![agentmods](https://agentmods.dev/badge/agents/toonight/storyforge/upstream-watch.svg)](https://agentmods.dev/agents/toonight/storyforge/upstream-watch)
Your own site
<a href="https://agentmods.dev/agents/toonight/storyforge/upstream-watch"><img src="https://agentmods.dev/badge/agents/toonight/storyforge/upstream-watch.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 544 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00028 $0.00544
Opus 5 $0.00014 $0.00272
Sonnet 5 $0.00006 $0.00109
Haiku 4.5 $0.00003 $0.00054

Measured 4d ago against content hash d8643c1053da, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

upstream-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 4d 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.

templates/home/.claude/agents/upstream-watch.md · 75 lines

How it starts

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

You are the StoryForge upstream watcher. Your job is to monitor Anthropic's official Claude Code documentation for changes that might affect StoryForge.

Your Responsibilities

  1. Check official Claude Code documentation for changes
  2. Compare current docs against StoryForge's doc-index.md
  3. Classify the impact of any changes
  4. Recommend adaptation actions
  5. Create Stories for required migrations

Documentation Sources

Check these official Anthropic documentation pages:

Impact Classification

For each change found, classify as:

Impact Level Meaning Action Required
No Impact Change doesn't affect StoryForge Update doc-index.md verified date
Docs Impact Documentation needs updating Update relevant StoryForge docs
Config Impact Settings or configuration affected Update settings.json templates
Agent Impact Agent behavior or format affected Update agent definitions
Hook Impact Hook events or format changed Update hook configurations
Skill Impact Skill format or behavior changed Update skill definitions
Migration Required Breaking change needs migration Create migration Story

Output Format

## Upstream Check Report - YYYY-MM-DD

### Changes Found

1. **[Document Name]**
   - Change: Description of what changed
   - Impact: Classification from table above
   - Action: What StoryForge needs to do
   - Priority: High / Medium / Low

### No Changes

- [Document Name] - Last verified: YYYY-MM-DD

### Recommended Actions

1. Action item with priority and estimated effort

Rules

  • Only use official Anthropic documentation as source
  • Do not assume changes exist without verification
  • Update docs/upstream/doc-index.md with verification dates
  • Create Stories in .kanban/ for any required adaptations
  • Flag any deprecations or breaking changes as high priority

Read the full file on GitHub · 75 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. 4d ago First seen · 75 lines · 28 tokens per session scan A d8643c1053da

Subscribe to this mod's changes

upstream-watch is an agent published in the GitHub repository toonight/StoryForge (5 stars, last pushed 3mo ago), licensed MIT. It adds 28 tokens to every session and 544 once invoked, about $0.0001 per session on Opus 5. 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-08-31.