One prompt serves people and agents
What it does
A prompt is a saved set of instructions for an agent. A capability is one named action with shared value definitions and a server-side implementation. A projection builds a callable interface from capabilities.ΒΆ
/promptslists published prompts.ΒΆ- Each detail page shows the full prompt, a copy control, and its credit.ΒΆ
- Markdown is the default representation. Browsers request HTML.ΒΆ
listPromptsandgetPromptexpose the same source through capability projections.ΒΆ
The standard
.brain/resources/prompts/owns the source. The content build owns derived assets.ΒΆ- Title, description, and body must contain text. Validation reports independent failures together.ΒΆ
- Core owns the
PromptLibraryport, an interface for listing and reading prompts.ΒΆ - Content and command-line adapters implement that interface for their data sources.ΒΆ
- The public catalogue requires no identity or mutable database record.ΒΆ
- Existing Worker infrastructure serves the assets. No prompt execution or scheduling occurs here.ΒΆ
- Foldkit16 Messages and Commands own clipboard interaction. Prompt text remains unchanged.ΒΆ
How to check
- Run the full check, test, and build gate.ΒΆ
- Open
/prompts/hill-climband copy its text.ΒΆ - Disable JavaScript. Read the full prompt and its credit.ΒΆ
- Request
/promptswithout an HTML Accept header. Check the Markdown list.ΒΆ - Call
listPrompts, then callgetPromptwith a returned slug.ΒΆ - Check that an unknown slug returns
UnknownPrompt.ΒΆ
See use-a-prompt.ΒΆ
Sources
- Prompt capabilities and reader pages. GitHub joelhooks/rat-stack. Source ownership, shared contracts, adapters, and copyable pages. Accessed 2026-10-07.
Last changed 2026-10-07 in f1a00f2. Source on GitHub. Change log.
Linked from
- Agent guide. An Effect stack so pure (aspirational) Kit Langton will blush.
One prompt serves people and agents β Source-owned agent prompts with typed discovery and copyable browser pages.
- Change log. What changed in the files served here, newest first.
One prompt serves people and agents β edited: feat(learn): teach cards 83 to 111 and finish the deckβs plain lines
- Full agent guide. An Effect stack so pure (aspirational) Kit Langton will blush.
- Rat Stack systems | rat-stack. The systems rat-stack ships, the standard each keeps, and how to check it.
One prompt serves people and agents β Source-owned agent prompts with typed discovery and copyable browser pages.
- Source change history (log.md). The generated change log as Markdown.
One prompt serves people and agents β edited: feat(learn): teach cards 83 to 111 and finish the deckβs plain lines