N.I.L.O. Docs

Full Skill Reference

Purpose

Use this reference as the complete manual for designing, adapting, maintaining, and troubleshooting skill templates across Codex, Claude, and other agent systems.

This level should be read when:

Core Model

A skill is a reusable workflow contract. It should tell an agent:

Tool-specific SKILL.md files should be thin routing layers. Shared references should hold reusable policy and workflow detail.

Three-Level Reference Pattern

Use three shared reference levels:

The levels should be progressive. The quick reference must not repeat the full manual. The full reference may restate important rules when needed for standalone use.

Template Structure

Recommended shared structure:

skills/
  references/
    quick.md
    normal.md
    full.md
  <tool-name>/
    SKILL.md

For this layout, a tool-specific wrapper should resolve ../references/quick.md from the directory that contains its own SKILL.md. That means the references are siblings of the wrapper directory, not nested under it. If an agent first checks <skill>/references/ and it does not exist, it should retry the sibling ../references/ path before treating the reference as missing.

Recommended tool-specific SKILL.md sections:

Routing Rules

Use the narrowest reference depth that can safely complete the task.

Read quick.md when:

Read normal.md when:

Read full.md when:

Instruction Precedence

When instructions overlap, apply them in this order:

  1. System and platform safety rules.
  2. Current runtime and tool permissions.
  3. Project-level repository instructions.
  4. User's explicit request.
  5. Tool-specific SKILL.md.
  6. Shared references.
  7. Global personal defaults.

If a lower-priority instruction conflicts with a higher-priority instruction, follow the higher-priority instruction and note the conflict when it affects the outcome.

Cross-Tool Adaptation

When adapting a skill to another tool:

Server And CLI Surfaces

When one skill covers both server and CLI usage, split the guidance inside the references before creating multiple top-level skills.

Use separate reference sections for:

Create separate top-level skills only when:

Validation

A skill template change is complete when:

Troubleshooting

If a skill is too vague:

If a skill duplicates too much content:

If a skill conflicts with repository rules:

If users keep asking the same clarification:

If an actual-agent regression is required: