watch-upstream
Skill8 starsChanged 7 months agoMITView on GitHub
Fetch official Anthropic/Claude Code docs, detect changes relevant to dotforge, report deltas.
In this repository21 other files it gives its agents.
- .claude/rules/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- audit-projectSkill
- benchmarkSkill
- bootstrap-projectSkill
- capture-practiceSkill
- diff-projectSkill
- domain-extractSkill
- export-configSkill
- forge-behaviorSkill
- init-projectSkill
- learn-projectSkill
- mcp-addSkill
- plugin-generatorSkill
- reset-projectSkill
- rule-effectivenessSkill
- scout-reposSkill
- session-insightsSkill
- sync-all-reposSkill
- sync-templateSkill
- update-practicesSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Run ToolSearch("WebFetch WebSearch") to ensure both tools are available before proceeding.
- Very specific: line 14
If either tool is not found, fall back to Bash(curl -s <url>) for fetching.
- Distinctive: line 18
Use WebFetch to read these pages directly:
- Very specific: line 27
If any URL fails, use WebSearch with query "Claude Code" <topic> site:code.claude.com as fallback.
- Very specific: line 29
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 — …
- Very specific: line 104
DO NOT modify any dotforge files.
- Very specific: line 105
DO NOT auto-create practices.
- Distinctive: line 106
If web fetch fails, report clearly — don't guess or hallucinate features.
- Distinctive: line 107
If no changes detected, report "No relevant changes found" — this is a valid outcome.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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:
https://code.claude.com/docs/en/overview— main feature listhttps://code.claude.com/docs/en/settings— settings.json schema, permissionshttps://code.claude.com/docs/en/hooks— hook types, events, matchershttps://code.claude.com/docs/en/memory— memory and context managementhttps://code.claude.com/docs/en/sub-agents— subagent capabilities (renamed from agent-tool)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
Step 2: Extract and classify changes
For each finding, check if it affects dotforge:
| What to look for | Where it impacts dotforge |
| New hook event types (beyond PreToolUse/PostToolUse/Stop) | template/hooks/, stacks/*/hooks/ |
| New settings.json fields or changed schema | template/settings.json.tmpl, global/settings.json.tmpl |
| New permission categories | stacks/*/settings.json.partial |
| Changed deny list behavior | template/settings.json.tmpl deny section |
| New agent/subagent capabilities | agents/*.md |
| New skill/command system features | skills/*/SKILL.md |
| Deprecated features or breaking changes | Any affected file |
| New CLI flags relevant to automation | skills/benchmark/SKILL.md (uses claude --print) |
| MCP server changes | global/settings.json.tmpl |
Ignore: pricing, model releases (unless affecting tool use), marketing.
Step 3: Compare against dotforge
For each relevant finding, check the current state:
# Search template for existing coverage
grep -r "<keyword>" template/ stacks/ global/ agents/ skills/Classify each finding:
- Gap: dotforge doesn't cover this at all
- Partial: dotforge covers this but is outdated or incomplete
- Covered: dotforge already handles this correctly
- Breaking: dotforge does something that conflicts with the new behavior
Step 4: Report
═══ WATCH UPSTREAM ═══
Date: {{YYYY-MM-DD}}
Sources fetched: {{N}} docs, {{N}} search results
── CHANGES DETECTED ──
🆕 NEW: {{title}}
Source: {{url}}
Impact: {{which dotforge files would change}}
Priority: {{high|medium|low}}
⚠️ BREAKING: {{title}}
Source: {{url}}
Current dotforge behavior: {{what we do now}}
Required change: {{what needs to change}}
📝 PARTIAL: {{title}}
Source: {{url}}
What's covered: {{existing coverage}}
What's missing: {{gap}}
── SUMMARY ──
Gaps: {{N}} | Partial: {{N}} | Breaking: {{N}} | Covered: {{N}}
── NEXT STEPS ──
For each gap/partial/breaking, run:
/forge capture "{{description}}"
Then: /forge update to evaluate and incorporate.Constraints
- DO NOT modify any dotforge files. Report only.
- DO NOT auto-create practices. Suggest
/forge capturecommands for the user. - If web fetch fails, report clearly — don't guess or hallucinate features.
- If no changes detected, report "No relevant changes found" — this is a valid outcome.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

