llm-analyser
ewan
February 24, 2026
llm-analyser is a Python CLI tool that reads all .docx files in a given directory and uses a locally-running Ollama model to generate analytical essays for each one. Output essays are saved to a new folder named _essays in the project root.
This tool is now part of the @ewanc26/pkgs monorepo.
Setup
Requires Python 3 and Ollama running locally.
Create the custom Ollama model from the included Modelfile:
Usage
For example:
This reads all .docx files in Poetry/ and saves generated essays to Poetry_essays/ in the project root.
Customising the Model
Edit the Modelfile to change the system prompt, base model, or generation parameters. If you change the FROM line, rebuild with ollama create.
Licence
See repository.
Discussion in the ATmosphere