A reusable set of configuration examples, extensions, worker profiles, scripts, and task-focused skills for the Pi coding agent. It is provider-neutral by design: configure your own models, credentials, external tools, and local policies.
- Optional worker delegation and profiles.
- Plan mode, session memory, local retrieval, status line, web and document tools.
- Shell-risk checks, tool-risk annotations, declarative hooks, and configurable verification gates.
- General skills for coding, debugging, testing, documentation, security review, web interfaces, and repository work.
- Offline validation and stub-based regression tests.
Review each extension, hook, skill script, and configuration example before enabling it. These safeguards reduce specific risks; they are not a sandbox and cannot prove arbitrary commands safe.
- Install Pi using its official installation guide and review the current releases. Pi 1.2.0 was the latest release checked on 2026-10-15; use the current supported release when installing. Pi requires Node.js 22.19 or newer.
- Clone this repository and follow docs/FRESH_START.md to copy selected components.
- Authenticate with a provider through Pi and configure your own model IDs. Worker models are optional.
- Run the offline checks before enabling the setup.
The upstream installer pins its dependencies and provides Pi updates. The npm alternative is available but does not pin transitive dependencies. See the upstream guide for current details.
AGENTS.md
agents/
├── repo-builder.md
├── worker-high.md
├── worker-low.md
├── worker-medium.md
├── worker-reasoning.md
└── worker-review.md
extensions/
├── compact-tool.ts
├── declarative-hooks.ts
├── delegate.ts
├── dispatch.ts
├── docs.ts
├── handoff.ts
├── offload-rules.ts
├── plan-mode/
├── rag-autoload.ts
├── routing.ts
├── session-memory.ts
├── shell-guard.ts
├── startup-commands.ts
├── statusline.ts
├── tool-risk.ts
├── verify-gates.ts
└── web.ts
subagent/
├── agents.ts
└── index.ts
skills/
├── clean-marks/
├── coding-standards/
├── crawl/
├── delegate/
├── dispatch/
├── docs/
├── find-skills/
├── memory/
├── rag/
├── repository-standards/
├── security-review/
├── site-audit/
├── systematic-debugging/
├── test-driven-development/
└── web-ui/
See docs/FRESH_START.md for which files are copied together and what configuration each extension requires.
- clean-marks — inspect text for invisible or direction-changing Unicode marks.
- coding-standards — maintainable and secure coding practices.
- crawl — retrieve and process public web pages; review site policy and data exposure first.
- delegate — prepare bounded work for configured workers.
- dispatch — decompose work and suggest optional worker assignments.
- docs — convert supported office documents into Markdown.
- find-skills — assess optional skills and their source before use.
- memory — use local or project memory tools while protecting private data.
- rag — retrieve relevant snippets from project files.
- repository-standards — licensing, documentation, dependency, and publication hygiene.
- security-review — review trust boundaries and software security risks.
- site-audit — run a technical or search-engine optimization audit.
- systematic-debugging — reproduce and isolate unexpected behavior before fixing it.
- test-driven-development — use a test-first workflow for code changes.
- web-ui — build accessible and responsive web interfaces.
Do not commit provider keys, private endpoints, personal data, session transcripts, private memory, generated indexes, model caches, or machine-specific trust settings. The ignore file covers common local state; review the actual commit contents before publishing. Configure remote allowlists, hooks, and shell-guard policies for your environment.
Run from the repository root:
bash scripts/check-config-docs.sh
node scripts/check-skill-frontmatter.cjs
node scripts/check-skill-yaml.cjs
node scripts/check-extensions.cjs
node scripts/test-declarative-hooks.mjs
node scripts/test-delegate.mjs
node scripts/test-delegate-regression.mjs
node scripts/test-delegate-spawn.mjs
node scripts/test-offload-rules.mjs
node scripts/test-shell-guard.mjs
node scripts/test-web-guard.mjsThese checks validate local files and stubbed behavior. They do not authenticate a provider or establish that an external service is safe.
The repository is MIT licensed. See LICENSE and NOTICE.md for third-party material and provenance. Pi is maintained separately and retains its own license.