SkillAgentSearch skills...

agentlytics

Comprehensive analytics dashboard for AI coding agents — Cursor, Windsurf, Claude Code, VS Code Copilot, Zed, Antigravity, OpenCode, Command Code

Install / Use

npx skills add f/agentlytics

Installs into whichever agent you are using.

About this skill
📦

Other

Other agent config

Quality Score

86/100

Supported Platforms

Claude Code
Cursor
GitHub Copilot
Windsurf
Zed

Our assessment of agentlytics

agentlytics scores 86/100 on our quality scale, 412th of 595 Data & Analytics skills we index.

Its Other is 8.8 KB long, well organised into 22 sections with 10 code examples: a thorough specification that gives an agent plenty to work with.

It has 593 GitHub stars, a meaningful sign that others use it.

Substance
29/30
Structure
20/20
Description
15/15
Adoption
12/20
Freshness
11/15

Maintenance, license and trust

  • The repository was last updated about 3 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
  • Our last check on 2026-10-20 found the source still online.
  • No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
  • Its trust signals score 86/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.

AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

agentlytics compared with similar skills

All 4 of these similar skills score higher than agentlytics; compare them before choosing.

SkillScoreStarsUpdatedFormat
agentlytics (this skill)by f865933mo agoOther
claude-memby thedotmack100113.5ktodayCLAUDE.md
sr-screenerby Imbad020210054.8k5d agoSKILL.md
360-feedback-systemby sickn3310048.9k5d agoSKILL.md
access-matrixby sickn3310048.9k5d agoSKILL.md

Frequently asked questions

How do I install agentlytics?
Run npx skills add f/agentlytics. The install tabs above show the steps for each supported agent.
Which AI agents does agentlytics work with?
It is written for Claude Code, Cursor, GitHub Copilot, Windsurf and Zed, as a Other file. Other agents that read the same format can often use it too.
Is agentlytics safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 86/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is agentlytics still maintained?
The repository was last updated about 3 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
<p align="center"> <img src="misc/logo.svg" width="120" alt="Agentlytics"> </p> <h1 align="center">Agentlytics</h1> <p align="center"> <strong>Your Cursor, Devin, Claude Code sessions — analyzed, unified, tracked.</strong><br> <sub>One command to turn scattered AI conversations from <b>17 editors</b> into a unified analytics dashboard.<br>Sessions, costs, models, tools — finally in one place. 100% local.</sub> </p> <p align="center"> <a href="https://www.npmjs.com/package/agentlytics"><img src="https://img.shields.io/npm/v/agentlytics?color=6366f1&label=npm" alt="npm"></a> <a href="#supported-editors"><img src="https://img.shields.io/badge/editors-17-818cf8" alt="editors"></a> <a href="#license"><img src="https://img.shields.io/badge/license-MIT-green" alt="license"></a> <a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-%E2%89%A520.19%20%7C%20%E2%89%A522.12-brightgreen" alt="node"></a> </p> <p align="center"> <img src="misc/screenshot.png" alt="Agentlytics dashboard" width="100%"> </p>

The Problem

You switch between Cursor, Devin, Claude Code, VS Code Copilot, and more — each with its own siloed conversation history.

  • ✗ Sessions scattered across editors, no unified view
  • ✗ No idea how much you're spending on AI tokens
  • ✗ Can't compare which editor is more effective
  • ✗ Can't search across all your AI conversations
  • ✗ No way to share session context with your team
  • ✗ No unified view of your plans, credits, and rate limits

The Solution

One command. Full picture. All local.

npx agentlytics
# or
pnpm dlx agentlytics
# or
yarn dlx agentlytics
# or
bunx agentlytics

Opens at http://localhost:4637. Requires Node.js ≥ 20.19 or ≥ 22.12, macOS. No data ever leaves your machine.

Node.js

$ npx agentlytics

(● ●) [● ●] Agentlytics
{● ●} <● ●> Unified analytics for your AI coding agents

Looking for AI coding agents...
   ✓ Cursor              498 sessions
   ✓ Devin                20 sessions
   ✓ Devin Next           56 sessions
   ✓ Claude Code           6 sessions
   ✓ VS Code              23 sessions
   ✓ Zed                   1 session
   ✓ Codex                 3 sessions
   ✓ Gemini CLI            2 sessions
   ...and 6 more

(● ●) [● ●] {● ●} <● ●> ✓ 691 analyzed, 360 cached (27.1s)
✓ Dashboard ready at http://localhost:4637

To only build the cache without starting the server:

npx agentlytics --collect
# or: pnpm dlx agentlytics --collect

Features

  • Dashboard — KPIs, activity heatmap, editor breakdown, coding streaks, token economy, peak hours, top models & tools
  • Sessions — Search, filter, and read full conversations with syntax highlighting. Open any chat in a slide-over sidebar.
  • Costs — Estimate your AI spend broken down by model, editor, project, and month. Spot your most expensive sessions.
  • Projects — Per-project analytics: sessions, messages, tokens, models, editor breakdown, and drill-down detail views
  • Deep Analysis — Tool frequency heatmaps, model distribution, token breakdown, and filterable drill-down analytics
  • Compare — Side-by-side editor comparison with efficiency ratios, token usage, and session patterns
  • Subscriptions — Live view of your editor plans, usage quotas, remaining credits, and rate limits across Cursor, Devin, Claude Code, Copilot, Codex, and more
  • Relay — Share AI session context across your team via MCP

Supported Editors

| Editor | Msgs | Tools | Models | Tokens | |--------|:----:|:-----:|:------:|:------:| | Cursor | ✅ | ✅ | ✅ | ✅ | | Devin | ✅ | ✅ | ✅ | ✅ | | Devin Next | ✅ | ✅ | ✅ | ✅ | | Antigravity | ✅ | ✅ | ✅ | ✅ | | Claude Code | ✅ | ✅ | ✅ | ✅ | | VS Code | ✅ | ✅ | ✅ | ✅ | | VS Code Insiders | ✅ | ✅ | ✅ | ✅ | | Zed | ✅ | ✅ | ✅ | ❌ | | OpenCode | ✅ | ✅ | ✅ | ✅ | | Codex | ✅ | ✅ | ✅ | ✅ | | Gemini CLI | ✅ | ✅ | ✅ | ✅ | | GitHub Copilot | ✅ | ✅ | ✅ | ✅ | | Cursor Agent | ✅ | ❌ | ❌ | ❌ | | Command Code | ✅ | ✅ | ❌ | ❌ | | Goose | ✅ | ✅ | ✅ | ❌ | | Kiro | ✅ | ✅ | ✅ | ❌ | | Codebuff | ✅ | ✅ | ⚠️ | ⚠️ |

Devin, Devin Next, and Antigravity must be running during scan.

Relay

Relay enables multi-user context sharing across a team. One person starts a relay server, others join and share selected project sessions. An MCP server is exposed so AI clients can query across everyone's coding history.

Start a relay

npx agentlytics --relay
# or: pnpm dlx agentlytics --relay

Optionally protect with a password:

RELAY_PASSWORD=secret npx agentlytics --relay

This starts a relay server on port 4638 and prints the join command and MCP endpoint:

  ⚡ Agentlytics Relay

  Share this command with your team:
    cd /path/to/project
    npx agentlytics --join 192.168.1.16:4638

  MCP server endpoint (add to your AI client):
    http://192.168.1.16:4638/mcp

Join a relay

cd /path/to/your-project
npx agentlytics --join <host:port>
# or: pnpm dlx agentlytics --join <host:port>

If the relay is password-protected:

RELAY_PASSWORD=secret npx agentlytics --join <host:port>

Username is auto-detected from git config user.email. You can override it with --username <name>.

You'll be prompted to select which projects to share. The client then syncs session data to the relay every 30 seconds.

MCP Tools

Connect your AI client to the relay's MCP endpoint (http://<host>:4638/mcp) to access these tools:

| Tool | Description | |------|-------------| | list_users | List all connected users and their shared projects | | search_sessions | Full-text search across all users' chat messages | | get_user_activity | Get recent sessions for a specific user | | get_session_detail | Get full conversation messages for a session |

Example query to your AI: "What did alice do in auth.js?"

Relay REST API

| Endpoint | Description | |----------|-------------| | GET /relay/health | Health check and user count | | GET /relay/users | List connected users | | GET /relay/search?q=<query> | Search messages across all users | | GET /relay/activity/:username | User's recent sessions | | GET /relay/session/:chatId | Full session detail | | POST /relay/sync | Receives data from join clients |

Relay is designed for trusted local networks. Set RELAY_PASSWORD env on both server and clients to enable password protection.

How It Works

Editor files/APIs → editors/*.js → cache.js (SQLite) → server.js (REST) → React SPA
Relay:  join clients → POST /relay/sync → relay.db (SQLite) → MCP server → AI clients

All data is normalized into a local SQLite cache at ~/.agentlytics/cache.db. The Express server exposes read-only REST endpoints consumed by the React frontend. Relay data is stored separately in ~/.agentlytics/relay.db.

API

| Endpoint | Description | |----------|-------------| | GET /api/overview | Dashboard KPIs, editors, modes, trends | | GET /api/daily-activity | Daily counts for heatmap | | GET /api/dashboard-stats | Hourly, weekday, streaks, tokens, velocity | | GET /api/chats | Paginated session list | | GET /api/chats/:id | Full chat with messages | | GET /api/projects | Project-level aggregations | | GET /api/deep-analytics | Tool/model/token breakdowns | | GET /api/tool-calls | Individual tool call instances | | GET /api/refetch | SSE: wipe cache and rescan |

All endpoints accept optional editor filter. See API.md for full request/response documentation.

Roadmap

  • [ ] Offline Devin/Antigravity support — Read cascade data from local file structure instead of requiring the app to be running (see below)
  • [ ] LLM-powered insights — Use an LLM to analyze session patterns, generate summaries, detect coding habits, and surface actionable recommendations
  • [ ] Linux & Windows support — Adapt editor paths for non-macOS platforms
  • [ ] Export & reports — PDF/CSV export of analytics and session data
  • [x] Cost tracking — Estimate API costs per editor/model based on token usage

Contributions Needed

Devin / Devin Next / Antigravity offline reading — Currently these editors require their app to be running because data is fetched via ConnectRPC from the language server process. Unlike Cursor or Claude Code, there's no known local file structure to read cascade history from. Legacy Windsurf identifiers and ~/.windsurf configuration are still supported for backwards compatibility.

LLM-based analytics — We'd love to add intelligent analysis on top of the raw data — session summaries, coding pattern detection, productivity insights, and natural language queries over your agent history. If you have ideas or want to build this, open an issue or PR.

Contributing

See CONTRIBUTING.md for development setup, editor adapter details, database schema, and how to add support for new editors.

License

MIT — Built by @f

Related Skills

View on GitHub
GitHub Stars593
CategoryData
Updated3mo ago
Forks88

Languages

JavaScript

Trust signals

86/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 medium1 info