scout-repos
Skill8 starsChanged 7 months agoMITView on GitHub
Fetch .claude/ configs from curated repos in sources.yml, compare against dotforge template, report novel patterns.
In this repository20 other files it gives its agents.
- .claude/rules/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- audit-projectSkill
- bootstrap-projectSkill
- capture-practiceSkill
- diff-projectSkill
- domain-extractSkill
- export-configSkill
- forge-behaviorSkill
- init-projectSkill
- learn-projectSkill
- mcp-addSkill
- plugin-generatorSkill
- reset-projectSkill
- rule-effectivenessSkill
- session-insightsSkill
- sync-all-reposSkill
- sync-templateSkill
- update-practicesSkill
- watch-upstreamSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 1 is distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
7
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 17
Read $DOTFORGE_DIR/practices/sources.yml.
- Very specific: line 35
If gh fails (rate limit, private repo), try WebFetch on the raw GitHub URL:
- Distinctive: line 41
If both fail, skip the repo and note it in the report.
- Very specific: line 75
Novel: not in dotforge → high interest, describe what it does and where it would go
- Very specific: line 125
DO NOT modify any dotforge files.
- Very specific: line 126
DO NOT clone repos locally.
- Very specific: line 128
If a repo has no .claude/ directory, check for CLAUDE.md only.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Scout Repos
Review curated public repos for Claude Code configuration patterns worth adopting.
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.
Step 1: Load sources
Read $DOTFORGE_DIR/practices/sources.yml. Build a list of repos with their focus areas.
Step 2: Fetch each repo's config
For each source, use gh CLI to fetch their Claude Code configuration files:
# Fetch CLAUDE.md
gh api repos/{owner}/{repo}/contents/CLAUDE.md --jq '.content' | base64 -d 2>/dev/null
# Fetch .claude/ directory listing
gh api repos/{owner}/{repo}/contents/.claude --jq '.[].name' 2>/dev/null
# Fetch specific files
gh api repos/{owner}/{repo}/contents/.claude/settings.json --jq '.content' | base64 -d 2>/dev/null
gh api repos/{owner}/{repo}/contents/.claude/rules --jq '.[].name' 2>/dev/nullIf gh fails (rate limit, private repo), try WebFetch on the raw GitHub URL:
https://raw.githubusercontent.com/{owner}/{repo}/main/CLAUDE.md
https://raw.githubusercontent.com/{owner}/{repo}/main/.claude/settings.jsonIf both fail, skip the repo and note it in the report.
Step 3: Analyze patterns
For each repo's config, extract patterns in the source's focus areas:
Hooks
- New hook event/matcher combinations not in dotforge
- Novel blocking logic (different from block-destructive or lint-on-save)
- Hook chaining patterns
Settings
- Deny list entries we don't have
- Permission patterns (granular vs wildcard)
- Hook wiring approaches
Rules
- Globs patterns we don't use
- Rule content structure (frontmatter fields, sections)
- Cross-file rule dependencies
Agents
- Agent definitions with novel roles
- Memory policies different from ours
- Orchestration patterns
Commands/Skills
- Custom commands we could generalize
- Skill structures with novel step patterns
Step 4: Compare against dotforge
For each discovered pattern, classify:
- Novel: not in dotforge → high interest, describe what it does and where it would go
- Variant: similar approach but different implementation → medium interest, note tradeoffs
- Superior: does what dotforge does but better → high interest, describe improvement
- Covered: dotforge already has this → skip
- Incompatible: conflicts with dotforge philosophy (e.g., too complex, too opinionated) → skip with note
Step 5: Report
═══ SCOUT REPOS ═══
Date: {{YYYY-MM-DD}}
Repos analyzed: {{N}}/{{total}}
Repos skipped: {{list of inaccessible repos}}
── NOVEL PATTERNS ──
{{repo}} (focus: {{areas}})
🆕 {{pattern name}}
What: {{description}}
Where: {{file in their repo}}
Impact on dotforge: {{which files would change}}
Effort: {{low|medium|high}}
── SUPERIOR PATTERNS ──
{{repo}}
⬆️ {{pattern name}}
Theirs: {{what they do}}
Ours: {{what we do}}
Why theirs is better: {{reason}}
── VARIANTS ──
{{repo}}
🔀 {{pattern name}}
Difference: {{what's different}}
Tradeoff: {{why we might or might not adopt}}
── SUMMARY ──
Novel: {{N}} | Superior: {{N}} | Variants: {{N}} | Covered: {{N}}
Repos with most learnings: {{top 2-3 repos}}
── NEXT STEPS ──
For each novel/superior pattern:
/forge capture "{{description from {{repo}}}}"
Then: /forge update to evaluate and incorporate.Constraints
- DO NOT modify any dotforge files. Report only.
- DO NOT clone repos locally. Use
gh apior WebFetch for read-only access. - Respect rate limits — fetch only files relevant to the source's
focusareas. - If a repo has no
.claude/directory, check forCLAUDE.mdonly. Skip if neither exists. - Maximum 10 repos per run to avoid rate limiting.
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.

