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. A skill with disable-model-invocation: true stays out of the
list; it is still a command.
The list has a budget
Every session carries the list, so it costs context. It takes at most 1% of the model's context
window, at 4 characters a token (8,000 characters for 200,000 tokens); the skillBudget setting
replaces that number, and 0 removes the limit. A list that fits is left as it is. Over the budget,
pic does two things in order:
- A description longer than 1,536 characters is cut at a word and ends in an ellipsis.
- If that is not enough, the least used skills are listed by name and path only, until the rest
fits. A line in the list tells the model how to load one: read its
SKILL.mdor run/skill:NAME.
No skill is dropped: every one stays a /skill:NAME command, and the model can still read its
file. Use ranks the skills as Claude Code does: the number of loads times a decay that halves every
week, to a floor of a tenth. A load is a /skill:NAME or a read of the skill's SKILL.md. Skills
never used keep their order in the list.
When the budget cuts something, pic says so once, naming the skills shown by name only and those
shortened: in the terminal interface at startup and on /reload, and on stderr in print and JSON
modes. It is silent when everything fits. The listing is fixed when a conversation's first request
is made, so a changed budget applies to the next conversation.
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.