pi

pi is a Claude Code mod by elkinaguas that long-lived pi coding-agent sessions from Claude Code: a sandboxed session runner, a panel, a guard on ~/.pi and a check of the key-masking setup.

Updated 2026-11-23

What is pi?

pi is a Claude Code mod by elkinaguas that long-lived pi coding-agent sessions from Claude Code: a sandboxed session runner, a panel, a guard on ~/.pi and a check of the key-masking setup. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
Authorelkinaguas
Repositoryelkinaguas/claude-mods
Popularityno public popularity data yet
CategorySecurity
SecurityHigh risk (56/100)
Rank#5,829 of 9,397 Claude Code mods; #646 in Security
Last commit2026-11-23
Hooks7 events
Seesevery tool call
Draws onPane

Is pi safe to install?

pi scores 56/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables. It passed 3 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.listreads files
$.fs.readreads files
$.fs.statreads files
$.fs.writewrites files
$.process.runruns processes
$.prompt.fillwrites the prompt box
$.state.get
$.state.set
$.ui.closedraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.panesdraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install pi?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/elkinaguas/claude-mods
    claude plugin validate ./claude-mods/pi
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add elkinaguas/claude-mods && claude plugin install pi@claude-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs pi for you:

Install the "pi" Claude Code mod from https://github.com/elkinaguas/claude-mods/tree/main/pi. Run claude plugin validate on it first and show me what it can access before you enable it.

More from elkinaguas/claude-mods

This repository has 3 Claude Code mods on MCPMods.

  • pixelbar: Status bar++: an animated pixel-art band above the prompt with model, context, rate limits, cost and git (High risk)
  • todo: A TODO.md task board (Todo / Doing / Review / Done) with a side panel: quick capture, Claude enrichment with IDs, review (High risk)