How Elcro assembles prompts.
Before each model call, Elcro builds messages from:
- System prompt (mode, workspace paths, open files, tool catalog, MCP list).
.elcrorules/.voidrulesand Settings AI instructions.- Skills, commands, and subagents from
.elcro/. - Thread history (user, assistant, tool results).
- Explicit
@attachments.
Long threads are trimmed with weighting that prefers keeping system + recent user turns.