← Catalog

@xynogen/pix-core

Pi extension bundle — installs and activates all core pix-* extensions

Extension

Install

Install with PiG

pig install npm:@xynogen/pix-core

Install with Pi

pi install npm:@xynogen/pix-core
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "src/extension.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.7.42 (README.md). PiG does not review it.

Pix

pix-core

Pi coding agent extension — core UI/UX meta-package.

Installing pix-core pulls in all of the packages below as npm dependencies and activates them. A single pi install npm:@xynogen/pix-core boots every core extension — you do not need to install the members individually.

How it works

Pi activates extensions per installed package via each package's pi.extensions manifest; it does not walk npm dependencies. So pix-core ships a thin aggregator (src/extension.ts) that imports each member's extension factory and invokes it against the same host. Each member also carries a globalThis idempotency guard, so installing pix-core and a member standalone activates that member only once.

What's included

UI / UX extensions

PackageDescription
pix-welcomeASCII π banner + startup health checks (version, auth, models, gitignore)
pix-footerStatus bar: mode / git branch / model / cost / live TPS
pix-models/model — enhanced model picker with coding score/rank, context, cost
pix-update/update — self-update Pi + refresh extensions
pix-commandsSlash commands — /clear and concurrent /btw side questions
pix-diagnosticsCompact LSP diagnostic widget; shows the age of the last check, and stale · Nm ago after 5 minutes
pix-displayPaste chip rendering + thinking block display
pix-promptsSystem-prompt injection (AGENTS.md + repo directive files)
pix-skillsAgent skill loader (read_skills tool + bundled on-demand skills, including TOON)
pix-nudgeTool + capability nudge hooks

Tool suite (drop-in replacements for Pi's built-in tools)

PackageDescription
pix-readread — file read with syntax highlighting
pix-writewrite — file write with split-diff rendering
pix-editedit — precise text replacement with per-edit diff
pix-findfind — glob search with FFF acceleration
pix-grepgrep — pattern search with FFF-prioritised results
pix-lsls — directory listing as an icon tree
pix-bashbash — shell execution with framed output + exit-code summary
pix-powershellpowershell — same rendering for Pi's optional Windows tool; inert unless you enable powershell
pix-todotodo — durable execution checklist
pix-askask_user — structured TUI questionnaire

Shared data + behaviour

PackageDescription
pix-dataShared model data layer (modelgrep + BenchLM) cached at ~/.cache/pi
pix-prettyShared rendering: syntax highlight, icons, diffs, tree views, result frames, FFF search
pix-runtimeUnified ~/.pi/agent/pix.json config runtime, /pix settings command (including the Notify tab), once guard, and auto-collapse policy
pix-optimizerCaveman mode + RTK tool rewriting + ponytail lazy-dev mode (/optimizer)
pix-gatePermission gate for dangerous bash commands
pix-notifySound (herdr popup inside herdr) when the agent waits on you; notify config section (enabled, sound)
pix-subagentagent / agent_control — planner-driven sub-agents with live widget
compactionBuilt into pix-core: replaces pi's built-in context compaction with two levers. Summary prompt is always pix's — every compaction (manual /compact, threshold, overflow) generates the summary with the current conversation model (no silent routing) from an editable source prompt. Trigger is pix's when compaction.triggerPercent > 0 — after each settled turn pix reads live context usage and compacts at max(contextWindow × triggerPercent, compaction.minimumTokens). The default 100K floor prevents low percentages from compacting too early (for example, 10% of a 300K model waits for 100K rather than 30K); 0 disables pix's trigger and lets pi decide, while pix's summary prompt still applies. After a pix-triggered compaction pix sends a short, visible "resume" user message so the agent continues on its own. Every trigger, resume, and summary run emits a notify line (reason, model, token counts).

Turn members off, add standalone packages

/pix extensions lists every pix package.

  • Core members: enter turns a member on or off. The toggle is only marked pending until you leave the tab or close /pix; then one prompt lists every pending change. Pix-core skips a member that is off on the next load, so it is never imported. The list is extensions.disabled in ~/.pi/agent/pix.json. runtime, data, and pretty always stay on, because every member needs them. Turning gate off removes the approval prompt for dangerous commands, so the prompt warns about it; to keep the gate but drop only its built-in rules, set Settings → Gate → Guardrails to off.
  • Standalone packages: pix packages that pix-core does not load (pix-mcp, pix-web, pix-9router, and others). Enter installs or removes one with pi install or pi remove, after you confirm. Install downloads from npm. A package you installed from a local path is removed by that path.

Every change needs a fresh Pi process: /reload is not enough, because runtime patches from the old load stay in the process. So every change asks first. Allow writes it and closes Pi; start Pi again to load it. Deny writes nothing.

Tool exposure

Only read, bash, edit, write, tool_search, and codemode are declared up front (plus powershell on Windows). Pix-core marks every other direct tool from a bundled member as deferred, so the model loads it on demand through tool_search. Standalone installs keep their own exposure. Pix-core also re-ranks tool_search hits so native tools beat MCP tools that only share a word with the query.

Plan mode

Use /plan to create, edit, execute, or delete saved plans in <project>/.pi/plans/. Use Shift+Tab or Ctrl+Alt+P to toggle plan mode. Use Tab in an empty prompt to cycle the thinking level.

Plan mode keeps the available tools unchanged. Only edit and write are restricted to files inside the current project's .pi/plans/. The guard rejects other project paths, path traversal outside this directory, and symlink targets or parents. The same restrictions apply when a session restores plan mode.

Other tools, including shell commands, are not sandboxed by plan mode. The visible plan guide asks the agent to explore without changing project files. Use pix-gate for command restrictions.

Install

pi install npm:@xynogen/pix-core

Installs and activates every bundled pix package. A package that you also install directly loads only once.

Full distro

This package is part of Pix. The installer sets up Pi and the full distro. See Install for the notes for each OS.

# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.sh | sh
# Windows
irm https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.ps1 | iex

License

MIT. See LICENSE.