load-cache-data

Extract and display GitHub Copilot Token Tracker local session cache data as raw JSON.

100|30|Updated Sep 26, 2025
One-click install
npx skills add https://github.com/rajbos/github-copilot-token-usage --skill load-cache-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: load-cache-data
Source: https://github.com/rajbos/github-copilot-token-usage/tree/main/.github/skills/load-cache-data
Command: npx skills add https://github.com/rajbos/github-copilot-token-usage --skill load-cache-data

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill makes it easy to inspect the GitHub Copilot Token Tracker's local session file cache, enabling developers to see cached token usage and statistics without running the extension.

Core Features & Use Cases

  • Cache discovery: locate cached session data stored by the extension
  • Raw JSON output: export and inspect cache entries as JSON for debugging and testing
  • Targeted analysis: sort by modification time to surface the most recent sessions for quick validation

Quick Start

Run the Node.js script to display the last 10 cache entries as raw JSON (use --json to guarantee JSON output).

Frequently Asked Questions about load-cache-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read GitHub Copilot Token Tracker cache data without running the extension?

You can extract Copilot Token Tracker cache data locally by running a Node.js script that reads exported session files from known locations and outputs raw JSON directly.

What is the best way to inspect cached Copilot token usage statistics locally?

The best way to inspect cached Copilot token statistics is to use a Node.js script that reads the local session cache files and exports the entries as raw JSON for debugging and testing.

Can I sort cached Copilot session data by modification time to find recent entries?

Yes, the cache extraction script can sort entries by modification time to surface the most recent Copilot sessions, allowing quick validation of cache integrity and model usage.

How do I validate cache integrity for GitHub Copilot session files?

Validate cache integrity by loading the Copilot session cache data as raw JSON, then inspecting the exported entries to confirm token usage statistics and model interactions are accurate.

Does the cache extraction script require any external dependencies to run?

No, the cache extraction script runs with Node.js alone to read exported cache data from known local locations and output raw JSON, requiring no external dependencies or components.