by BlazeUp-AI
Personal usage analytics for Pi coding agent. Temporal-aware insights, context-aware suggestions, model efficiency analysis.
# Add to your Claude Code skills
git clone https://github.com/BlazeUp-AI/pi-insightspi-insights is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by BlazeUp-AI. Personal usage analytics for Pi coding agent. Temporal-aware insights, context-aware suggestions, model efficiency analysis. It has 56 GitHub stars.
pi-insights's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/BlazeUp-AI/pi-insights" and add it to your Claude Code skills directory (see the Installation section above).
pi-insights is primarily written in TypeScript. It is open-source under BlazeUp-AI on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh pi-insights against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.

Personal usage analytics for the Pi coding agent. Scans your session history, extracts deterministic stats and LLM-powered facets, then generates a self-contained HTML report covering your workflows, friction points, and suggestions for improvement.
Built by the Observal team while developing our agent observability platform. We needed to understand how we actually use Pi across hundreds of sessions, what patterns emerge, and where we waste time or money. This extension is the result.
From npm (recommended):
pi install npm:@observal/pi-insights
From source:
git clone https://github.com/BlazeUp-AI/pi-insights.git
pi install ./pi-insights
Try without installing:
pi -e npm:@observal/pi-insights
Run the command inside any Pi session:
/pi-insights
The report opens in your browser automatically.
| Flag | Description |
|---|---|
--refresh / -r |
Invalidate all cached LLM facet extractions and re-run them |
--no-open |
Generate the report without opening it in the browser |
--since <N>d |
Only analyze sessions from the last N days (e.g. --since 7d) |
--md |
Output a Markdown report instead of opening the HTML version |
# Normal run (uses caches, fast on re-runs)
/pi-insights
# Force re-extraction of all session facets
/pi-insights --refresh
# Generate without auto-opening
/pi-insights --no-open
# Only analyze the last 7 days
/pi-insights --since 7d
# Export as Markdown (for Slack, docs, etc.)
/pi-insights --md
Tokens, cost, lines changed, commits, tool errors, parallel sessions, and more.

Suggests features, skills, and config additions tailored to your actual workflow. References your real projects and tools.

Tells you what patterns are costing you time or money, with concrete alternatives.

Identifies overspend (Opus on simple tasks) and underspend (Sonnet failing on complex work), with a recommendation and estimated savings.

Most Pi insight extensions dump flat aggregates into an LLM prompt and get the same generic report every time. This one is temporal-aware:
The pipeline runs in five phases:
Results are cached in ~/.pi/agent/usage-data/:
| Path | Contents |
|---|---|
session-meta/<id>.json |
Deterministic stats, cached permanently |
facets/<id>.json |
LLM-extracted facets, cached permanently (clear with --refresh) |
report.html |
Last generated report |
report.md |
Last markdown export (when using --md) |
AGPL-3.0-only