compactor-stats

Track compaction events, tokens saved, and session metrics for AI agents.

56|12|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/Neuron-Mr-White/UniPi --skill compactor-stats
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compactor-stats
Source: https://github.com/Neuron-Mr-White/UniPi/tree/main/packages/compactor/skills/compactor-stats
Command: npx skills add https://github.com/Neuron-Mr-White/UniPi --skill compactor-stats

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the need for clear and actionable insights into the compaction process, enabling users to optimize context management and storage efficiency.

Core Features & Use Cases

  • Stats Display: Provides a comprehensive overview of session events, compactions, tokens saved, and search queries.
  • Health Indicators: Identifies key metrics such as compactions, tokens saved, and sandbox runs to gauge the system's health and performance.
  • Use Case: For a user managing a large number of sessions and contexts, this Skill offers a quick way to assess the impact of compaction on their workflow.

Quick Start

To view the compactor statistics, simply run the command /unipi:compact-stats.

Frequently Asked Questions about compactor-stats

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

FAQPage Schema
How do I track compaction statistics and session metrics for AI agents?

To track compaction statistics and session metrics for AI agents, run the command `/unipi:compact-stats` to instantly view session events, compactions, tokens saved, and search queries. This overview helps optimize system performance and storage usage.

What are compaction metrics and why do they matter for context management?

Compaction metrics measure session events, tokens saved, and search queries to gauge system health and storage efficiency. They matter for context management because they provide actionable insights into how compaction impacts AI agent workflows and resource usage.

How do I view the number of tokens saved from context compaction?

You can view the number of tokens saved from context compaction by running the `/unipi:compact-stats` command. The Skill provides a comprehensive stats display that highlights key health indicators including tokens saved and sandbox runs.

Can I use compactor-stats to assess storage efficiency for a large number of sessions?

Yes, you can use compactor-stats to assess storage efficiency for a large number of sessions. The Skill offers a quick way to evaluate the impact of compaction on your workflow, tracking session events and compactions to optimize storage usage.

Do I need any dependencies or special setup to view AI agent compaction stats?

No special setup or dependencies are required to view AI agent compaction stats. The Skill is a standalone script component that you can execute directly by running the `/unipi:compact-stats` command in your environment.