Original Reddit post

Okay so what annoyed me into creating this is LLM’s having trouble with ASCII diagrams and since making those yourself is really painful I figured instead of wasting tokens on prompting them better, or create yet another markdown file, i’d create some sort of linter for it that is recognized as an MCP server. It’s called boxdraw, couldn’t think of anything better lol. So here it is. https://github.com/Axobello/boxdraw/ I hat a script laying for this in a monorepo for a while and figured i’d open this up since it is more efficient to have as a crate instead of junking up the monorepo. So to put it simply this is what it does, after running the boxdraw lint command it detects faulty unicode diagrams like this one:

┌──────────────
 No  here 
└──────────────┘

And then the LLM can reiterate over it until it has been fixed. For me it has been more token efficient since i’d just prompt a screenshot or copy the bad ASCII diagrams to it, this script detects it and returns an output like this: ARCHITECTURE.md:46:52 [error] box-width: bottom width (25) differs from top width (26) at column 27 Which consumes way less tokens, still point’s the LLM in the right direction. submitted by /u/Diligent_Comb5668

Originally posted by u/Diligent_Comb5668 on r/ClaudeCode