wesm

Agentsview — Data skill for Claude Code

Data community

Local-first session intelligence and analytics for coding agents, supporting Claude Code, Codex, and 14 other agents.

How to install Agentsview

This entry records only its repository, not the path inside it, so there is no exact command to give. Open wesm/agentsview and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agentsview does

Local-first session intelligence and analytics for coding agents, supporting Claude Code, Codex, and 14 other agents. Also: 100x faster replacement for ccusage!

Alternatives in Data

  • Memex — Open-source, local-first AI journal app for iOS and Android 697 ★
  • Token Dashboard — See where Claude Code is burning tokens - turn raw JSONL transcripts into local cost analytics, hotspot views 669 ★
  • Aoci Code — Local-first MCP server + CLI in Go: a persistent, governed codebase index that distills code and database sche 443 ★

README

agentsview

Browse, search, and track costs across all your AI coding agents. One binary, no accounts, everything local.

Analytics dashboard

Install

# macOS / Linux
curl -fsSL https://agentsview.io/install.sh | bash

# Windows
powershell -ExecutionPolicy ByPass -c "irm https://agentsview.io/install.ps1 | iex"

Or download the **desktop app** (macOS / Windows) from [GitHub Releases](https://github.com/wesm/agentsview/releases).

Quick Start

agentsview serve           # start server, open web UI
agentsview usage daily     # print daily cost summary

On first run, agentsview discovers sessions from every supported agent on your machine, syncs them into a local SQLite database, and opens a web UI at `http://127.0.0.1:8080`.

Token Usage and Cost Tracking

`agentsview usage` is a fast, local replacement for ccusage and similar tools. It tracks token consumption and compute costs across **all** your coding agents -- not just Claude Code. Because session data is already indexed in SQLite, queries are over 100x faster than tools that re-parse raw session files on every run.

# Daily cost summary (default: last 30 days)
agentsview usage daily

# Per-model breakdown
agentsview usage daily --breakdown

# Filter by agent and date range
agentsview usage daily --agent claude --since 2026-04-01

# One-line summary for shell prompts / status bars
agentsview usage daily --all --json
agentsview usage statusline

Features:

  • Automatic pricing via LiteLLM rates (with offline fallback)
  • Prompt-caching-aware cost calculation (cache creation / read tokens)
  • Per-model breakdown with --breakdown
  • Date filtering (--since, --until, --all), agent filtering (--agent)
  • JSON output (--json) for scripting
  • Timezone-aware date bucketing (--timezone)
  • Works standalone -- no server required, just run the command

Session Sta