BMCLI AI integration
命令名、参数与机器可读字段保持英文,以便直接复制到终端或交给 AI 使用;当前安装版本的精确契约请以
bmcli help ... --format=json为准。
BMCLI ships one portable bmcli skill. Claude Code and Codex use the same
SKILL.md and automotive workflow references; Codex additionally receives
agents/openai.yaml for its own interface metadata.
bmcli ai setupbmcli ai setup --target=codexbmcli ai setup --target=claudebmcli ai status --format=jsonai setup is offline and idempotent. It copies the bundled skill to
$AGENTS_HOME/skills/bmcli (default ~/.agents/skills/bmcli) and
$CLAUDE_CONFIG_DIR/skills/bmcli (default ~/.claude/skills/bmcli). It does
not install BMCLI itself and does not modify project target/bench configuration.
The skill queries bmcli help <category> <action> --format=json at runtime.
Command syntax and option defaults come from the installed binary, while the
bundled references provide environment, development, verification/validation,
and debugging methodology.
The skill uses two project files when initializing a test environment:
.bmcli/target.json: one portable target with named networks and addressed protocol nodes; it may be versioned..bmcli/bench.local.json: machine-local logical-network to analyzer-channel bindings, wiring values, and local paths; gitignore it.
Explicit user values override project configuration, which overrides local bench values, which override authorized discovery. Missing DBC data degrades to raw CAN IDs/payloads; missing safety-critical or state-changing values must not be guessed.
权威来源: bmcli_reference.md in the BMCLI repository. Run bmcli help <category> <action> --format=json for the exact contract of the installed version.