Skip to content

Where Pi stores skills, prompts, rules, and settings

Pi (Mario Zechner’s deliberately minimal coding agent) keeps its global config under ~/.pi/agent/ — one directory deeper than the ~/.pi/ you’d guess — plus per-project .pi/ folders, and it speaks the same Agent Skills SKILL.md convention as Claude Code and Codex. ~ is your home directory; paths starting with .pi/ are relative to a project root.

ArtifactGlobalPer-projectFormat
Skills~/.pi/agent/skills/<name>/SKILL.md, ~/.agents/skills/.pi/skills/, .agents/skills/ (cwd and parent dirs)Markdown + YAML frontmatter
Context files (rules)~/.pi/agent/AGENTS.mdAGENTS.md or CLAUDE.md (project root and parents)Markdown
System prompt override~/.pi/agent/SYSTEM.md, ~/.pi/agent/APPEND_SYSTEM.md.pi/SYSTEM.md, .pi/APPEND_SYSTEM.mdMarkdown
Prompt templates~/.pi/agent/prompts/*.md.pi/prompts/*.mdMarkdown
Settings~/.pi/agent/settings.json.pi/settings.json (overrides global)JSON
Extensions / themes~/.pi/agent/{extensions,themes}/.pi/{extensions,themes}/TS / JSON
MCP serversPi has no built-in MCP

Pi loads Agent Skills natively: a folder with a SKILL.md whose frontmatter has name (lowercase, hyphens) and description (up to 1024 characters), plus optional allowed-tools and disable-model-invocation. It looks in ~/.pi/agent/skills/ and ~/.agents/skills/ globally, and .pi/skills/ and .agents/skills/ from the working directory up through parents — the same format Claude Code and Cursor use, so skills usually port with no changes at all. Skills (plus prompts, extensions, and themes) can also arrive bundled as pi packages installed from npm or git into ~/.pi/agent/{npm,git}/.

At startup Pi reads ~/.pi/agent/AGENTS.md, then AGENTS.md (or CLAUDE.md) from the project root and parent directories — all matching files are concatenated, not first-match. It’s the same cross-tool convention Codex, Cursor, and Claude Code read.

Markdown files in ~/.pi/agent/prompts/ or .pi/prompts/ become slash commands — type /name to expand the file’s content into the conversation. These are Pi’s equivalent of Claude Code’s commands/ directory and Codex’s prompts/.

~/.pi/agent/settings.json is global; .pi/settings.json overrides it per project. Before loading a project’s .pi/ settings, resources, or .agents/skills, Pi asks you to trust the folder and records the decision in ~/.pi/agent/trust.json — untrusted projects get none of their local config executed. Sessions auto-save under ~/.pi/agent/sessions/.

Pi ships no MCP client. Its position is that CLI tools with good READMEs (wrapped as skills) cover most of what MCP servers do; an extension can add MCP support if you need it. Practically: there is no mcp.json to find, and MCP configs from other tools have nothing to convert into for Pi.

Quartermaster’s scanner walks every location on this page — including the ~/.pi/agent/ layer and the SYSTEM.md/APPEND_SYSTEM.md overrides — and indexes the artifacts into one searchable registry alongside Claude Code, Cursor, Codex, and 8 more tools. Because Pi uses the shared Agent Skills format, conversion to and from other tools is often a straight copy. Secrets are never indexed — env/header key names kept, values dropped. See the full discovery map or the quickstart.