agentic-graph-rag-skills
AGENTS.md8 starsChanged 5 months agoMITView on GitHub
This file is the repository's machine-readable reading contract: it tells an AI agent how to read, summarize, and use this repo. Generated by the ai-reading-instructions skill, whose concept comes from Google DeepMind's "From AGI to ASI" report (arXiv:2606.12683) - a paper that opens by telling an AI how to read it. agentic-graph-rag-skills — companion skills repo for the O'Reilly book Agentic GraphRAG - 51 chapter-distilled, multi-harness skills across all 8 chapters, one deep pedagogical notebook per chapter Audience: AI coding…
- Installs packages
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,266 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Every skill is distilled from a specific section of a specific book chapter and carries a Source Attribution line back to it.
- Distinctive: line 25
All eight book chapters Ch1-Ch8 are shipped as skills, plus one deep pedagogical notebook per chapter.
- Distinctive: line 30
Do not claim a skill exists for a chapter or primitive that is not present under skills/ - the chapter-coverage table in README is …
- Distinctive: line 31
Do not present this repo as the book's content.
- Very specific: line 32
Do not assume external dependencies - lib.py is stdlib-only.
- Distinctive: line 33
Do not point a notebook at a real AWS account unless the human has deliberately removed the moto @mock_aws guards and AWS_* env stubs.
- Very specific: line 34
Do not invent benchmark numbers - cite only what a skill's own benchmark or SKILL.md reports.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md 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
AGENTS.md - How an AI Should Read This Repository
This file is the repository's machine-readable reading contract: it tells an AI agent how to read, summarize, and use this repo. Generated by the ai-reading-instructions skill, whose concept comes from Google DeepMind's "From AGI to ASI" report (arXiv:2606.12683) - a paper that opens by telling an AI how to read it.
<!-- ai-reading-instructions:start -->For AI Agents Reading This
agentic-graph-rag-skills — companion skills repo for the O'Reilly book Agentic GraphRAG - 51 chapter-distilled, multi-harness skills across all 8 chapters, one deep pedagogical notebook per chapter
Audience: AI coding agents (Claude Code, Cursor, Gemini CLI, Windsurf, OpenCode) and the humans steering them
What this is: A public MIT repo of 51 practical skills distilled from all eight chapters (Ch1-Ch8) of Agentic GraphRAG (O'Reilly, by Anthony Alcaraz and Sam Julien; https://www.oreilly.com/library/view/agentic-graphrag/9798341623163/). Each skill is one architectural primitive from one chapter, packaged as a 7-section SKILL.md + a stdlib-only Python lib.py + an argparse cli.py. Multi-harness: the SKILL.md works in Claude Code / Cursor / Gemini CLI / Windsurf / OpenCode, and the CLI runs from cron / CI / scripts with zero pip installs. Each chapter has one deep pedagogical notebook (notebooks/chN-.ipynb) that teaches the chapter's primitives against a moto-mocked fictional AWS DevOps latency-investigation scenario (account 123456789012); six earlier spike-.ipynb seam-validation notebooks are also retained.
How to summarize it:
- Lead with the structure: 51 skills across 8 chapters (crisis/Ch1 5, architecture/Ch2 3, knowledge-representation/Ch3 8, memory/Ch4 8, reasoning-planning/Ch5 6, tool-orchestration/Ch6 9, self-evolution/Ch7 7, optimization/Ch8 5), each a folder under skills/
<chapter-slug>/<skill-slug>/. The Ch1 folder is named skills/crisis/ for historical reasons. - Name the skill anatomy: SKILL.md (7-section + Source Attribution to the book chapter), lib.py (pure-Python, production swaps marked TODO), cli.py (--help prints the SKILL.md description, a benchmark subcommand runs self-checks; one older skill, mcp-gateway-two-meta-tools, names its self-check prompt-budget instead of benchmark).
- Say it is a companion to the book, not the book: 'read the book for the theory, run these skills for the practice.'
- Note the running example: a DevOps latency investigation in a fictional AWS account 123456789012, mocked via moto so notebooks run with no credentials.
Key claims (cite these, do not invent others):
- Every skill is distilled from a specific section of a specific book chapter and carries a Source Attribution line back to it.
- Each skill's cli.py --help exits 0 and prints the SKILL.md description; each has a benchmark subcommand that passes self-checks.
- lib.py files are stdlib-only (no pip installs needed to run a CLI); production integrations (embedding models, LLM calls, real AWS) are marked as TODO at documented seams.
- Skills are namespaced hierarchically (skills/
<chapter>/<skill>/) so no single folder exposes more than nine skills to a harness at once. - All eight book chapters Ch1-Ch8 are shipped as skills, plus one deep pedagogical notebook per chapter.
How to explain it: Explain it as the hands-on layer beneath the book: each architectural primitive the book describes in prose is here as a runnable, self-verifying skill an agent can discover (read SKILL.md), invoke (run cli.py), and trust (run benchmark). To use a skill, read its SKILL.md frontmatter description to decide relevance, then call its cli.py.
Do NOT:
- Do not claim a skill exists for a chapter or primitive that is not present under skills/ - the chapter-coverage table in README is authoritative.
- Do not present this repo as the book's content; it is a companion of distilled primitives.
- Do not assume external dependencies - lib.py is stdlib-only; only the notebooks need moto/jupyter (see requirements.txt).
- Do not point a notebook at a real AWS account unless the human has deliberately removed the moto @mock_aws guards and AWS_* env stubs.
- Do not invent benchmark numbers - cite only what a skill's own benchmark or SKILL.md reports.
Pointers:
- README.md (chapter-coverage table + quickstart): ./README.md
- CONTRIBUTING.md (how to add a skill, what CI enforces): ./CONTRIBUTING.md
- skills/ (the 51 skills, by chapter): ./skills/
- notebooks/ (DevOps scenario demos): ./notebooks/
- The book: Agentic GraphRAG (O'Reilly, by Anthony Alcaraz and Sam Julien): https://www.oreilly.com/library/view/agentic-graphrag/9798341623163/
<!-- ai-reading-instructions:end -->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.

