pi-skill-audit

Count pi skill invocations from session logs and categorize usage tiers.

Updated Mar 24, 2026
One-click install
npx skills add https://github.com/CNife/skills --skill pi-skill-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pi-skill-audit
Source: https://github.com/CNife/skills/tree/main/.archive/pi-skill-audit
Command: npx skills add https://github.com/CNife/skills --skill pi-skill-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you understand which pi agent skills are actually being used, so you can make informed cleanup and maintenance decisions instead of guessing.

Core Features & Use Cases

  • Usage Analysis: Scans pi session logs to count how often each installed skill is invoked.
  • Usage Tiers: Groups skills into high, medium, low, and unused categories for quick review.
  • Safe Cleanup Guidance: Identifies unused skills, explains what they do, and prepares removal commands only after analysis.
  • Use Case: If your skill library has grown over time and you want to trim dead weight, this Skill shows which skills are worth keeping and which are safe to remove.

Quick Start

Ask the assistant to audit your pi skill usage and highlight unused skills that could be removed.

Frequently Asked Questions about pi-skill-audit

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

FAQPage Schema
How do I audit pi agent skill usage and find unused skills?

To audit pi agent skill usage, scan session JSONL records and installed skill directories to count invocations. The audit categorizes skills into high, medium, low, and unused tiers, generating removal guidance with safety-aware rationale for cleanup decisions.

What is the best way to clean up unused skills from my pi agent?

The best way to clean up unused skills is by counting invocations from session logs to categorize usage frequency. This safety-aware analysis identifies unused skills, explains their functions, and prepares removal commands only after the full audit is complete.

Can I analyze session logs to see how often each installed skill is invoked?

Yes, you can analyze session logs to see how often each installed skill is invoked by scanning session JSONL records. This usage frequency analysis counts invocations and groups globally installed pi skills into high, medium, low, and unused categories.

Does the skill usage audit automatically remove low frequency skills?

No, the skill usage audit does not automatically remove low frequency skills. It applies safety-aware rationale to generate removal guidance and prepares removal commands only after analysis, ensuring you make informed cleanup decisions manually.

Do I need globally installed pi skills to run a usage frequency analysis?

Yes, usage frequency analysis requires globally installed pi skills and their corresponding session JSONL records. The audit scans these installed skill directories and session logs to count invocations and categorize skills for management reviews.