@segmently/modules
v0.4.0
Published
Code-structure-centric context layer for AI coding agents
Maintainers
Readme
Segmently Modules
An AI coding agent is an excellent worker with amnesia and a memory of limited size. Segmently Modules solves both problems:
- it writes the notes for starting work on any part of the project — a specific page or a server feature;
- it finds the notes a task needs before the work starts;
- it brings the notes up to date when the work is done;
- it keeps the notes per role, so the agent reads only the notes it needs right now: its memory is limited.
This package is the command line: code-structure-centric context layer for AI coding agents — a module registry, per-module interface docs and per-role context files. The skills come as Claude Code and Codex plugins.
npm install -g @segmently/modules
segmently-modules --help
npx @segmently/modules --help # or without installingThe package carries the engine (pure Python) and a POSIX sh launcher; Node runs nothing.
It needs Python 3.9 or newer — on macOS the python3 of the Command Line Tools (the package
that brings git) is enough — and git. The launcher takes SEGMENTLY_MODULES_PYTHON when set,
else the first python3.14 … python3.9, python3 it finds, else uv run. macOS and Linux.
The docs, the Claude Code and Codex plugins (they carry the skills) and the changelog: https://github.com/segmently-ai/segmently-modules/tree/v0.4.0. License: MIT.
