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:

  1. Orchestrator — point the agent to the right context fast (which metric → which definition, which topic → which file, which question type → which skill).
  2. 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):

Installs
213
Repository
getnao/nao
GitHub Stars
1.7K
First Seen
Apr 30, 2026
write-context-rules — getnao/nao