Specification
mb spec (aliases: mb specification, mb specifications) manages reusable Library specifications — named YAML recipes describing what kinds of benchmark cases to generate. A Library specification is a template: its YAML is snapshotted onto each benchmark at creation time, so later edits to the Library specification never change benchmarks already generated from it.
# Create from YAML file (specify corpus type: docs or tools)
mb spec create "My Spec" --yaml spec.yaml [--corpus-type docs|tools]
# Browse and manage
mb spec list
mb spec get <id>
mb spec get-default
mb spec library # Browse specification library
mb spec update <id> --name "Updated Spec"
mb spec delete <id>
--yaml reads from stdin when omitted or set to -:
mb spec get-default returns the default specification for a corpus type
(RAG by default; pass --corpus-type tools for the tools default) — useful as
a starting point to edit and save as your own.
See List Filtering for the flags shared by every
list command.
Next steps
- Pass a saved specification's ID to Benchmark create via
--spec-id, or write your own inline YAML and pass it via--spec. - Prefer a UI-driven workflow instead? See the UI Guide: Specifications.