Skip to main content

TLM - Your AI Tech Lead. It's the annoying agent which doesn't let claude cut corners

Project description

TLM — AI Tech Lead for Claude Code

The annoying agent that makes Claude do the right thing.

TLM sits inside Claude Code and enforces TDD, tests, and spec compliance — automatically. It scans your project, identifies gaps, and hooks into Claude to enforce quality.

Quick Start

pipx install tlm-cli
tlm auth <your-api-key>
cd your-project
tlm install

That's it. Open Claude Code and start working — TLM activates automatically.

What Happens

  1. tlm auth <key> — Save your API key (one-time)
  2. tlm install — Scans your project, sends to server for assessment, shows gaps, selects quality tier, installs Claude Code hooks
  3. Work in Claude Code — TLM interviews you before features, enforces TDD, blocks deploys, warns on gaps

How It Works

TLM scans your project and sends the file tree + samples to the server for assessment. The server returns recommendations (gaps) ranked by severity:

Phase 5: Project Gaps (4 found)
┌──────────────────────────────────────────┐
│ critical  CI/CD      No CI/CD pipeline   │
│ critical  Testing    No tests found      │
│ high      Infra      No staging env      │
│ medium    Ops        No monitoring       │
└──────────────────────────────────────────┘

You choose a quality tier (high/standard/relaxed) and TLM enforces accordingly.

Commands

Command What it does
tlm auth <key> Authenticate with TLM. Shows status if already logged in.
tlm install Install TLM in a project: scan, configure, and set up hooks.
tlm scan Re-scan project and show updated recommendations.
tlm gaps Show active project gaps and their severity.
tlm fix [gap_id] Fix a project gap: interview, plan, execute, review.
tlm review spec <path> Review a spec/plan file.
tlm review code [commit] Review staged changes or a specific commit.
tlm status Show TLM project status: config, gaps, enforcement.
tlm logout Remove stored TLM credentials.
tlm uninstall Remove TLM from this project.
tlm upgrade Upgrade TLM CLI to the latest version.

Quality Tiers

Tier Behavior
HIGH Block on any gap. Spec review required. Multi-model code review.
STANDARD Block on critical gaps. Spec review on blockers. Single-model review.
RELAXED Warn only. No spec blocking. Mechanical checks only.

Hooks

TLM installs 6 Claude Code hooks:

  • session_start — Loads project context, gaps, quality rules
  • prompt_submit — Phase-specific guidance, gap warnings
  • guard (Write/Edit) — Blocks code during interview, enforces TDD
  • compliance (Bash) — Review gate on git commit
  • deployment (Bash) — Always blocks deploys until tlm check passes
  • stop — Session cleanup

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tlm_cli-0.11.1.tar.gz (149.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tlm_cli-0.11.1-py3-none-any.whl (80.1 kB view details)

Uploaded Python 3

File details

Details for the file tlm_cli-0.11.1.tar.gz.

File metadata

  • Download URL: tlm_cli-0.11.1.tar.gz
  • Upload date:
  • Size: 149.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tlm_cli-0.11.1.tar.gz
Algorithm Hash digest
SHA256 a977795383043c91d88bbf0712f546469a8069e827d96e897d88ceb860a9b02c
MD5 5d86dab7c52e4d948256a51a636f1477
BLAKE2b-256 c9a17f07ed997d6a37dea0ffea54aea1ddc5b5ac7e8e0393ba07eefae093f368

See more details on using hashes here.

File details

Details for the file tlm_cli-0.11.1-py3-none-any.whl.

File metadata

  • Download URL: tlm_cli-0.11.1-py3-none-any.whl
  • Upload date:
  • Size: 80.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tlm_cli-0.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8eaf1399d6470b5bcba9f686fe94eac76b96ba6007500931c1d5d53ba56249a8
MD5 e015ca058630ce190db3d9cc05ccf8df
BLAKE2b-256 051c289a43b6528a946f29921f0620dbfc6a43eaf215ddb2f8b04c24ba553665

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page