Cortex TMS

Scaffolds and validates the governance docs AI coding agents read, so generated code follows your project's patterns.

Stars
★ 180
Last updated
10d ago
FARS reviewed
Dec 02, 2026
License
MIT
Primary language
MDX

At a glance

How it runs
CLIMCP server
Works with
Universal · cross-platformClaude Code
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Node.jsGit repository with full commit historyShell / CLINetwork accessLocal filesystemMCP Server
Typical use
Teams using Claude Code or GitHub Copilot heavily who want agent-written code to reuse the conventions already recorded in PATTERNS.md instead of inventing new ones.
Not a fit if
  • Throwaway prototypes where governance docs cost more than they save
  • Single-file or very simple solo projects that need no pattern docs
  • Teams needing semantic code-vs-doc analysis; v1 only compares git timestamps
Website
cortex-tms.org ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-23
Source review
61/100 · Some gaps

What does this agent do, and when should you use it?

Cortex TMS is a Node.js CLI published on npm as cortex-tms that generates and audits the governance documentation an AI coding agent should read before changing a codebase. init scaffolds a tiered file set — NEXT-TASKS.md, PROMPTS.md, CLAUDE.md, .github/copilot-instructions.md, plus docs/core/PATTERNS.md, ARCHITECTURE.md and DOMAIN-LOGIC.md — split into HOT/WARM/COLD by access frequency, with --scope controlling the file set and --preset node|python|go filling in ecosystem-specific content. validate then checks that mandatory files exist, that HOT files stay under 200 lines, that placeholders were replaced, that finished tasks were archived, and, since v4.0, that governance docs are not stale relative to git commit activity in watched directories. The staleness check ignores merge, test-only and lockfile-only commits and needs a full (non-shallow) git history. Remaining commands cover status reporting, a three-view terminal dashboard, task archiving, version migration with rollback, a prompt library, pre-commit hook installation, and a read-only MCP server that publishes the docs at stable cortex:// URIs. Everything runs locally on the user's machine under the MIT license, and it reaches AI tools through files and MCP rather than a hosted backend.

cortex-tms init writes the governance skeleton into a project (--scope picks the file set, --preset node|python|go fills ecosystem content, --dry-run previews). cortex-tms validate checks mandatory files, the 200-line ceiling on HOT files, leftover [Project Name] placeholders, archive status, and doc staleness, with --fix repairing missing files and --strict turning warnings into errors. Staleness compares each doc's last-modified date against commits in directories mapped under staleness.docs in .cortexrc, flagging when daysSinceDocUpdate > thresholdDays and meaningfulCommits >= minCommits. status prints health and sprint progress, dashboard renders Overview / Files / Health views with optional --live refresh, archive moves completed tasks into docs/archive/, migrate analyses and upgrades outdated templates (--apply, --rollback), prompt retrieves the Essential 7 prompt library, hooks install writes a pre-commit hook that runs validate, and mcp serves read-only cortex:// resources over STDIO.

  1. Teams using Claude Code or GitHub Copilot heavily who want agent-written code to reuse the conventions already recorded in PATTERNS.md instead of inventing new ones.
  2. A long-running repository whose architecture docs have quietly drifted from the code, needing CI in strict mode to block merges on stale docs.
  3. An organisation with Node, Python and Go repositories that wants ecosystem-specific governance text generated quickly via --preset.
  4. Anyone driving Claude Desktop or another MCP client who wants NEXT-TASKS.md and the core spec docs readable through a fixed URI list instead of pasted context.
  5. A brand-new project that wants task list, architecture, patterns and domain rules scaffolded and committed within about a minute.
  6. Engineering teams that gate every commit on documentation health and want the check moved local via the pre-commit hook.

How do you install or deploy this agent?

No installation is required to try it — run through npx. You need a Node.js runtime and a project that is already a git repository, because staleness detection reads git history. For frequent use, install globally:

How do you use this agent?

Generate the governance docs first, interactively or with explicit flags:

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • Scaffolding, health validation and git-based staleness detection live in one CLI, and validate --strict drops straight into CI as a build gate.
  • Ships a read-only MCP server exposing stable cortex:// resource URIs to MCP clients, with no write tools, so agents can read governance docs without mutating them.
  • Hook management only touches hooks carrying its own marker and never overwrites foreign pre-commit hooks, which limits the blast radius on existing repos.
  • Three governance packs (node/python/go) plus --scope tiers let you size the doc set to the project instead of adopting every file.
Limitations
  • Staleness v1 is purely temporal: it compares git timestamps and explicitly cannot detect semantic misalignment, and it silently degrades on shallow clones without fetch-depth: 0.
  • review is described as AI-powered semantic validation, but the README does not document which model provider, credentials or request path it uses, so that feature is unverifiable from the source.
  • Adoption means maintaining a whole tiered documentation set forever; for prototypes or small solo projects the upkeep outweighs the benefit, as the README itself notes.
  • v4.0 is breaking: status --tokens and token/cost analysis were removed and auto-tier is deprecated in favour of archive, so existing scripts need migration.
  • Requires a Node.js runtime, and the npx quickstart needs network access to the npm registry to fetch the package.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Cortex TMS This agent 61 · Some gaps CLIFree ★ 180 10d ago MDX Claude Code
ReevesAgents 67 · Some gaps — ★ 112 1d ago TypeScript Claude Code
Cambium 85 · Good CLIFree ★ 663 2mo ago Python Codex · Claude Code
Grounded Docs MCP Server 78 · Good CLIFree + model costs ★ 1.9k 10d ago TypeScript ChatGPT · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
61/ 100 5-point scale 3.1 / 5
Trust 14/29
Reliability 6/14
Adaptability 15/18
Convention 16/18
Effectiveness 7/13
Verifiability 3/8
Why each dimension lost points
Trust14 / 29 · 2.4/5

Trust evidence is uneven. CLAUDE.md and the release/implement skills explicitly require user approval for git writes, release steps, and showing diffs before committing; MCP is described as read-only and hooks claim not to overwrite foreign hooks, supporting user_confirmation = 2. least_privilege is only 1: the plan skill allows broad tools including Read/Glob/Grep/WebSearch/WebFetch/Edit/Write/Task, implement/release have no explicit tool allowlist, and init --force can overwrite files. data_flow_transparency is 1: README lists MCP resources and config, but does not fully explain what code review/Guardian sends to external AI services, retention, or network boundaries. sensitive_data_handling is 2: SECURITY.md and SECURITY-TESTING.md concretely describe API key redaction, .env usage, path traversal protection, and Zod validation, and src/cli.ts imports sanitizeApiKey, but sanitize.ts itself is not in the packet. dependency_security is 2: CI runs pnpm audit --audit-level=high --prod, but only high/critical production dependencies are covered and no lockfile is included. external_effects is 1: the CLI writes files, installs git hooks, starts an MCP server, and review calls an external AI service; dry-run/read-only designs exist, but there is no unified egress or side-effect boundary statement. rollback is 1: migrate has --rollback and backups, init/archive have dry-run, but init --force has no general rollback or backup promise. source_attribution is 2: MIT LICENSE, package author/repository fields, and document references are clear, but publisher identity is unverified and cannot add points by itself.

Reliability6 / 14 · 2.1/5

Reliability has concrete inconsistencies. self_consistency is 1: README says 316 tests (97% pass rate), SECURITY.md says 269 tests, SECURITY-TESTING.md says 60+ E2E; README lists MCP as a v4.2+ future item while README and src/cli.ts already register the mcp command; CLAUDE.md ends with version marker 4.0.2 while README/package.json say 4.1.0. dependency_availability is 1: package.json lists dependencies and Node >=18, CI uses pnpm 8/Node 22, but no lockfile is included, so reproducible installation cannot be statically confirmed. failure_messages is 2: src/cli.ts has centralized error handling, CLIError/ValidationError, exit codes, and sanitizeApiKey, and docs show error examples; not every command failure path is visible in the packet, so it is not full marks.

Adaptability15 / 18 · 4.2/5

Adaptability is relatively strong. audience_and_scenarios is 3: README clearly lists good fits (multi-file, team, long-running, AI-heavy) and poor fits (single-file, throwaway prototypes, simple solo projects), plus nano/standard/enterprise scopes and node/python/go presets. capability_boundaries is 3: README has a What Cortex Does / Does NOT Do section, explicitly saying it is not a token optimizer, not code enforcement, not semantic analysis, and that staleness v1 is timestamp-based only. trigger_precision is 2: skills have clear descriptions and disable-model-invocation, and plan/implement/release triggers are fairly clear, but there is no unified manifest and some skill tool scopes are broad. environment_fit is 2: Node >=18, pnpm, full git history, CI fetch-depth: 0, and MCP client setup are documented, but the pnpm and full-history requirements limit some environments.

Convention16 / 18 · 4.4/5

Convention is generally solid. information_architecture is 3: README, CLI-USAGE, SECURITY, TROUBLESHOOTING, docs/core layering, and the HOT/WARM/COLD table are clear. install_notes is 3: npx, global install, Node version, and pnpm install troubleshooting are documented. naming_stability is 2: MCP URI slugs are claimed stable and auto-tier has a deprecation notice, but version markers and roadmap naming are inconsistent. examples_and_faq is 3: CLI commands, CI, MCP config, dashboard, and troubleshooting examples are plentiful. known_limitations is 3: staleness v1 limits, fit/non-fit scenarios, and non-goals are explicit. license is 3: MIT LICENSE matches package.json. versioning_changelog is 2: README has versions, breaking changes, and a roadmap and references CHANGELOG.md, but no CHANGELOG is included and version markers conflict. maintenance_responsibility is 2: package.json has author email, repository, issues/discussions, but the security contact is still 'to be added' and publisher identity is unverified.

Effectiveness7 / 13 · 2.7/5

Effectiveness can only be judged statically. output_usability is 2: README/CLI-USAGE show validate, status, dashboard, and MCP config outputs with clear structure, but actual output quality was not executed. marginal_value is 2: documentation governance, staleness detection, hooks, and MCP resource exposure add value to AI coding workflows, but overlap with ordinary AGENTS/CLAUDE governance and value depends on project size. cost_benefit is 1: README acknowledges small projects/prototypes may not be worth it, but gives no quantified setup cost, maintenance cost, or benefit evidence.

Verifiability3 / 8 · 1.9/5

Verifiability is weak. claim_traceability is 1: README claims 316 tests, 97% pass rate, 269 tests, 60+ E2E, and enterprise-grade security, but no test files or run results are included, so those numbers cannot be traced. cross_source_corroboration is 1: commands, security practices, installation, and package metadata are cross-referenced across README/SECURITY/CLI-USAGE/package.json, but test counts, version markers, and the MCP roadmap conflict. fact_inference_separation is 1: docs separate what the tool does/does not do and staleness limits, but marketing claims such as 'Production Grade' and test pass rates are mixed with verifiable facts and cannot be confirmed statically.

Risks and how to mitigate them
  • Test counts and pass rates conflict across README, SECURITY.md, and SECURITY-TESTING.md, and no test files or run results are included; do not treat '316 tests / 97% pass rate' as verified fact.
  • Version markers conflict: CLAUDE.md ends at 4.0.2 while README/package.json say 4.1.0; MCP is still listed as a future roadmap item in README even though the command is registered. Verify the actual published version before use.
  • The plan skill allows broad tools such as Edit/Write/WebFetch/Task, and implement/release have no explicit tool allowlist; although the docs require user approval, tighten tool permissions in real deployments.
  • review/Guardian calls an external AI service, but the packet does not fully document what data is sent, retention, or network egress; confirm data flow and compliance before using it on private code.
  • init --force can overwrite existing files, and while migrate has rollback, init has no general rollback promise; use dry-run and backups before applying to an existing project.
  • No lockfile is included, so reproducible dependency installation cannot be statically confirmed; publisher identity is unverified and the security contact is still 'to be added'.
Evidence confidence: Low Reviewed Dec 02, 2026 Reviewed revision 2e7c79ee5ca0
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/cortex-tms.svg)](https://followagents.com/en/agents/cortex-tms)
<a href="https://followagents.com/en/agents/cortex-tms"><img src="https://followagents.com/badge/cortex-tms.svg" alt="FARS review"></a>

FAQ

Do I need to supply an LLM API key?
The documented commands — init, validate, status, dashboard, archive, migrate, hooks, mcp — require no model credentials and run locally. Only review is labelled AI-powered semantic validation, and the source does not state the provider or credentials it needs, so confirm that before relying on it.
Why does staleness detection never fire in GitHub Actions?
It needs full git history. The README's CI example sets fetch-depth: 0 on actions/checkout; with a shallow clone the commit counts are wrong and the check cannot work.
Does validate check my code quality?
No. It validates documentation health only: mandatory files, HOT file size limits, leftover placeholders, archive status and doc freshness. The README states explicitly that it does not replace code review or enforce code rules.
Will installing hooks clobber my existing pre-commit hook?
The docs say it never overwrites foreign hooks and only manages hooks bearing its own marker. It also requires a .cortexrc, so run cortex-tms init first.
Can the MCP server modify my documents?
No. It starts over STDIO and exposes read-only resources only — no write tools — advertising just the files that exist on disk and honouring custom paths.docs / paths.tasks in .cortexrc.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts