egm-bootstrap
Skill0 starsChanged 41 days agoApache-2.0View on GitHub
Bootstrap directory README.md files across a repository subtree.
- Reads credentials
3 other projects use a version of this, 3 of them edited.
Adopted by
Most recently taken up by
- marcelosf80/dsh-elephant-goldfishedited, first seen Nov 29, 2026
- serguei9090/VibeGraphedited, first seen Nov 16, 2026
- google/elephant-goldfish-modeledited, first seen Nov 1, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- google/elephant-goldfish-model★ 24k14% same
- serguei9090/VibeGraph★ 185% same
- marcelosf80/dsh-elephant-goldfish★ 082% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/claude.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/egm.mdcCursor rule
- egm-brainstormSkill
- egm-draftSkill
- egm-drift-reportSkill
- egm-resolveSkill
- egm-review-loopSkill
- egm-reviewSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
42 rules. 9 are common, 9 are distinctive, and 24 are very specific to this project.
9
Common
Most of the 3 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
24
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
When running in Codex or ChatGPT Work, first read Codex integration.
- Distinctive: line 35
If your harness has no subagent tool, run the scout steps inline.
- Common: line 53
VCS Isolation: Do not perform any version control commits (git commit, git add).
- Distinctive: line 59
No concurrent workers may write to the same file simultaneously.
- Common: line 60
Tool Usage (CRITICAL): Use your shell, file-reading, file-writing, and file-editing tools for directory discovery and contract/README …
- Very specific: line 66
Preserve User-Authored Documentation: NEVER overwrite existing user-authored documentation without comparing changes and obtaining explicit …
- Distinctive: line 68
Deterministic & Grounded Generation: Keep generated contracts deterministic to avoid documentation churn.
- Common: line 72
Mandatory Safety Gate (CRITICAL): If you discover more than 15 subdirectories, you MUST immediately request user approval (using a …
- Very specific: line 96
Check the is_worker input parameter.
- Very specific: line 97
If is_worker is true, jump directly to Step 4: Sub-Orchestrator Worker Flow to process the assigned sub_tree_root.
- Very specific: line 99
If is_worker is false or unset, proceed as the Root Orchestrator to
- Very specific: line 113
Read .gitignore and .egmignore (if present) and ignore matching glob patterns.
- Common: line 130
If the user selects abort, terminate execution immediately.
- Common: line 166
If the total count of pruned directories is 5 or fewer, execute the bottom-up documentation directly in the current thread.
- Very specific: line 183
If the count of nodes at depth is between 3 and 5: select these nodes as subtree partition roots.
- Very specific: line 185
If the count of nodes at depth < 3: increment depth (up to a max of 3) and repeat step 2.
- Very specific: line 187
If the count of nodes at depth > 5: group the largest branches (by total nested folder count) into 3-4 separate partitions, combine the …
- Very specific: line 210
Scout Registration: Use a read-only goldfish-explorer scout.
- Very specific: line 226
Correction & Modification Policy: Check if target_filename (default: README.md) already exists in D.
- Very specific: line 229
If target_filename exists, do not overwrite it completely.
- Distinctive: line 259
Test files are completely ignored.
- Very specific: line 267
Parent Context Propagation: When processing a parent directory P, retrieve the compiled interface summaries of its immediate child …
- Common: line 272
If the child was documented during this run, retrieve its public interface directly from the in-memory execution cache.
- Common: line 274
If the child was corrected/modified (Correction Policy), use the merged legacy extraction symbols.
- Very specific: line 281
If the project uses Bazel/BUILD files: check if a BUILD file exists in D or the nearest ancestor, referencing bazel test / bazel build.
- Very specific: line 283
If the project uses other manifests (package.json, Cargo.toml, go.mod, pyproject.toml, Makefile), populate with the corresponding test …
- Common: line 286
If no verification command is identified, omit or use a placeholder.
- Very specific: line 301
Relative Links to Existing Files Only: Use relative paths (e.g., ./child/${target_filename} or ../sibling/${target_filename}) for child …
- Common: line 311
Absolute Links: Use standard URLs or repository paths for referencing files outside the package subsystem (e.g., cross-package …
- Very specific: line 324
If is_worker is true, return this JSON payload (matching the Worker Return Interface Schema) to the Root Orchestrator and terminate.
- Very specific: line 336
Root Fault Tolerance: If a parallel worker fails or times out, log a warning, insert a placeholder warning link ([Subtree Root] …
- Distinctive: line 351
Ensure clean formatting and valid relative links for each Intermediate Blueprint contract file.
- Very specific: line 357
Check if target_filename already exists in path.
- Very specific: line 361
Check if path itself contains any direct source files.
- Very specific: line 367
Write the root target_filename using your file-writing tool.
- Distinctive: line 373
MUST explicitly read every single created or modified contract file to verify its content.
- Very specific: line 376
EGM Compliance: Ensure Interface, Invariants, and Side Effects sections exist and are populated.
- Distinctive: line 378
Markdown Syntax: Ensure clean headers, valid tables, and proper code block fences.
- Very specific: line 379
Valid & Resolvable Links (CRITICAL): Ensure all subdirectory and sibling links use valid relative paths (./subdir/${target_filename} or …
- Distinctive: line 384
Valid Targets: Verify verification targets match project test configuration.
- Distinctive: line 386
Optional Drift Review (CRITICAL): After verification, ask the user (using a structured question tool, if your harness has one, or plain …
- Very specific: line 394
If the user selects "Yes", run the egm-drift-report skill targeting the modified contracts to verify that the documentation accurately …
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
EGM Peanuts and Hay Bootstrap (egm-bootstrap)
When running in Codex or ChatGPT Work, first read Codex integration.
In Claude Code or Cowork, read ${CLAUDE_PLUGIN_ROOT}/docs/claude.md first.
Overview
This skill automates the creation, correction, formatting, and correctness
verification of Elephant-and-Goldfish Model (EGM) compliant README.md files
across a directory tree. It establishes clear architectural contracts
(interfaces, invariants, and side effects) for both human developers and AI
assistants.
- Peanuts: Leaf-level Component Package READMEs containing specific file contracts.
- Hay: Parent-level Repository Blueprints that roll up child interface contracts into high-altitude indexes.
Delegation
A Goldfish runs in a fresh context with no conversation history. Spawn each
subagent with your harness's subagent tool (Antigravity: invoke_subagent; Claude Code: Agent; Codex: spawn_agent). Each subagent is defined in agents/<file>.md, and its
frontmatter name (for example egm-zoom-out) is the subagent type to request
where your harness registers named subagents. Otherwise spawn a general-purpose
subagent and tell it to read that persona file first. Pass the prompt verbatim
and wait for the report. If your harness cannot nest subagents,
use direct dispatch instead of the synthesizer. See docs/harnesses.md.
If your harness has no subagent tool, run the scout steps inline.
Inputs
path: The target root directory path to bootstrap (Required).is_worker: Internal parameter.trueif executing as a worker Sub-Orchestrator (Optional, default:false).sub_tree_root: Internal parameter. The root path of the assigned subtree partition (Optional).target_filename: Target contract filename to generate or update (Optional, default:"README.md"). Supports alternate blueprint filenames such as"EGM.md"when pre-existing human-maintained READMEs must not be modified.
Execution Constraints (CRITICAL)
- No Code Generation: You are strictly limited to documentation. Do not write or refactor any functional source code.
- VCS Isolation: Do not perform any version control commits (
git commit,git add). All filesystem changes must be written locally using standard file-writing tools. Tracking and submitting is deferred to the human user. - Temporary File Isolation & No Concurrent Overwrites: Parallel workers sharing the workspace must perform all status tracking, checkpointing, and draft writing in independent, worker-specific directories outside the project repository workspace. No concurrent workers may write to the same file simultaneously.
- Tool Usage (CRITICAL): Use your shell, file-reading, file-writing, and file-editing tools for directory discovery and contract/README generation. Adhere to clean Markdown formatting directly during generation (standard headers, tables, and fenced code blocks).
- Sensitive Files & Secrets Protection: You MUST respect
.gitignore,.egmignore, and sensitive-file boundaries (.env*,*.pem,id_rsa*,credentials*). You are STRICTLY FORBIDDEN from exposing secrets, tokens, or credentials in generated documentation. - Preserve User-Authored Documentation: NEVER overwrite existing user-authored documentation
without comparing changes and obtaining explicit user confirmation when
target_filenameis set or existing content exists. - Deterministic & Grounded Generation: Keep generated contracts deterministic to avoid documentation churn. Ground all interface contracts strictly in verified code facts. Record unresolved architectural questions rather than inventing answers. Detect contradictions between generated documentation and existing authoritative specs.
- Mandatory Safety Gate (CRITICAL): If you discover more than 15 subdirectories, you MUST immediately request user approval (using a structured question tool, if your harness has one, or plain chat) before proceeding with full-tree execution or unbounded subagent spawning.
Workflow
Step 0: Ecosystem & Verification Discovery
- Inspect the repository root for package/build manifests:
- Node.js / TypeScript:
package.json->npm test(orpnpm test/yarn test) - Rust:
Cargo.toml->cargo test - Go:
go.mod->go test ./... - Python:
pyproject.toml/pytest.ini/setup.py->pytest - C/C++ / Make:
Makefile->make test - Bazel:
BUILD/BUILD.bazel->bazel test ... - None found:
<test-command>
- Node.js / TypeScript:
- Record as
VerificationCommandto populate generated README contracts.
Step 1: Startup Branching Control
- Check the
is_workerinput parameter. - If
is_workeristrue, jump directly to Step 4: Sub-Orchestrator Worker Flow to process the assignedsub_tree_root. - If
is_workerisfalseor unset, proceed as the Root Orchestrator to Step 2: Incremental Scoping & Safety Gate.
Step 2: Incremental Scoping & Safety Gate (Root Orchestrator)
Incremental BFS Discovery: Map the target
pathtree level-by-level (BFS) using a directory queue, listing one directory level at a time. (CRITICAL: never run a recursive search such asfindorls -R.)- Preserve intermediate folder nodes.
- Ignore symbolic links to prevent infinite recursion.
- Ignore hidden/system directories (
.git,.antigravity,node_modules,venv,dist,build,third_party). - Read
.gitignoreand.egmignore(if present) and ignore matching glob patterns. - Preserve package and build manifests (
package.json,Cargo.toml,go.mod,pyproject.toml,Makefile,BUILD) in the discovery map to extract verification targets later.
Safety Gate & Unbounded Spawning Approval (CRITICAL): During the BFS loop, if the total running count of discovered directories exceeds 15, immediately pause discovery and request user approval (using a structured question tool, if your harness has one, or plain chat) to warn the user and request approval for full-tree execution:
question: "The target directory tree contains more than 15 subdirectories. This is a large execution scope. Do you want to proceed with full-tree bootstrapping?"options:["Yes, proceed with full tree bootstrapping", "No, abort execution"]- (CRITICAL: After requesting approval, you MUST wait for the user's response before continuing or spawning any workers).
- If the user selects abort, terminate execution immediately.
Bottom-up Post-Pruning Pass: Once mapping is complete (and approved), walk the mapped tree bottom-up (leaves to root). Filter out non-code and test-only directories:
- Source Code Files: Files matching recognized source code, schema, and
contract extensions:
- Systems & Compiled:
.c,.cc,.cpp,.cxx,.h,.hh,.hpp,.rs,.go,.zig,.lean - Managed & Enterprise:
.java,.kt,.scala,.cs,.fs - Scripting & Dynamic:
.py,.rb,.php,.lua,.sh,.bash - Web & Mobile:
.ts,.tsx,.js,.jsx,.mjs,.cjs,.swift,.m,.dart - Data & Schemas / IDLs:
.sql,.proto,.graphql,.gql,.thrift,.prisma - Infrastructure / Declarative Code:
.tf,.hcl,.cue(Excludes build manifests, lockfiles, test fixtures, documentation, and generic data dumps like.csv,.tsv,.parquet).
- Systems & Compiled:
- Test Directory Exclusion: Exclude directories containing exclusively
test code (e.g. named
tests,testing,testdata, or containing only files matching*_test.*,*Test.*,test_*.*, or*.spec.*). - Non-Code Filtering: Exclude any directory that contains no source code files AND contains no subdirectories with code. Retain empty intermediate folders only if they have child directories that contain code.
- Source Code Files: Files matching recognized source code, schema, and
contract extensions:
- Calculate the total count of pruned directories and maximum depth. Proceed to Step 3: Execution Strategy Selection.
Step 3: Execution Strategy Selection (Root Orchestrator)
Direct Execution Strategy (Directory Count <= 5):
- If the total count of pruned directories is 5 or fewer, execute the bottom-up documentation directly in the current thread.
- Jump to Step 4: Sub-Orchestrator Worker Flow (treating the Root
Orchestrator as the worker for the entire
path), and then proceed to Step 5: Root Compilation & Termination.
Unbounded Parallel Subagent Swarm Strategy (Directory Count > 5):
- (CRITICAL: If Directory Count > 15, you MUST verify that you have received explicit user approval before proceeding. If not yet approved, request approval immediately and wait for the user's response before spawning workers).
- Partition the discovery map into independent subtree branches using the
Adaptive Depth Partitioning Algorithm:
- Set
depth = 1. - Extract directory nodes from the discovery map located at the
current
depth. - If the count of nodes at
depthis between 3 and 5: select these nodes as subtree partition roots. - If the count of nodes at
depth< 3: incrementdepth(up to a max of 3) and repeat step 2. - If the count of nodes at
depth> 5: group the largest branches (by total nested folder count) into 3-4 separate partitions, combine the remaining small branches into a single fallback partition subtree, and select these as partition roots. - Fallback: If
depthreaches 3 and count is still < 3, select the immediate children of the root (or fall back to sequential execution).
- Set
- Spawn Unbounded Sub-Orchestrators: For each partition subtree root,
use your harness's subagent tool to spawn a parallel worker:
- Subagent:
egm-bootstrap-orchestrator(agents/bootstrap_orchestrator.md) (or a general-purpose subagent) Prompt: "Run egm-bootstrap with path=[path], is_worker=true, sub_tree_root=[partition_root], target_filename=[target_filename]."
- Subagent:
- Unbounded Execution: Spawn all Sub-Orchestrators in parallel without artificial concurrency limits (as authorized by the user during the safety gate).
- Go idle and wait for all worker subagents to return their JSON subtree index payloads. Jump to Step 5: Root Compilation & Termination.
Step 4: Sub-Orchestrator Worker Flow
Scout Registration: Use a read-only
goldfish-explorerscout. Where your harness supports defining subagents at runtime, register it with:name:goldfish-explorerdescription:Read-only codebase explorer scout.system_prompt: >- You are a read-only codebase explorer. Your task is to analyze the source files in the target directory and return a concise, factual summary. Do not write or modify any files. Return a JSON object containing the directory's public symbols (interface), invariants, and side effects matching schema: {"interface": [], "invariants": [], "side_effects": []}.enable_write_tools:falseenable_subagent_tools:false
Post-Order Traversal: Walk the assigned
sub_tree_root(orpath) in post-order (deepest leaves first). For each directoryD:Correction & Modification Policy: Check if
target_filename(default:README.md) already exists inD.- If
target_filenameexists, do not overwrite it completely. Instead, read its existing content. - Scout Scan Requirement: Whether
target_filenameexists or not, always scan the source code using thegoldfish-explorerscout forDto compile the true code symbol boundary. - Legacy Extraction & Correction: If
target_filenameexists, call the reasoning LLM with prompt: > "Analyze the following unstructured documentation content. Extract all public symbol names, classes, interfaces, invariants, and side effects. Format your response strictly as a JSON object matching the following schema: { "interface": string[], "invariants": string[], "side_effects": string[] }." Merge these extracted symbols with the scout's code symbols. Use your file-editing tool (or your file-writing tool) to correct and update the existing contract file to be EGM compliant while preserving developer notes and descriptions.
- If
Scout Spawning & Constraints: Spawn
goldfish-explorerforD.- Scout Constraints: Cap total data read per directory at 50,000
bytes. Read implementation and schema files up to 300 lines
per file. If directory size exceeds 50KB, select files using this
priority:
- Interface, schema, IDL, and header files (
.h,.hh,.hpp,.proto,.graphql,.gql,.thrift,.prisma,.sqlschema/DDL definitions, interface classes) read completely. - Module entry points (
main.*,index.*,lib.*,mod.*,__init__.py, or files matching directory name) read up to 300 lines. - Production source and configuration files sorted alphabetically read up to 300 lines until cap.
- Test files are completely ignored.
- Interface, schema, IDL, and header files (
- Test File Filtering: In hybrid package directories containing both
production and test files, ensure the scout filters out test files
(
*_test.*,*Test.*) and ignores their symbols. - Child Fault Tolerance: If the scout fails or times out, log a
warning, use placeholder values
["(Details pending/documentation failed)"], and continue execution.
- Scout Constraints: Cap total data read per directory at 50,000
bytes. Read implementation and schema files up to 300 lines
per file. If directory size exceeds 50KB, select files using this
priority:
Parent Context Propagation: When processing a parent directory
P, retrieve the compiled interface summaries of its immediate child subdirectories.- Propagation Heuristics:
- If the child was documented during this run, retrieve its public interface directly from the in-memory execution cache.
- If the child was corrected/modified (Correction Policy), use the merged legacy extraction symbols.
- Pass these child symbol blocks as prompt context when invoking
P's explorer scout.
- Propagation Heuristics:
- Verification Command Target Lookup: Populate the Verification section
using the discovered
VerificationCommand.- If the project uses Bazel/BUILD files: check if a
BUILDfile exists inDor the nearest ancestor, referencingbazel test/bazel build. - If the project uses other manifests (
package.json,Cargo.toml,go.mod,pyproject.toml,Makefile), populate with the corresponding test runner command. - If no verification command is identified, omit or use a placeholder.
- If the project uses Bazel/BUILD files: check if a
Directory Classification & Template Generation: Generate or correct
target_filenameusing your file-writing tool or your file-editing tool based onD's classification.- Component Package (Peanut):
Dcontains direct source code files. Use the Component Package README Template. (If it also has child subdirectories, include relative links to their contracts in the Interface section). - Repository Blueprint (Hay):
Dcontains no direct source code files, but contains subdirectories with code contracts. Use the Intermediate Blueprint README Template. - Link Formatting Policy (CRITICAL): Package contract files must use a
hybrid link formatting approach to balance portability and clarity:
- Relative Links to Existing Files Only: Use relative paths
(e.g.,
./child/${target_filename}or../sibling/${target_filename}) for child contracts and sibling file references within the same codebase subsystem. (CRITICAL: Only generate[Child](./child/${target_filename})links for child directories that exist in the prunedsubtree_indexand contain an actual${target_filename}. If a child directory contains aSKILL.mdor other non-contract asset, link directly to./child/SKILL.mdor format it as an unlinked bullet point. Never output speculative links to non-existent contract files). - Absolute Links: Use standard URLs or repository paths for referencing files outside the package subsystem (e.g., cross-package dependencies).
- Relative Links to Existing Files Only: Use relative paths
(e.g.,
- Component Package (Peanut):
- Markdown Formatting: Immediately after writing or correcting
target_filenameinD, ensure clean markdown formatting (valid headers, tables, and code fences). If a project markdown formatter (e.g.npx prettier --write) is configured in the repository, you may execute it ontarget_filename.
- Worker Reporting: Once the assigned subtree is fully traversed, compile
the
subtree_indexarray containing thepath,summary,interface,invariants, andside_effectsfor every processed directory. - If
is_workeristrue, return this JSON payload (matching theWorker Return Interface Schema) to the Root Orchestrator and terminate. Ifis_workerisfalse(sequential mode), proceed directly to Step 5: Root Compilation & Termination.
Step 5: Root Compilation & Termination (Root Orchestrator)
Receive Worker Payloads: Collect the JSON
subtree_indexpayloads returned by all parallel Sub-Orchestrators.- Root Fault Tolerance: If a parallel worker fails or times out, log a
warning, insert a placeholder warning link (
[Subtree Root] (Documentation failed / Subagent execution timeout)) in the root Blueprint's subdirectory index, and complete the remaining compilation. (Worker failures leaving partial files are handled as an incremental progress feature; the Correction Policy allows resuming on subsequent runs).
- Root Fault Tolerance: If a parallel worker fails or times out, log a
warning, insert a placeholder warning link (
Intermediate Directory Documentation: Identify any intermediate directories sitting between the root
pathand the partitioned subtree roots.- Process these intermediate directories sequentially bottom-up.
- Generate Intermediate Blueprint contract files using the compiled summaries returned by the workers.
- Ensure clean formatting and valid relative links for each Intermediate Blueprint contract file.
Root Directory Documentation: The target root
pathof the execution is always classified as the Repository Root (Blueprint / Hay).- Check if
target_filenamealready exists inpath. If present, apply the Correction & Modification Policy to read and retain the existing title, metadata, and architectural overview at the top of the root contract file. - Check if
pathitself contains any direct source files. If present, spawn agoldfish-explorerscout forpathto extract local symbols and invariants, appending them under the optional## Local Interface & Invariantssection. - Compile the final root
target_filenameusing the Repository Root Blueprint Template, rolling up all top-level subdirectory boundaries. - Write the root
target_filenameusing your file-writing tool.
- Check if
Final Correctness Verification (CRITICAL): You MUST perform a final verification pass across ALL created and modified contract files in the
subtree_index(including all child package contracts likepkg1/${target_filename}andpkg2/${target_filename}) as a correctness check before concluding work. You MUST explicitly read every single created or modified contract file to verify its content. Do not skip any child contract files. Verify:- EGM Compliance: Ensure
Interface,Invariants, andSide Effectssections exist and are populated. - Markdown Syntax: Ensure clean headers, valid tables, and proper code block fences.
- Valid & Resolvable Links (CRITICAL): Ensure all subdirectory and
sibling links use valid relative paths (
./subdir/${target_filename}or./subdir/SKILL.md), and explicitly verify that every referenced target file actually exists on the filesystem. Remove or correct any broken relative references. - Valid Targets: Verify verification targets match project test configuration.
- EGM Compliance: Ensure
Optional Drift Review (CRITICAL): After verification, ask the user (using a structured question tool, if your harness has one, or plain chat) to offer running a drift report on the generated documentation updates:
question: "Do you want to run the EGM Drift Report on the generated contract updates to check for consistency with the codebase?"options:["Yes, run drift report on modified contracts", "No, skip drift review"]- If the user selects "Yes", run the
egm-drift-reportskill targeting the modified contracts to verify that the documentation accurately reflects the current codebase state. (Note: Whileegm-drift-reportis often used for design documents, it can be applied to EGM-compliant contracts as a variant).
- Terminate execution successfully.
Output Deliverables
Upon completion, /egm-bootstrap MUST compile and report:
- Repository Map: Complete hierarchical tree topology of audited directories and component packages.
- Architecture Overview: High-altitude subsystem boundaries, entry points, and execution paths.
- Dependency Map: Cross-module import dependencies, shared utilities, and external libraries.
- Key Contracts: Generated or updated Peanuts (leaf package READMEs) and Hay (root blueprint contracts) documenting public interfaces, invariants, and side effects.
- Testing Guide: Extracted verification commands and test targets mapped to modules.
- Documentation Gaps & Unresolved Questions: Omitted modules, missing docstrings, and architectural ambiguities requiring human clarification.
Templates
📄 Component Package (Peanuts) README Template
# [Component Name]
## Overview
[Prose overview of the component's architectural role and goals]
## Interface
- [Public classes, functions, and symbols]
- [Subdirectories list and relative links to their contracts (e.g., `./subdir/README.md` or `./subdir/${target_filename}`)]
## Invariants
- [State and call invariants that must be preserved by developers/agents]
## Side Effects
- [State mutations, network calls, disk access, locks, or external side effects]
## Verification
- Run: `<test-command>`📄 Repository Root (Blueprint / Hay) README Template
# [Repository Name] Blueprint
## System Overview
[High-altitude architectural overview of this subsystem]
[Optional section if the root directory contains direct source files]
## Local Interface & Invariants
- [Direct symbols, invariants, and side effects of files in the root folder]
## Subdirectories & System Boundaries
- [Subdirectory Name]: [Relative link to existing child contract file (e.g., `./subdir/README.md` or `./subdir/${target_filename}`) or `./subdir/SKILL.md`] - [Summary of child contract/role]
## Global Invariants
- [System-wide constraints that cross component boundaries]
## Global Side Effects
- [Shared resources, databases, or external integrations affected by this subsystem]
## System Verification
- Run: `<test-command>`📄 Intermediate Blueprint README Template
# [Directory Name]
## Overview
[Factual overview of the subdirectories and systems grouped under this directory path]
## Subdirectories & Boundaries
- [Subdirectory Name]: [Relative link to existing child contract file (e.g., `./subdir/README.md` or `./subdir/${target_filename}`) or `./subdir/SKILL.md`] - [Summary of child contract/role]Schemas
Worker Return Interface Schema (JSON)
{
"type": "object",
"properties": {
"subtree_index": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": { "type": "string" },
"summary": { "type": "string" },
"interface": { "type": "array", "items": { "type": "string" } },
"invariants": { "type": "array", "items": { "type": "string" } },
"side_effects": { "type": "array", "items": { "type": "string" } }
},
"required": ["path", "summary"]
}
}
},
"required": ["subtree_index"]
}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.

