Skip to content
Back to skills

Tokei Code Statistics Counter

ASecurity

Fast and accurate code statistics tool written in Rust. Counts lines of code, comments, and blanks across 200+ languages, with output in JSON, YAML, or CBOR for programmatic analysis of codebase composition.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentsrustgodockergitsecurity

Works with

  • claude code

Security analysis

A100/100

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill tokei-code-statistics-counter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tokei Code Statistics Counter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tokei Code Statistics Counter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-tokei-code-statistics-counter/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-tokei-code-statistics-counter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "tokei Code Statistics Counter"
slug: "tokei-code-statistics-counter"
description: "Fast and accurate code statistics tool written in Rust. Counts lines of code, comments, and blanks across 200+ languages, with output in JSON, YAML, or CBOR for programmatic analysis of codebase composition."
github_stars: 14169
verification: "security_reviewed"
source: "https://github.com/XAMPPRocky/tokei"
category: "Code Quality & Review"
framework: "Claude Code"
tool_ecosystem:
  github_repo: "XAMPPRocky/tokei"
  github_stars: 14169
---

# tokei Code Statistics Counter

Fast and accurate code statistics tool written in Rust. Counts lines of code, comments, and blanks across 200+ languages, with output in JSON, YAML, or CBOR for programmatic analysis of codebase composition.

## Installation

Use the upstream install or setup path that matches your environment:
- cargo install tokei
- conda install -c conda-forge tokei
- brew install tokei
- cargo install --git https://github.com/XAMPPRocky/tokei.git tokei

Requirements and caveats from upstream:
- You can also build and install from source (requires the latest stable [Rust] compiler.)
- Tokei is available in a small alpine-based docker image, buildable through [earthly](https://github.com/earthly/earthly):

Basic usage or getting-started notes:
- ## Example
- reused in tokei combining a previous run's statistics with another set.
- ### Package Managers

- Source: https://github.com/XAMPPRocky/tokei
- Extracted from upstream docs: https://raw.githubusercontent.com/XAMPPRocky/tokei/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/tokei-code-statistics-counter/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.