/docs
Dispatch docs subagent to audit, generate, and validate documentation against the codebase.
$ npx -y skills add automagik-dev/genie --skill docs --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/docs
Context preview
The summary Claude sees to decide when to auto-load this skill.
Dispatch docs subagent to audit, generate, and validate documentation against the codebase.
SKILL.md
docs.SKILL.mdname: docs
description: "Dispatch docs subagent to audit, generate, and validate documentation against the codebase."
docs — Documentation Generation
**Runtime syntax:** in Codex, invoke the plugin copy with the owner-qualified `$genie:<skill>` selector; use bare `$<skill>` only when intentionally selecting a user-tier copy (a separately installed personal copy; Genie no longer seeds this tier). Claude Code and Hermes use `/<skill>`. Cross-skill prose below uses bare names as portable semantic routes; the orchestrator resolves the selector for the active tier.
Audit existing documentation, fill gaps, and validate every claim against actual code. Standalone or as part of `work`.
When to Use
- Undocumented modules, APIs, or workflows; docs referencing removed features
- A wish deliverable includes documentation
- Code just changed in ways existing docs describe (e.g. after `work` completes)
Surfaces
| Type | Location | Purpose | |------|----------|---------| | README | `README.md`, `*/README.md` | Overview, setup, usage | | AGENTS.md | `AGENTS.md`, `*/AGENTS.md` | Codex conventions, constraints, commands, verification | | CLAUDE.md | `CLAUDE.md`, `*/CLAUDE.md` | Conventions, commands, gotchas for agents | | API docs | `docs/api/`, inline JSDoc/TSDoc | Contracts, request/response schemas | | Architecture | `docs/architecture.md`, `ARCHITECTURE.md` | System design, data flow | | Inline | JSDoc, TSDoc, docstrings | Function/class/module docs |
`AGENTS.md` is the governing Codex instruction surface. `CLAUDE.md` remains evidence of repository intent when present; keep both current when the project supports both clients.
Flow
1. **Audit** — map what exists across the surfaces above. 2. **Diff against code** — find missing, stale, or wrong claims; governing `AGENTS.md` accuracy first. 3. **Generate** — fill gaps in the project's existing documentation style. 4. **Validate** — every referenced path exists, every API matches, every described behavior is real. 5. **Report** — created/updated files with per-claim validation results.
Dispatch
Runs as a subagent (native runtime): the dispatching agent issues an native delegation surface call with a curated brief — scope (which docs, which change triggered the audit), the code areas to validate against, and the expected report shape.
Example brief: "Audit README.md, CLAUDE.md, and skills/work/SKILL.md after PR #746 — verify dispatch examples match current code, fix stale references, report per-file verdicts with evidence."
Rules
- Grounded progress: report only what was audited or generated in this session, each claim backed by a check actually run — "3 files verified current, 1 updated, 0 dead references", never just "docs written".
- No fiction: never document features that don't exist yet; no dead paths or APIs.
- Write to the reader's interface boundary: explain what they need to decide, do, observe, and verify. Prefer observable promises, outcomes, failure behavior, and next steps over internal machinery. Include implementation details only when the reader needs them to use the feature safely, troubleshoot it, or extend it; otherwise keep that mechanism in internal or architecture documentation.
- Match existing project conventions for style and structure.
Read more
name: docs description: "Dispatch docs subagent to audit, generate, and validate documentation against the codebase."
docs — Documentation Generation
**Runtime syntax:** in Codex, invoke the plugin copy with the owner-qualified `$genie:<skill>` selector; use bare `$<skill>` only when intentionally selecting a user-tier copy (a separately installed personal copy; Genie no longer seeds this tier). Claude Code and Hermes use `/<skill>`. Cross-skill prose below uses bare names as portable semantic routes; the orchestrator resolves the selector for the active tier.
Audit existing documentation, fill gaps, and validate every claim against actual code. Standalone or as part of `work`.
When to Use
- Undocumented modules, APIs, or workflows; docs referencing removed features
- A wish deliverable includes documentation
- Code just changed in ways existing docs describe (e.g. after `work` completes)
Surfaces
| Type | Location | Purpose | |------|----------|---------| | README | `README.md`, `*/README.md` | Overview, setup, usage | | AGENTS.md | `AGENTS.md`, `*/AGENTS.md` | Codex conventions, constraints, commands, verification | | CLAUDE.md | `CLAUDE.md`, `*/CLAUDE.md` | Conventions, commands, gotchas for agents | | API docs | `docs/api/`, inline JSDoc/TSDoc | Contracts, request/response schemas | | Architecture | `docs/architecture.md`, `ARCHITECTURE.md` | System design, data flow | | Inline | JSDoc, TSDoc, docstrings | Function/class/module docs |
`AGENTS.md` is the governing Codex instruction surface. `CLAUDE.md` remains evidence of repository intent when present; keep both current when the project supports both clients.
Flow
1. **Audit** — map what exists across the surfaces above. 2. **Diff against code** — find missing, stale, or wrong claims; governing `AGENTS.md` accuracy first. 3. **Generate** — fill gaps in the project's existing documentation style. 4. **Validate** — every referenced path exists, every API matches, every described behavior is real. 5. **Report** — created/updated files with per-claim validation results.
Dispatch
Runs as a subagent (native runtime): the dispatching agent issues an native delegation surface call with a curated brief — scope (which docs, which change triggered the audit), the code areas to validate against, and the expected report shape.
Example brief: "Audit README.md, CLAUDE.md, and skills/work/SKILL.md after PR #746 — verify dispatch examples match current code, fix stale references, report per-file verdicts with evidence."
Rules
- Grounded progress: report only what was audited or generated in this session, each claim backed by a check actually run — "3 files verified current, 1 updated, 0 dead references", never just "docs written".
- No fiction: never document features that don't exist yet; no dead paths or APIs.
- Write to the reader's interface boundary: explain what they need to decide, do, observe, and verify. Prefer observable promises, outcomes, failure behavior, and next steps over internal machinery. Include implementation details only when the reader needs them to use the feature safely, troubleshoot it, or extend it; otherwise keep that mechanism in internal or architecture documentation.
- Match existing project conventions for style and structure.
Wishes in, PRs out. CLI agent that interviews you, plans the work, dispatches parallel agents in isolated worktrees, and reviews code before you see it.
Repo: automagik-dev/genie
Other skills on genie.
- /architecture
Use when reviewing architecture in any codebase — module boundaries, stated design contracts, abstraction depth, error-handling design. Assess by default, apply changes on request; complexity is dependencies plus obscurity, and deep modules win.
Open skill - /brainstorm
Explore ambiguous or early-stage ideas interactively — tracks wish-readiness and crystallizes into a design for wish.
Open skill - /code-quality
Use when auditing code quality in any codebase — discover and run the repo's real gates (typecheck, lint, dead-code, complexity), judge type discipline and duplication. Assess by default, apply changes on request; the compiler is the first reviewer.
Open skill - /council
Assess a proposal through independent technical, product, risk, and dissenting lenses, then synthesize a decision without mutating unless explicitly requested.
Open skill - /dream
Batch-execute SHIP-ready wishes overnight — pick wishes, orchestrate workers, review PRs, wake up to results.
Open skill - /dx-docs
Use when auditing DX, docs, and delivery in any codebase — the 30-minute-contributor test, docs-vs-reality drift, onboarding friction, error-message quality. Assess by default, fix docs on request; docs are judged by use, and every failure is a misfiled or missing Diátaxis
Open skill

