Skip to content
Back to skills

Cc Metrics

ASecurity

(Conductor) Report token and time spend from local session logs, with recommendations Use when the user asks for /cc-metrics or cc-metrics.

  • 22 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 25, 2026
ai-agentsbashnodegit

Works with

  • claude code

Security analysis

A100/100

Scanned November 25, 2026

npx -y skills add yeisonrestrepo/code-conductor --skill cc-metrics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cc Metrics?

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

Security grade badge for Cc Metrics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yeisonrestrepo-cc-metrics/badge)](https://www.skillsdirectory.com/skills/yeisonrestrepo-cc-metrics)

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: cc-metrics
description: "(Conductor) Report token and time spend from local session logs, with recommendations Use when the user asks for /cc-metrics or cc-metrics."
---

> code-conductor: this command was written for Claude Code. Where it names a Claude Code tool (Read, Grep, Glob, Edit, Write, Bash, Skill, Agent), use your closest equivalent. `$ARGUMENTS` and an `ARGUMENTS:` line mean the text the user gave with the command.


Read-only. This command reads Claude Code's local session logs for this project and prints one compact report. It registers no hook and writes no file.

## Step 1 — Run the reader

Resolve the reader by presence, the deployed copy first, and run it once:

```bash
M=.claude/scripts/session-metrics.mjs; [ -f "$M" ] || M=scripts/session-metrics.mjs; node "$M" '$ARGUMENTS'
```

If neither file exists, output `"cc-metrics: reader not found. Run the installer with --project."` and stop.

## Step 2 — Relay the report

Output the reader's stdout verbatim, inside one code block. Do not open, grep or summarize the log files yourself: the report already holds every number, and reading the logs would spend the tokens this command measures.

Every recommendation line quotes the number it rests on. Values labelled `est` are estimates (characters / 4). A line starting `cc-metrics: no session logs at` or `cc-metrics: failed:` is the whole report: relay it and stop. From a git worktree, the project's logs live under the main checkout's directory; pass it with `--dir`.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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