Skip to content
pi-c Artifact [1ed1d433b8]
Login

Artifact [1ed1d433b8]

Artifact 1ed1d433b887292c31f3f4fa4f4d0eb323ff3a158a2e62710ff11dca2ca3649f:


# Prompts and skills

## The system prompt

`--system-prompt` replaces the system prompt and `--append-system-prompt` (repeatable) adds an
`<addendum>` after it; each takes text or the path of a file. Without them pic reads
`.pic/SYSTEM.md` and `.pic/APPEND_SYSTEM.md` from a trusted workspace, else from `~/.pic/`.

Project instructions are found as Pi finds them: in each directory the first of
`AGENTS.override.md`, `AGENTS.md`, `AGENTS.MD`, `CLAUDE.md`, `CLAUDE.MD`, from the filesystem root
down to the workspace, after an optional global file `~/.pic/AGENTS.md`. `/reload` reads them again.

## Prompt templates

Markdown files in `~/.pic/prompts`, and in the trusted workspace's `.pic/prompts`. `/NAME ARGS` in a
message sends the template with `$1`, `$@`, `${@:2}` and the like filled in. `pic prompts` lists
them.

## Skills

Skills live in `~/.pic/skills`, and in the trusted workspace's `.pic/skills` (symlinks followed).
They are listed in the system prompt; `/skill:NAME ARGS` in a message sends the skill's instructions
and ARGS. `pic skills` lists them.

## Trust

A workspace's own `.pic/` files (system prompt files, templates, skills, themes, hooks) are read
only once you trust it: `pic trust yes`, or `/trust yes` in the terminal interface.