| name | llmdoc |
| description | Default operating skill for llmdoc-enabled projects. Use when a project has llmdoc/, when initializing llmdoc, when updating project knowledge, or when Codex CLI hooks should reinforce the workflow. |
| disable-model-invocation | false |
| allowed-tools | Read, Glob, Grep, Bash, Write, Edit, WebSearch, WebFetch |
/llmdoc
This skill is the operating system for llmdoc projects.
Use it whenever:
- the project already has
llmdoc/
- the user asks to initialize or update project docs
- the task touches architecture, workflow, conventions, or doc structure
- you want Codex CLI
SessionStart or Stop hooks to reinforce the workflow
Load Order
Read these references in order:
references/design-goals.md
references/operating-protocol.md
references/doc-structure.md
references/update-and-memory.md
references/lessons-learned.md
Then load only the specific extras you need:
references/templates.md for document templates
references/codex-cli-hooks.md for Codex CLI hook support
Core Rules
- Read
llmdoc/index.md, then llmdoc/startup.md, then the MUST files it lists.
- Proactively read relevant
guides/ and memory/reflections/ before non-trivial edits.
- The main assistant, not
worker, aligns with the user before non-trivial edits.
- At the end of a non-trivial task, the main assistant should consider prompting for
/llmdoc:update.
- Temporary investigation artifacts live in
.llmdoc-tmp/, not llmdoc/memory/.
.llmdoc-tmp/ is a local temporary context cache. It may help nearby sessions, but it is ignored by git, not indexed, and not a source of truth.
recorder owns stable docs, memory/decisions/, and memory/doc-gaps.md. reflector owns memory/reflections/.
Hook Support
Codex CLI SessionStart and Stop hook support lives here:
references/codex-cli-hooks.md
templates/codex-hooks.json
templates/session-start.sh
templates/stop.sh
Use hooks to reinforce the workflow, not to replace judgment.