@xynogen/pix-prompts
Pi extension — system-prompt injection (AGENT.md + repo directives)
Package details
Install @xynogen/pix-prompts from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@xynogen/pix-prompts- Package
@xynogen/pix-prompts- Version
0.1.3- Published
- Jun 19, 2026
- Downloads
- not available
- Author
- xynogen
- License
- MIT
- Types
- extension
- Size
- 17.6 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"src/extension.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pix-prompts
Pi extension — system-prompt injection (AGENT.md + repo directives).
What it does
Injects structured context into the system prompt at the start of every agent turn via before_agent_start. Two sources are injected in order: the bundled AGENT.md (the pix agent operating spec baseline), followed by any repo-root directive files found in the current working directory (AGENTS.md, CLAUDE.md, GEMINI.md, .cursorrules, .windsurfrules). Each source is wrapped in a labelled XML tag for provenance. Injection is idempotent — a source whose tag is already present in the system prompt is silently skipped, preventing double-injection on retry turns.
Install
pi install npm:@xynogen/pix-prompts
Also included in
@xynogen/pix-core:pi install npm:@xynogen/pix-core
Full distro
To install the complete pix suite (all packages + Pi itself):
curl -fsSL https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.sh | sh
License
MIT