Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>JoshMetricsNew to Visual Studio Code? Get it now.
JoshMetrics

JoshMetrics

Earnest Paul

|
2 installs
| (0) | Free
Consolidates GitHub Copilot and Claude Code usage metrics across all your projects and exports them to Excel with one click.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JoshMetrics

JoshMetrics

Consolidates your GitHub Copilot Chat and Claude Code usage across every project and records it to an Excel workbook with one click.

Use

Open the JoshMetrics activity-bar icon → Record to Excel (or the status-bar item, or JoshMetrics: Export to Excel).

The workbook (default ~/joshmetrics.xlsx, setting joshmetrics.excelPath) is organised repository-wise. Working folders are resolved to their real git repository (subfolders, worktrees and clones of the same remote merge, named owner/repo).

  • Repositories – one row per repo: Claude vs Copilot tokens, sessions, prompts, tool calls, branches, first/last activity
  • Repo Detail – repo × branch × tool × model
  • Sessions – every conversation with its title, branch, models, duration and tokens
  • Tools – which tools the AI called in each repo (Bash, Edit, search, …)
  • Daily – date × repo × tool × model
  • Export Log – appended on each export, to track growth over time

How a session is matched to a repository (shown in the Sessions sheet, "Matched By"):

  1. its working folder, walked up to the nearest .git
  2. the files it touched (when the folder no longer exists or isn't a repo)
  3. its project folder under your projects root (nested repo, else a non-git project)
  4. git history – the repo where your commits fall inside the session's time window

Set joshmetrics.repoSearchRoots (e.g. ~/Projects) to widen the scan. Credits are a Copilot concept; Claude Code reports tokens only.

The sidebar lists repositories; click one to see its branches, top tools and recent sessions.

Where the data comes from (all local, nothing is sent anywhere)

Tool Source Notes
Claude Code ~/.claude/projects/**/*.jsonl Exact API token usage incl. cache read/write. Covers Claude Code CLI and its VS Code extension.
Copilot Chat VS Code workspaceStorage/*/chatSessions (Code, Insiders, VSCodium, Cursor) Prompt/completion tokens and credits as recorded by Copilot. Only chats still on disk are counted.

Claude Code transcripts are deleted by Claude Code after its retention period, so exporting regularly (Export Log) preserves history.

Settings

Setting Default
joshmetrics.excelPath ~/joshmetrics.xlsx Workbook to write
joshmetrics.sinceDays 0 Only last N days (0 = all time)
joshmetrics.claudeProjectsDir ~/.claude/projects Claude Code transcripts
joshmetrics.copilotStorageDirs [] Extra Copilot storage dirs

Privacy

Everything is read locally and written to your own Excel file. No telemetry, no network calls.

Develop

npm install && npm run compile, then F5 in VS Code. npm run package builds a .vsix.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft