write-context-rules
Installation
SKILL.md
write-context-rules
RULES.md is loaded with every message to the nao agent — keep it lean. Two purposes only:
- Orchestrator — point the agent to the right context fast (which metric → which definition, which topic → which file, which question type → which skill).
- Broad rules — how to query and how to answer.
Anything else (per-table schema, full metric semantics, domain-specific rules) belongs in a referenced file. RULES.md should never duplicate context that already lives elsewhere in the repo — it points to it. Reference: docs.getnao.io/nao-agent/context-builder/rules-context.
What already exists in a context repo (read before writing)
nao sync populates these. The content of RULES.md depends on which are present, so inventory them first (Step 0):