Skip to main content

morphir kb add-concept

  • Usage: morphir kb add-concept <FLAGS>

Scaffold a concept and wire it into its index and log

Flags

  • --kb <PATH> — Path to the knowledge base root (the directory holding bundles/). Auto-detected when omitted

  • --json — Emit JSON instead of text, for chaining and for agent consumption

  • --bundle <BUNDLE> — Target bundle (name or group/name)

  • --path <PATH> — Path within the bundle, e.g. naming.md or design/naming.md

  • --type <CONCEPT_TYPE> — OKF type — the one required frontmatter field

  • --title <TITLE> — Concept title

  • --description <DESCRIPTION> — One-sentence description

  • --tag <TAG>… — Tag (repeatable)

  • --status <STATUS> — Lifecycle status: draft, stable or deprecated

  • --source <SOURCE>… — Source URL (repeatable); use id=URL or id=URL=Title to name it

  • --section <SECTION> — Index section heading to file the entry under

    Default: Orientation

  • --generated-by <GENERATED_BY> — Actor for the generated.by frontmatter, e.g. process:kb-seed

  • --date <DATE> — Override today's date (YYYY-MM-DD)