Instructions
On each request niminal sends a stable prefix in this order:
- The built-in system prompt, or a replacement from
SYSTEM.mdor--system-prompt - Optional append text from
APPEND_SYSTEM.mdor--append-system-prompt - Project instructions from
AGENTS.md,AGENTS.override.md, orCLAUDE.md - An ACT mode block that tells the model to implement and verify changes
Which files load globally
Section titled “Which files load globally”From ~/.niminal/, niminal loads the first file that exists in this order:
AGENTS.override.mdAGENTS.mdCLAUDE.md
It then walks from the git root toward the workspace directory (less-specific first) and loads the same filename precedence in each directory.
Each file is capped at 64 KiB. Larger files are truncated with an
[instructions truncated] marker.
Use --no-context-files or -nc to skip AGENTS and CLAUDE discovery for one
process. System prompt files and flags still apply.
Replace or extend the system prompt
Section titled “Replace or extend the system prompt”Replace the built-in identity with the first match:
--system-prompt TEXT<workspace>/.niminal/SYSTEM.mdwhen the project is trusted~/.niminal/SYSTEM.md
Append extra rules with the first match:
--append-system-prompt TEXT<workspace>/.niminal/APPEND_SYSTEM.mdwhen the project is trusted~/.niminal/APPEND_SYSTEM.md
Project instructions still load after the append text unless you pass
--no-context-files.
Scoped instructions
Section titled “Scoped instructions”Nested AGENTS.md files are not appended to every request. When you read a
path under a directory that has its own instruction file, niminal attaches that
scoped text once with the read output.
Use /reload after changing trusted project resources so discovery caches refresh.
Project AGENTS.md and other instruction files in the git-root chain load
without trust. Project SYSTEM.md and APPEND_SYSTEM.md require trust, like
skills, prompts, tools, and extensions.
Portable files under ~/.niminal/ always load.
Next steps
Section titled “Next steps”- Skills for on-demand procedure files
- Prompt templates for reusable slash commands