Stats

Show GCF proxy token savings statistics for the current session or overall usage.

blackwell-systems 7808320 676 B Updated

File contents

GCF Stats

Show the user their gcf-proxy token savings.

Check if /tmp/gcf-proxy-stats.json exists and read it. The file contains:

  • calls: number of tool calls rewritten
  • json_bytes: total JSON bytes received
  • gcf_bytes: total GCF bytes sent
  • bytes_saved: total bytes saved
  • pct_saved: percentage reduction
  • est_tokens_saved: estimated tokens saved

Present the stats in a clear format. If the file doesn't exist, explain that gcf-proxy writes stats when running with --stats-file and suggest wrapping a server with /gcf-proxy:setup.

blackwell-systems/gcf-codex-plugin/tree/main/skills/stats commit 780832010d

Frequently asked questions

npx skillmds@latest add blackwell-systems/stats