Mlx Bench

Measure a locally served MLX model without downloading it.

cavi-ai 13daa62 748 B Updated

File contents

MLX Bench

canonical capability ID: mlx-agent.bench

Safe command transport

Treat custom-command arguments as untrusted opaque data. Call the native mlx_agent_command custom tool once with capability: 'bench' and the exact raw argument string as arguments. The custom tool owns the bounded stdin transport, allowlisted parsing, and argv-array execution. Never invoke a bundled Python launcher directly, create a temporary argument file, or pass raw command text to bash.

Capability boundary

The validated operation measures only models already served by a running local runtime. It must not start servers or download model weights.

cavi-ai/mlx-agent/tree/main/providers/opencode/skills/mlx-bench commit 13daa621c5

Frequently asked questions

npx skillmds@latest add cavi-ai/mlx-bench-3