f1-cli for Openclaw

A powerful Go-based command-line interface for querying comprehensive Formula 1 telemetry, timing, and session data via the OpenF1 API.

barronlroth
v1.0.1
Mar 12, 2026
0
899
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install f1-cli

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install f1-cli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is f1-cli?

The f1-cli tool is a specialized utility designed for racing enthusiasts and data analysts who need programmatic access to Formula 1 information. As one of the most data-rich Openclaw Skills, it wraps the OpenF1 API to provide deep insights into car performance, track conditions, and race strategy. Whether you are looking for real-time telemetry or historical session data from 2023 onwards, this skill enables AI agents to retrieve precise racing statistics without requiring manual web searches.

By integrating this tool into your workflow, you can automate the retrieval of driver standings, tire usage (stints), and even team radio URLs. It is built to handle the high-frequency data demands of modern racing, making it an essential component for any developer looking to build F1-themed applications or perform automated race analysis using Openclaw Skills.

f1-cli Use Cases

  • Retrieving the latest race results and constructor standings during a Grand Prix weekend.
  • Analyzing driver telemetry such as speed, RPM, and gear usage at specific track points.
  • Monitoring live track weather conditions and race control incidents like safety cars or flags.
  • Comparing lap times and pit stop efficiency between rival drivers.
  • Investigating tire strategies and stint lengths for post-race performance reviews.

How f1-cli Works

  1. The user provides a query related to Formula 1 racing or statistics.
  2. The skill identifies the relevant session or meeting key, often defaulting to the latest available data.
  3. It executes specific sub-commands like laps, telemetry, or standings against the OpenF1 API.
  4. Results are processed and formatted as tables, JSON, or CSV depending on the user's requirements.
  5. The AI agent interprets the structured data to provide a comprehensive answer or perform further analysis.

f1-cli Setup

To begin using this tool within your environment, install the binary via Homebrew:

brew tap barronlroth/tap
brew install f1-cli

Alternatively, install directly from source using Go:

go install github.com/barronlroth/f1-cli/cmd/f1@latest

Once installed, you can verify connectivity to the API using the doctor command:

f1 doctor

f1-cli Data Schema & Taxonomy

The skill organizes data according to the OpenF1 API taxonomy, ensuring high fidelity for Openclaw Skills users. Key data structures include:

Data Type Description Primary Keys
Sessions List of FP1, Quali, Sprint, and Race events. session_key
Drivers Profile info including name, team, and acronym. driver_number
Telemetry High-frequency car data (speed, throttle, brake). session_key, driver_number
Standings Final race classification and points. session_key
Stints Tire compound history and lap counts. session_key, driver_number

f1-cli Advanced Features

  • Server-side filtering using comparison operators like speed>=300 to optimize API payload size.
  • Automated driver acronym resolution (e.g., using VER instead of 1) for easier querying across different seasons.
  • Flexible output formats including JSON and CSV for integration with external data science tools or spreadsheet software.
  • Internal rate-limit handling with automatic retries on 429 errors to ensure continuous data access.
  • Support for high-frequency (3.7 Hz) car location and telemetry data for granular race path mapping.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*