Frontmatter
| id | 9958 |
| title | System Prompt Token Optimization via Mermaid Graphs |
| state | Closed |
| labels | documentationenhancementai |
| assignees | [] |
| createdAt | Apr 13, 2026, 11:39 AM |
| updatedAt | May 5, 2026, 6:44 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9958 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 9950 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | May 5, 2026, 6:44 PM |
Goal
Drastically reduce the contextual token bloat of
AGENTS.mdandAGENTS_STARTUP.mdby replacing verbose, paragraph-based rules with highly compressed Mermaid state-flow graphs.Implementation Checklist
.mddiagrams and respect the state flows to exactly the same degree as the written word, significantly reducingn_ctxoverhead.