Skip to content
Back to skills

Configuring Pi

ASecurity

Use when writing or configuring Pi extensions, packages, skills, settings, or permissions. Triggers on `.pi/extensions`, pi packages, project_trust, tool_call, tool_result, registerTool, context injection, blocking or changing tool calls, package pinning, or subagents in Pi, even when the user doesn't say 'Pi extension'.

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 30, 2026
ai-agentsrustgoshell

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned November 30, 2026

npx -y skills add xonovex/platform --skill configuring-pi --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Configuring Pi?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Configuring Pi
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/xonovex-configuring-pi/badge)](https://www.skillsdirectory.com/skills/xonovex-configuring-pi)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: configuring-pi
description: "Use when writing or configuring Pi extensions, packages, skills, settings, or permissions. Triggers on `.pi/extensions`, pi packages, project_trust, tool_call, tool_result, registerTool, context injection, blocking or changing tool calls, package pinning, or subagents in Pi, even when the user doesn't say 'Pi extension'."
---

# Pi Extensions and Tool Interception

Configure Pi's native extension and interception surface without inventing unsupported guarantees or a universal hook file.

## Essentials

- **Treat extensions as full code** - They execute with the Pi process and user account permissions.
- **Resolve project trust first** - Project settings, packages, extensions, and skills wait for the native trust decision.
- **Map extension events** - Preserve sequential preflight, concurrent tool execution, middleware result order, and mutable inputs.
- **Separate skills from enforcement** - Skills add instructions and scripts but do not prove an extension blocked.
- **Own the sandbox boundary** - Pi has no built-in sandbox; isolation is external or extension/package responsibility.
- **Onboard transactionally** - Follow the lifecycle owned by **configuring-harness-integrations**.
- **Bound child processes** - Subagent patterns explicitly enforce depth, permissions, cwd trust, budgets, cancellation, and results.

## Gotchas

- Pi has no built-in sandbox; extensions and tools run with the user's process permissions.
- Project trust controls resource loading but does not constrain what trusted tools can do.
- `tool_call` preflight is sequential while sibling tools may execute concurrently.
- Mutated tool input is not revalidated automatically.
- Versioned package specifications are pinned and skipped by ordinary package updates; moving sources require a fresh trust decision.

## Example

A project extension that blocks destructive shell calls remains disabled until project trust and source review pass; its `tool_call` handler validates mutable input, returns a documented block, and declares full process authority.

## Progressive Disclosure

- Read [references/capabilities.md](references/capabilities.md) - Load when mapping semantic intents to native events, handlers, guarantees, versions, ordering, context, or limitations
- Read [references/onboarding.md](references/onboarding.md) - Load when discovering, previewing, applying, verifying, disabling, rolling back, updating, or detecting drift
- Read [references/patterns.md](references/patterns.md) - Load when translating deterministic hooks, model evaluators, specialist agents, or managed adoption recipes

Files in this skill

  • SKILL.md2.6 KB
  • eval-output.json1.9 KB
  • eval-trigger.json4.9 KB
  • moon.yml86 B
  • references/capabilities.md2.8 KB
  • references/onboarding.md1.8 KB
  • references/patterns.md1.3 KB
  • sources.json2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.