Home / Claude Code mods / Interface / text-counter

text-counter

text-counter is a Claude Code mod by whyashthakker that count words, lines, Unicode code points, and UTF-8 bytes.

Updated 2026-10-03

What is text-counter?

text-counter is a Claude Code mod by whyashthakker that count words, lines, Unicode code points, and UTF-8 bytes. It is listed under Interface and has 76 GitHub stars.

TypeClaude code mod
Authorwhyashthakker
Repositorywhyashthakker/awesome-claude-code-mods
Popularity76 GitHub stars
CategoryInterface
SecurityLow risk (100/100)
Rank#205 of 5,272 Claude Code mods; #81 in Interface
LicenseMIT
Last commit2026-10-03
Stars this week+26
Hooks3 events
Seesonly the events it hooks
Draws onPane

Is text-counter safe to install?

text-counter scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.ui.copydraws interface
$.ui.invalidatedraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install text-counter?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/whyashthakker/awesome-claude-code-mods
    claude plugin validate ./awesome-claude-code-mods/mods/text-counter
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add whyashthakker/awesome-claude-code-mods && claude plugin install text-counter@awesome-claude-code-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs text-counter for you:

Install the "text-counter" Claude Code mod from https://github.com/whyashthakker/awesome-claude-code-mods/tree/main/mods/text-counter. Run claude plugin validate on it first and show me what it can access before you enable it.

More from whyashthakker/awesome-claude-code-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • agent-board: Inspect the subagents reported by the session. (Low risk)
  • ascii-flipbook: Play a local text animation whose frames are separated by a form feed. (Low risk)
  • base64-lab: Encode UTF-8 text or decode strict Base64. (Low risk)
  • blame-view: Read authorship for the first 80 lines of a chosen tracked file. (Low risk)
  • branch-board: Inspect local branches, upstreams, and dirty files. (Low risk)
  • cache-inspector: Track API cache reads, writes, and uncached input by request. (Low risk)
  • color-lab: Convert hex colors and measure contrast against a background. (Low risk)
  • command-history: Keep the last 40 Bash command strings and copy one for reuse. (Low risk)