🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

cc-skills-usage

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cc-skills-usage

A CLI tool for analyzing and visualizing Claude Code skill usage.

latest
npmnpm
Version
0.1.1
Version published
Weekly downloads
9
200%
Maintainers
1
Weekly downloads
 
Created
Source

cc-skills-usage

A CLI tool for analyzing and visualizing Claude Code skill usage.

Scans JSONL conversation history stored in ~/.claude/projects/, and aggregates skill invocation counts, per-project usage, token consumption, daily trends, and more.

Requirements

  • Bun

Usage

bunx cc-skills-usage@latest

Options

FlagShortDescription
--output <mode>-oOutput mode: terminal (default) or web
--from <date>Start date filter (YYYY-MM-DD)
--to <date>End date filter (YYYY-MM-DD)
--project <name>-pFilter by project name (partial match)
--skill <name>-sFilter by skill name
--port <number>Web server port (default: 3939)
--claude-dir <path>Override ~/.claude path
--limit <number>-nNumber of recent invocations to display (default: 50)
--help-hShow help

Examples

# Display in terminal
bunx cc-skills-usage@latest

# Display as web dashboard (automatically opens browser)
bunx cc-skills-usage@latest --output web

# Filter by date range and skill name
bunx cc-skills-usage@latest --from 2025-06-01 --to 2025-06-30 --skill review-pr

# Check usage for a specific project
bunx cc-skills-usage@latest --project my-app

Claude Code Skills

This package ships two Claude Code skills that can be invoked as slash commands.

SkillCommandDescription
cc-skills-usage/cc-skills-usageRun the analyzer and display skill usage stats directly in your Claude Code session
analyze-skill/analyze-skill <name>Analyze a specific skill's usage data, identify missed triggers, and suggest improvements to its SKILL.md

Install

bunx skills add shinyaigeek/cc-skills-usage/skills/cc-skills-usage
bunx skills add shinyaigeek/cc-skills-usage/skills/analyze-skill

Skill Detection

Skill invocations are detected through two mechanisms:

  • Skill tool_usetool_use blocks (name: "Skill") in assistant messages
  • Slash commands<command-name> tags in user messages (e.g., /example-skill, /review-pr)

Built-in CLI commands (/help, /clear, etc.) are excluded. When the same skill is detected by both mechanisms, duplicates are removed.

FAQs

Package last updated on 24 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts