Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Roboflow CLI

$ roboflow Official Low Risk
Roboflow · AI & Media · Apache-2.0 · macos / linux / windows

Roboflow CLI (roboflow, bundled with the roboflow Python package) downloads versioned vision datasets in YOLO/COCO/VOC formats (roboflow download), uploads annotated imagery, and runs cloud or local inference (roboflow infer). Global --json (-j) and --quiet (-q) flags make its output cleanly parseable by agents.

FCRS-1.0 Score
85 /100
Good
Medium Confidence
Zero-Friction Install
pip install roboflow
CLI vs MCP Decision CLI Preferred vs MCP

roboflow download extracts multi-gigabyte dataset archives directly to local disk and roboflow infer reads local image files directly.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 22 / 25

Global --json (-j), --quiet (-q), --workspace (-w), and --api-key (-k) work across subcommands.

  • Global --json / -j and --quiet / -q flags
  • Headless auth via ROBOFLOW_API_KEY or --api-key
Trust & Safety 19 / 25

Scoped workspace/API-key flags and mostly read/download operations, though upload and hosted infer lack --dry-run.

  • Explicit --workspace and --api-key overrides prevent wrong-workspace writes
  • No --dry-run on dataset uploads
Setup & Portability 12 / 15

Installable via pip install roboflow across macOS, Linux, and Windows with moderate imaging dependencies.

  • Standard PyPI package roboflow
Utility & Efficiency 14 / 15

Covers workspace/project listing, versioned dataset exports in 20+ CV formats, uploads, and inference in one clean CLI.

  • Supports download, upload, infer, project, and workspace
Maintenance & Lineage 9 / 10

Official Roboflow client repository (roboflow/roboflow-python) under Apache-2.0.

  • Official roboflow/roboflow-python repo under Apache-2.0
Docs & Verifiability 9 / 10

Clear CLI reference at docs.roboflow.com documenting global flags and subcommands.

  • Official CLI reference at docs.roboflow.com

Security, Auth & Guardrails

Auth Modes
Env API Key Config File
Credential Storage

Reads ROBOFLOW_API_KEY env var, explicit --api-key (-k) flag, or saved credentials in ~/.config/roboflow/config.json.

Side Effects
Read-Only Local Write Remote Write Billing Impact
Cost & Quotas

Apache-2.0 open-source CLI; Roboflow Cloud offers a free tier with usage-based billing for hosted inference and training.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Roboflow CLI (roboflow) Agent Rules
- Always pass `--json --quiet` on `roboflow` commands for clean machine-readable output.
- Provide `ROBOFLOW_API_KEY` via env var or `--api-key` rather than interactive `roboflow login`.
- Specify an explicit target directory when running `roboflow download` to avoid cluttering the repo root.

Agent-Ready Command Recipes

Safe Read-Only Queries

Run object-detection inference with JSON output
roboflow infer ./image.jpg -m my-project/3 --json --quiet

Runs inference on a local image and returns clean JSON bounding boxes without progress bars.

Controlled Writes & Previews

Download a dataset version in YOLOv8 format
roboflow download my-workspace/my-project/3 -f yolov8 ./dataset --json --quiet

Downloads and unpacks version 3 of the dataset into ./dataset and emits JSON summary metadata.

Strengths for Agents

  • + Global --json (-j) and --quiet (-q) flags work uniformly across all subcommands.
  • + Supports ROBOFLOW_API_KEY and --workspace overrides for safe multi-project automation.

Caveats & Pitfalls

  • ! No --dry-run preview before uploading images via roboflow upload.
  • ! Large dataset exports via roboflow download can consume significant local disk space.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI