@simplecyon/pi-skill-telemetry

Privacy-preserving local skill telemetry for Pi with immutable segments for agent-sync

Packages

Package details

extension

Install @simplecyon/pi-skill-telemetry from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@simplecyon/pi-skill-telemetry
Package
@simplecyon/pi-skill-telemetry
Version
0.1.0
Published
Jul 29, 2026
Downloads
130/mo · 8/wk
Author
simplecyon
License
MIT
Types
extension
Size
24.6 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@simplecyon/pi-skill-telemetry

Privacy-preserving local skill usage telemetry for Pi.

The extension records explicit /skill:name expansion and model-driven reads of registered SKILL.md files. It never stores prompts, skill contents, tool outputs, shell commands, or absolute paths.

Behavior

  • Confirms explicit and model-driven skill invocations.
  • Appends a compact durable conversation event: ✦ 使用了 <skill-name> 技能.
  • Keeps that event visible in the session while excluding it from model context.
  • Gives each Pi process an independent open spool.
  • Seals completed spools into immutable, checksummed JSONL segments after a skill-bearing run settles.
  • Keeps a stable local installation identity for later private aggregation.

Storage

The default local directory is:

~/.pi/agent/skill-telemetry/

Override it for testing or isolated environments:

PI_SKILL_TELEMETRY_DIR=/absolute/path pi

Sealed segments can be published by a separate private synchronization workflow. This package does not send telemetry over the network itself.

Install

Install only this package:

pi install npm:@simplecyon/pi-skill-telemetry

For a trusted project-local installation:

pi install npm:@simplecyon/pi-skill-telemetry -l --approve

For local development:

pi install -l --approve /absolute/path/to/pi-packages/packages/pi-skill-telemetry

The complete suite remains available as git:github.com/simplecyon/pi-packages.

Command

/skill-stats

The command displays a compact summary for the current device.

Privacy boundary

Stored records identify the skill and local invocation metadata needed for aggregation. They exclude user content, model content, file contents, commands, tool results, and direct absolute paths.

Compatibility

Targets Pi 0.82.x. Local segment creation works without agent-sync; publishing or cross-device aggregation is intentionally outside this package.

Development

From the monorepo root:

pnpm --filter @simplecyon/pi-skill-telemetry check

See the repository README for suite installation and workspace conventions.