Official module library for the start CLI.
The library provides CUE modules for AI agents, roles, contexts, and tasks. Modules are published to the CUE Central Registry under github.com/p3bot/library and resolved by the start CLI at runtime.
| Directory | Purpose |
|---|---|
| agents/ | AI CLI tool command templates |
| roles/ | System prompt and behaviour definitions |
| contexts/ | Environmental context definitions |
| tasks/ | Task instruction definitions |
| schemas/ | CUE schema definitions |
| index/ | Module discovery index |
| docs/ | Authoring patterns and schema examples |
Import a module from the registry:
import "github.com/p3bot/library/roles/golang/assistant@v0"Modules are normally consumed indirectly through the start CLI:
start --role golang/assistant
start task review/git-diff
User-facing fully-qualified addresses use category:name, for example:
agents:claude/interactive
roles:golang/assistant
contexts:cwd/agents-md
tasks:review/git-diff
Bare names (without the category: prefix) work as cross-category lookups. Module paths in CUE imports remain slash-based — the colon scheme applies only to user-facing input and display.
- contexts/start/library/naming/context.md - Module naming conventions
- docs/agent-patterns.md - Agent authoring patterns
- docs/role-patterns.md - Role authoring patterns
- schemas/README.md - Schema reference