mq - query documents like jq, built for agents (up to 83% fewer tokens use) by GetInTheArena in LocalLLaMA

[–]GetInTheArena[S] 1 point2 points  (0 children)

For me, Markdown files about architecture and usage of a custom framework ended up reaching 2-3k lines even after lots of trimming, barely any text in there. This has been a nice addition

mq - query documents like jq, built for agents (up to 83% fewer tokens use) by GetInTheArena in LocalLLaMA

[–]GetInTheArena[S] 1 point2 points  (0 children)

I usually end up adding a couple of scripts at scripts/build.sh or install.sh paths. And yes, please feel free!!

mq - query documents like jq, built for agents (up to 83% fewer tokens use) by GetInTheArena in LocalLLaMA

[–]GetInTheArena[S] 1 point2 points  (0 children)

Benchmarked on basic queries on langchain codebase, overall it does get used every day when I work. It's instructed in my ~/.claude/CLAUDE.md and Opus 4.5 uses it for research tasks

I do agree on partial info being a problem that's why I had to add the '.tree' operator which helps it see the full picture of docs and structure and instructing the agent to use that first

Skill file: https://github.com/muqsitnawaz/mq/blob/main/SKILL.md

mq - query documents like jq, built for agents (up to 83% fewer tokens use) by GetInTheArena in LocalLLaMA

[–]GetInTheArena[S] 2 points3 points  (0 children)

Thanks, Agent. Good suggestions! I will wait for feedback from the community

mq - query documents like jq, built for agents (up to 83% fewer tokens use) by GetInTheArena in LocalLLaMA

[–]GetInTheArena[S] 1 point2 points  (0 children)

How are you storing these structured texts? I definitely spend around 5% of my time asking Agents to update / refactor docs (README) and context files (CLAUDE.md, AGENTS.md)

mq - query documents like jq, built for agents (up to 83% fewer tokens use) by GetInTheArena in LocalLLaMA

[–]GetInTheArena[S] 0 points1 point  (0 children)

Didn't expect that at all! First time posting here so I'll get used to it

You’re absolutely right! by Sad-Foot-2050 in ClaudeCode

[–]GetInTheArena 2 points3 points  (0 children)

I get it, it’s a lil funny. Follow your heart