Expand description
Output styles for the caliban agent harness.
Splices an <output-style name="...">...</output-style> block into the
system prompt to nudge the model toward a particular response shape
(explanatory commentary, learning-paced prompts with TODO(human)
markers, etc.) without touching tools, permissions, or hooks.
See docs/superpowers/specs/2026-05-24-output-styles-design.md and
docs/adr/0031-output-styles.md.
Re-exports§
pub use learning::IdentityPostProcessor;pub use learning::LearningPostProcessor;pub use learning::insert_todo_human_markers;pub use loader::DiscoveryRoots;pub use loader::OutputStyleError;pub use loader::default_roots;pub use loader::load_one;pub use loader::load_styles;pub use loader::select_active;pub use prefix::OutputStylePrefix;pub use registry::OutputStylesRegistry;pub use style::OutputStyle;pub use style::OutputStyleSource;
Modules§
- learning
- Post-processor for the
Learningstyle. - loader
- Filesystem walker + frontmatter parser for output-style
.mdfiles. - prefix
OutputStylePrefix— splice the active style’s body into the system prompt.- registry
OutputStylesRegistry— owns the loaded styles and exposes name-based lookup for the binary, the TUI overlay, and the system-prompt splice.- style
OutputStylestruct + frontmatter shape.
Constants§
- ACTIVE_
STYLE_ ENV - Environment variable that selects the active output style by name.
Functions§
- requested_
from_ env - Read the requested output-style name from the environment.