About Cortex Tms
Cortex TMS is an open source command line tool that scaffolds and validates the governance documentation AI coding agents read before they touch a codebase. It generates templates for files such as PATTERNS.md, ARCHITECTURE.md, CLAUDE.md and a business rules document, then checks that those documents stay present, well structured and current, either locally or as a step in continuous integration.
It is aimed at developers and teams who rely on agents like Claude Code or GitHub Copilot and want those agents to follow the project's own conventions rather than defaults from training data. The validate command reports missing mandatory files, structure problems against a HOT, WARM and COLD tiering of documents, and size limits. Git based staleness detection compares document modification dates with code commit activity and flags docs that have fallen behind the code. A terminal dashboard shows governance health, documentation freshness and sprint progress, with a live mode that refreshes every five seconds, and a Guardian component enforces rules such as branch naming and human approval for git operations.
Cortex TMS is free. It is published on npm and the source is on GitHub under the MIT license; there is no paid plan or pricing page.
The maintainers are candid about limits. Staleness detection currently relies on git timestamps only, so it cannot tell whether a document is semantically out of step with the code, and the team's own published results note that earlier token savings claims were overstated.