cloc

Official

Quickly measure codebase size and language mix.

Authorasynkron
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Count lines of code, analyze codebase size and composition, and compare code between git refs to reveal metrics for project reviews and refactor planning.

Core Features & Use Cases

  • Analyze directories, archives, and git references to produce a language breakdown and line counts (blank, comment, and physical lines).
  • Compare code between versions to spot changes in composition and size.
  • Output results in machine-readable formats (JSON, YAML, CSV, Markdown tables, XML) for downstream tooling.

Quick Start

Run cloc on a project directory or git ref to generate a comprehensive codebase report.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cloc
Download link: https://github.com/asynkron/asynkron-skills/archive/main.zip#cloc

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.