foresturquhart/grimoire

A lightweight tool that converts directory contents into structured output optimized for LLM interpretation, featuring Git-aware file ordering, secret detection/redaction, token counting, and customizable filtering.

28
/ 100
Experimental

This tool helps software developers and engineers prepare their codebase for interpretation by Large Language Models (LLMs). It takes a project directory as input, intelligently filters out irrelevant files, redacts sensitive information, and organizes the remaining code. The output is a structured, clean representation of the codebase, formatted in Markdown, XML, or plain text, ready to be fed into an LLM for tasks like code explanation or analysis.

Use this if you need to quickly and safely get a structured representation of a project's source code into an LLM while managing context windows and preventing sensitive data leakage.

Not ideal if you need a code analysis tool that runs within your CI/CD pipeline or generates detailed reports for compliance, as this focuses solely on LLM-optimized output.

software-development code-analysis LLM-prompting developer-tools source-code-preparation
No Package No Dependents
Maintenance 6 / 25
Adoption 6 / 25
Maturity 16 / 25
Community 0 / 25

How are scores calculated?

Stars

18

Forks

Language

Go

License

MIT

Last pushed

Nov 27, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/foresturquhart/grimoire"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.