Skip to content

cli reference

Intended Documentation

OpenShell CLI Commands

Generate OpenShell policy YAML from MIR intents and Domain LIM evaluations with the Intended CLI.

OpenShell CLI Commands#

Use the Intended CLI to compile OpenShell policy YAML from runtime intents and Domain LIM context.

Commands#

meritt openshell-compile

Compile input JSON into OpenShell-compatible YAML.

bash
meritt openshell-compile \
  --input meritt-openshell.json \
  --output meritt-openshell.yaml \
  --runtime openclaw \
  --provider nvidia \
  --preset github

meritt nemoclaw-compile

Alias for openshell-compile.

Flags#

FlagRequiredDescription
--inputyesPath to the JSON input file
--outputnoPath to write YAML output
--runtimenoRuntime identifier such as generic, openclaw, claude-code, or codex-cli
--provider / --providersnoProvider hint such as nvidia or anthropic
--preset / --presetsnoComma-separated preset list

Output#

The command writes:

  • OpenShell policy YAML
  • inferred preset list
  • enforcement posture information

If --output is omitted, the YAML is printed to stdout.

Example output summary#

text
Wrote OpenShell policy to meritt-openshell.yaml
Inferred presets: github, openclaw_api
Posture: strict

When to use it#

  • stage runtime policy before enabling execution
  • review allowed endpoints and binaries before rollout
  • generate repeatable runtime policy artifacts in CI or operator workflows