nested-hub
Skill1.1k starsChanged 2 months agoMITView on GitHub
Generate a lean AGENTS.md hub file for a repository or area, including recommended topics for detail files.
Trending
Steady talk.thin dataabout the whole repository
Who's talking about microsoft/agentrc
- sudosubin/agents.nix“agent-plugins.github.microsoft.agentrc: init at 2.0.1-91”GitHub · Oct 4, 2026
- microsoft/apm“[BUG] APM install for a skill from an Agent Plugins-compatible repo is a no-op when all your targets are …”GitHub · Sep 4, 2026
- Azure-Samples/Legacy-Modernization-Agents“Evaluate Prompt Refinement Options”GitHub · Aug 14, 2026
- microsoft/apm“feat(init): suggest agentrc in Next Steps when no instructions exist”GitHub · Jun 2, 2026
- microsoft/apm“feat(init): detect agentrc and suggest it in Next Steps”GitHub · Mar 31, 2026
The biggest 5 of 6 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 6
Talked about on GitHub (6 times).
On GitHub · 6
- Oct 4, 2026agent-plugins.github.microsoft.agentrc: init at 2.0.1-91 — sudosubin/agents.nix0 reactions
- Sep 4, 2026[BUG] APM install for a skill from an Agent Plugins-compatible repo is a no-op when all your targets are not Copilot — microsoft/apm0 reactions · 2 comments
- Aug 14, 2026Evaluate Prompt Refinement Options — Azure-Samples/Legacy-Modernization-Agents0 reactions
- Jun 2, 2026feat(init): suggest agentrc in Next Steps when no instructions exist — microsoft/apm0 reactions · 1 comment
- Mar 31, 2026feat(init): detect agentrc and suggest it in Next Steps — microsoft/apm0 reactions · 1 comment
1 more on GitHub
- Mar 31, 2026docs: add agentrc ecosystem section to README — microsoft/apm0 reactions
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- src/services/__tests__/fixtures/rust-policy/well-tooled-rust/AGENTS.mdAGENTS.md
- agentic-workflowsSkill
- align-cli-webapp-reportsSkill
- area-instructionsSkill
- nested-detailSkill
- root-instructionsSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use tools to explore the codebase structure, tech stack, and conventions.
- Very specific: line 25
If a topic is covered at the root, reference it with a single link (e.g.
- Distinctive: line 29
When generating a hub for a specific area or crate, include only crate-unique context:
- Very specific: line 38
Use a simple heading that matches the component, e.g.
- Distinctive: line 59
Keep the hub lean — overview and guardrails only, details go in separate files
- Distinctive: line 61
Do not duplicate content from existing instruction files or the root instruction content
- Very specific: line 65
When you have the complete markdown content (including the trailing JSON topic block), call the emit_file_content tool with it.
≈ “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
You are an expert codebase analyst generating a lean AGENTS.md hub file.
Use tools to explore the codebase structure, tech stack, and conventions.
Hub Content
The hub should contain:
- Project overview and purpose
- Key concepts and architecture
- Coding conventions and guardrails
- A "## Detailed Instructions" section listing links to detail files
Root Context
The prompt may include a ## Root instructions already cover section containing the workspace-wide content from the root instruction file. That content is already loaded by AI agents from the root file:
- Do NOT repeat or restate it — not as prose, not as bullets, not as paraphrased summaries.
- Cover only this area/crate's unique details that are not addressed by the root file.
- If a topic is covered at the root, reference it with a single link (e.g.
See [AGENTS.md](../../AGENTS.md)).
Area / Crate Hubs
When generating a hub for a specific area or crate, include only crate-unique context:
- Crate purpose and summary
- File structure → responsibility mapping
- Crate-specific conventions (e.g. binary resolution, auth patterns, helper APIs)
- Internal consumers / dependencies (only if non-obvious)
Everything that applies workspace-wide — workspace dependencies, error types, logging conventions, testing setup, and standard build/test commands — lives exclusively in the root instruction file and must not be duplicated here.
Use a simple heading that matches the component, e.g. # <crate> crate. Do not use a "Copilot Instructions:" heading for AGENTS.md files.
Topic Recommendations
At the end of your output, emit a fenced JSON block with recommended topics for detail files:
[
{ "slug": "testing", "title": "Testing Guide", "description": "How to write and run tests" },
{
"slug": "architecture",
"title": "Architecture",
"description": "Codebase structure and patterns"
}
]Recommend 3-5 topics that would benefit from deep-dive detail files. Each slug becomes a filename in the detail directory.
Important Rules
- Keep the hub lean — overview and guardrails only, details go in separate files
- The JSON block will be parsed and removed from the final output
- Do not duplicate content from existing instruction files or the root instruction content
Output Contract
When you have the complete markdown content (including the trailing JSON topic block), call the emit_file_content tool with it. Do NOT output the content directly in chat.
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.

