@compilorama/llmon-cli
v1.2.0
Published
LLM context files manager
Readme
llmon-cli
llmon helps you manage LLM context files on Cursor across multiple projects.
Instead of duplicating AGENTS.md, SKILLS.md and Cursor rules in every repository, llmon keeps a single source of truth in your home directory and links it into each project you harness. Update the context files once, and every harnessed project stays in sync.
Installation
npm i -g @compilorama/llmon-cliUsage
Using llmon is a three-step workflow:
Initialize llmon. This creates a central
llmondirectory in your home folder, which will hold the LLM context files shared across all your projects.llmon initIt will create the following structure:
~/llmon/ ├── AGENTS.md └── SKILLS.mdPopulate
AGENTS.mdandSKILLS.md. Open the files created byinitand write down the behavior, coding standards and capabilities you want your LLM to follow.Harness your projects. For each project you want to apply these context files to, run
harnesspointing to the project directory. This exposes the shared context to Cursor through an isolated.llmonentry inside the project.llmon harness ./path/to/your/projectFrom this point on, Cursor will follow the instructions defined in
~/llmon/AGENTS.mdand~/llmon/SKILLS.mdwhile working on that project, regardless the agent selected inside the editor (Codex, Opus, etc).
API
llmon exposes the following commands.
init
llmon initCreates the central context directory at ~/llmon (if it doesn't exist yet) and scaffolds two empty files inside it:
~/llmon/AGENTS.md~/llmon/SKILLS.md
These files are where you describe the behavior, coding standards and capabilities your LLM should follow across all harnessed projects.
harness
llmon harness <directory>Wires a project up to your central llmon context. Given a target <directory> (absolute or relative), it will:
- Create a symlink
<directory>/.llmonpointing to~/llmon, so the project can read the sharedAGENTS.mdandSKILLS.mdwithout copying them. - Write a
<directory>/.cursorrulesfile that instructs Cursor to follow the rules defined in./.llmon/AGENTS.mdand./.llmon/SKILLS.md. - Append
.llmonand.cursorrulesto<directory>/.git/info/exclude, so these entries are ignored locally by Git without touching the project's shared.gitignore.
After harnessing, the project contains:
<directory>/
├── .llmon -> ~/llmon
└── .cursorrules--help
llmon --help
llmon -hPrints a brief usage message listing all available commands. -h is a short alias for --help.
--version
llmon --version
llmon -vPrints the installed llmon-cli version (as published to npm). -v is a short alias for --version.
How to contribute
Requirements
Running the project locally
Clone the repository:
git clone https://github.com/compilorama/llmon-cli.git cd llmon-cliInstall dependencies:
npm installRun the test suite:
npm testLint the source code:
npm run formatBuild the distributable output (transpiles
src/intodist/):npm run build
