activity

activity is a skill for Claude Code, Codex from Sent1nelX/claude-activity-tracker. It costs 20 tokens per session (1,108 once invoked), scanned A, original, MIT.

A usage report for Claude Code, the coding assistant, showing sessions, tool calls, edited files, and related activity statistics.

In plain words
What is it for?
Use it to see daily coding sessions, active time, tool usage, files edited, and the files or tools used most often.
Why use it?
It gives you a quick view of how you used Claude Code instead of requiring you to track that work yourself.

Skill for Claude CodeCodex

Part of the claude-activity-tracker plugin — 1 skill, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/sent1nelx/claude-activity-tracker/activity
Any agent
npx skills add Sent1nelX/claude-activity-tracker --skill activity
Clone the repo
git clone --depth 1 https://github.com/Sent1nelX/claude-activity-tracker

Made for: Claude Code, Codex.

Or install claude-activity-tracker, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for activity

README.md
[![agentmods](https://agentmods.dev/badge/skills/sent1nelx/claude-activity-tracker/activity.svg)](https://agentmods.dev/skills/sent1nelx/claude-activity-tracker/activity)
Your own site
<a href="https://agentmods.dev/skills/sent1nelx/claude-activity-tracker/activity"><img src="https://agentmods.dev/badge/skills/sent1nelx/claude-activity-tracker/activity.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,108 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00020 $0.01108
Opus 5 $0.00010 $0.00554
Sonnet 5 $0.00004 $0.00222
Haiku 4.5 $0.00002 $0.00111

Measured 4d ago against content hash 1f42be498e48, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

activity scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/activity/SKILL.md · 164 lines

How it starts

The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Activity Tracker Skill

Use this skill when the user types /activity or asks about their Claude Code usage, coding stats, session summaries, or productivity metrics.

Instructions

Step 1 — Fetch today's stats

Call the activity_stats MCP tool (server: activity-tracker):

tool: activity_stats
arguments: {}

This returns a JSON object with:

  • date — today's date
  • session_count — number of sessions started
  • total_duration_minutes — total active time
  • tool_calls — total MCP/tool invocations
  • files_edited — number of unique files touched
  • top_files — list of {path, edits} objects (up to 10)
  • top_tools — list of {tool, calls} objects (up to 10)

Step 2 — Format the output

Present results as a clean markdown summary. Use the template below, substituting real values:

## 📊 Today's Activity — {date}

| Metric | Value |
|--------|-------|
| Sessions | {session_count} |
| Active time | {total_duration_minutes} min |
| Tool calls | {tool_calls} |
| Files edited | {files_edited} |

### 🔧 Top Tools
| Tool | Calls |
|------|-------|
| {tool} | {calls} |
... (repeat for each entry)

### 📁 Top Files
| File | Edits |
|------|-------|
| {path} | {edits} |
... (repeat for each entry)

Shorten file paths to the last 2-3 path segments for readability (e.g. src/server.py instead of /home/user/projects/foo/src/server.py).

Step 3 — Offer weekly view (optional)

After showing today's stats, offer: "Type /activity week for a 7-day report."

If the user asked for weekly stats (e.g. said "weekly", "this week", "7 days"), call activity_report instead:

tool: activity_report
arguments: { "days": 7 }

Format the weekly report similarly, but add a daily breakdown table:

### 📅 Daily Breakdown
| Date | Sessions | Duration | Tools |
|------|----------|----------|-------|
| {date} | {sessions} | {minutes} min | {tools} |

Step 4 — Insight (optional, 1 sentence)

If any single tool accounts for more than 40% of calls, note it: "You relied heavily on {tool} today — it accounted for {pct}% of all tool calls."

Read the full file on GitHub · 164 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 164 lines · 20 tokens per session scan A 1f42be498e48

Subscribe to this mod's changes

activity is a skill published in the GitHub repository Sent1nelX/claude-activity-tracker (2 stars, last pushed 3mo ago), licensed MIT. It adds 20 tokens to every session and 1,108 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.