name: f1 description: This skill should be used when the user asks about Formula 1 races, the F1 calendar, race schedules, session times, or race round details. It runs a bundled F1 CLI tool powered by the OpenF1 API.
F1
Overview
Provides Formula 1 race calendar and session schedule data via a bundled CLI tool. The tool is run using uvx directly from the skill's assets/ directory.
Usage
The assets directory contains:
assets/f1.py— the CLI entry pointassets/pyproject.toml— project metadata andf1script entrypointassets/uv.lock— locked dependencies
Running the tool
To list all races for the current (or a given) season:
uvx --from <path-to-assets> f1 races
If the assets files have changed recently (e.g., after a skill update), add --reinstall to force re-installation:
uvx --from <path-to-assets> --reinstall f1 races
To show detailed session schedule for a specific round:
uvx --from <path-to-assets> f1 race <round-number>
Determining the assets path
The assets are located at assets/ relative to this SKILL.md file. Use the skill's base directory to construct the full path.
When to use --reinstall
Use --reinstall when:
- The skill was recently updated or the assets files have been modified
- The tool fails with an import error or unexpected behaviour suggesting a stale cache
- When in doubt,
--reinstallis safe to use
Available commands
| Command | Description |
|---|---|
f1 races |
List all races for the current year (or --year YYYY) |
f1 race <round> |
Show session schedule for a specific round number |