Files
sausage/extensions/prompt/README.md
T

15 lines
752 B
Markdown

# System context
The prompt extension supplies `project_context`, `skills`, `tools`, and `cwd` sections.
The effective environment cwd takes precedence over the configured agent cwd.
Project instructions include each AGENTS.md from the repository root to that cwd, in that order.
Outside a repository, the extension reads the cwd's AGENTS.md only.
Skills come from `/src/sausage/skills/*/SKILL.md` and `<repo>/.sausage/skills/*/SKILL.md`.
The prompt lists each skill's name, description, and path.
A project skill replaces a built-in skill with the same name.
The tools section lists the tools that the resolved agent can use.
No Ultimate build note enters the prompt.
`host/tests/core_ext.rs` tests these sections through the real snapshot loader.