From gaia-ops
Use when writing or updating a README for a Gaia component folder (agents/, skills/, hooks/, commands/, config/, bin/, tests/, build/, templates/, or the repo root)
npx claudepluginhub metraton/gaia --plugin gaia-opsThis skill uses the workspace's default tool permissions.
A folder README is not a table of contents. It is the mental model a developer or agent needs before touching anything in that folder. A README that only lists files is worse than none -- it creates the impression the folder is understood when it is not.
Triggers research for existing libraries, tools, and patterns before coding new features. Searches npm, PyPI, MCP/skills, GitHub; evaluates matches and decides adopt/extend/build.
Audits cross-stack repos (C++/Android/iOS/Web), classifies files as project/third-party/artifacts, detects embedded libraries, assigns module verdicts, generates interactive HTML reports.
Reorganizes X and LinkedIn networks: review-first pruning of low-value follows, priority-based add/follow recommendations, and drafts warm outreach in user's voice.
Share bugs, ideas, or general feedback.
A folder README is not a table of contents. It is the mental model a developer or agent needs before touching anything in that folder. A README that only lists files is worse than none -- it creates the impression the folder is understood when it is not.
Gaia is event-driven. Every component has a trigger: a hook fires, a skill is injected, a command is dispatched, a config file is loaded. A README that does not explain WHEN and HOW a component activates leaves the reader guessing the most important thing.
Write or update a README when:
cross_layer_impacts flags a README as staleEvery README uses this structure. Order is not optional -- a reader skimming top-to-bottom should understand activation before they see a file tree.
Section 1: Intro narrative (2-4 paragraphs, no bullets, conversational)
Section 2: When activated (the core -- do not skip)
Section 3: What's here (annotated tree)
Section 4: Conventions (concrete rules, not aspirations)
Section 5: See also (relative links with reason)
The activation section fails when it describes intent ("skills are injected at startup") without describing mechanism ("the pre_tool_use hook reads skills: from agent frontmatter, then calls skill_injection.py, which reads each SKILL.md and prepends it to the agent context").
Concrete mechanism is the test. If the description would be true for any event-driven system, it is not concrete enough.
With skill-creation: When completing a new skill, update the skills/ README to reflect the new entry. This is the last step of the skill-creation workflow, not optional cleanup.
With gaia-patterns (Documentation Drift Awareness): When an agent adds a file to agents/, skills/, hooks/, or any top-level folder, it must include the relevant README in cross_layer_impacts if the README no longer accurately describes the folder. The orchestrator dispatches a readme-writing task from that signal. The agent that added the file does NOT update the README itself -- it reports drift and stops.
With test_directory_structure.py: The system test verifies README existence for all key folders. Adding a new top-level folder without a README will cause a test failure. See tests/system/test_directory_structure.py.
ls; every entry needs a reason.name: field in frontmatter" is.