Claude Pace Maker — Code Quality skill for Claude Code
Prevent Claude Code overages by throttling tool usage when getting close to the 5-hour limit and weekly limit.
How to install Claude Pace Maker
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open LightspeedDMS/claude-pace-maker and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Pace Maker does
Prevent Claude Code overages by throttling tool usage when getting close to the 5-hour limit and weekly limit. Impose clean code and tdd rules before files are written to disk.
Alternatives in Code Quality
- Refactor Claude Md — Refactor CLAUDE.md by extracting sections to dedicated docs with path-scoped rules 1.6k ★
- Symfony TDD Pest — Start a TDD workflow using Pest PHP for Symfony with RED-GREEN-REFACTOR cycle 206 ★
- Pragmatic Clean Code Reviewer — A Claude Code skill for conducting rigorous code reviews based on Clean Code, Clean Architecture, and The Prag 159 ★
README
Claude Pace Maker
Intelligent credit consumption throttling and code quality enforcement for Claude Code.
Features
- Credit Throttling: Adaptive pacing for 5-hour and 7-day usage windows
- Stale Data Detection: Resilient pacing calculations when usage data is outdated
- Model Preference: Nudges Claude to use specific model for subagents (quota balancing)
- Intent Validation: Requires intent declaration before code modifications
- TDD Enforcement: Core code paths require test declarations
- Clean Code Checks: Blocks security vulnerabilities, anti-patterns, and logic bugs
- Folder Exclusion: Exclude paths from TDD/Clean Code enforcement
- Session Lifecycle: Prevents premature session endings via AI validation
- Langfuse Telemetry: Optional tracing integration with Langfuse for session/trace/span tracking
- Blockage Telemetry: Track and report validation blocks via
pace-maker blockage-stats - Daily Log Rotation: Automatic log rotation (one file per day, 15 days retention)
- Enhanced Status Display: Shows versions, Langfuse connectivity, and error counts
- Prompt Intelligence (Intel): Optional per-prompt metadata (frustration, specificity, task type, quality, iteration) attached to Langfuse traces for dashboard analytics
- Secrets Management: Sanitizes sensitive data from Langfuse trace outputs
- Langfuse Auto-Provisioning: Automatic API key provisioning with configurable URL
- Danger Bash Validation: Two-phase validation for dangerous Bash commands — regex gate fast-rejects without LLM call, then LLM validates intent alignment when INTENT: is present. 55 default rules covering work destruction (git) and system destruction (rm, kill, etc.)
- Activity Indicators: Real-time hook activity tracking (IV, TD, CC, ST, CX, PA, PL, LF, SS, SM, SE, SA, UP) with color-coded status
- Global API Poll Coordination: SQLite singleton prevents redundant API polling across concurrent sessions
- **Companion
Related Skills
Getting Started Agentic Analysis Claude Code
A practical guide to using SonarQube Agentic Analysis and Context Augmentation with Claude Code to catch and p
Principles Rules
Always-on Clean Code standards from Robert C. Martin. Apply to all code regardless of language.
Rust Review
Comprehensive Rust code review for ownership, lifetimes, error handling, unsafe usage, and idiomatic patterns.
Gc Exploratory
Exploratory review — find concerns lint/golden-rules/docs-reviewer cannot catch, then create tq actions for ea
Ccinspect
Linter & runtime auditor for Claude Code configs — 40+ lint rules, write-blindness, agent-bypass, orphan agent
Lint Status
Show AgentLint status — active rules, violations this session
Related Agents
Usage Reporter
Reads real Claude Code usage from ~/.claude/stats-cache.json. Reports daily/weekly token usage by model, cache
Self Audit Orchestrator
Use this agent at the start of a new 14-day cycle (Day 1), during the cycle to execute the 2-hour sprint, and
Orch Verifier
Heavy-tier fresh-eyes verifier for the orchestrator. Use for Class: verify at every close — it MUST NOT have b