fastf1
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "fastf1" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-01c93c938a9860d5679ce6b623a941b2e975a101ccbed6e41dba88d0ff4f029c. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/fastf1-koc4 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Provides Fastf1-specific skills to help an AI agent efficiently perform tasks related to Fastf1.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Before writing queries, consult `references/api-reference.md` for endpoints, ID conventions, and data shapes.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: Fastf1
slug: fastf1
version: 1.0.0
displayName: Fastf1
description: >
Fastf1专用技能,帮助AI Agent高效完成相关任务。
summary: "Fastf1专用技能,帮助AI Agent高效完成相关任务。"
license: MIT
category: 开发者工具
framework:
- Claude Code
- Codex
- Hermes Agent
- OpenClaw
- QClaw
- WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"FastF1 — Formula 1 Data
Before writing queries, consult references/api-reference.md for endpoints, ID conventions, and data shapes.
Quick Start
Prefer the CLI — it avoids Python import path issues:
sports-skills f1 get_race_schedule --year=2025
sports-skills f1 get_race_results --year=2025 --event=Monza
Python SDK (alternative):
from sports_skills import f1
schedule = f1.get_race_schedule(year=2025)
results = f1.get_race_results(year=2025, event="Monza")
CRITICAL: Before Any Query
CRITICAL: Before calling any data endpoint, verify:
- Year is derived from the system prompt's
currentDate— never hardcoded. - In January or February, use
year = current_year - 1(pre-season; the new F1 season has not started yet).
Choosing the Year
Derive the current year from the system prompt's date (e.g., currentDate: 2026-02-16 → current year is 2026).
- If the user specifies a year, use it as-is.
- If the user says "latest", "recent", "last season", or doesn't specify: The F1 season runs roughly March–December. If the current month is January or February, use
year = current_year - 1. From March onward, use the current year.
Workflows
Race Weekend Analysis
get_race_schedule --year=<year>— find the event name and dateget_race_results --year=<year> --event=<name>— final classification (positions, times, points)get_lap_data --year=<year> --event=<name> --session_type=R— lap-by-lap pace analysisget_tire_analysis --year=<year> --event=<name>— strategy breakdown (compounds, stint lengths, degradation)
Driver/Team Comparison
get_championship_standings --year=<year>— championship context (points, wins, podiums)get_team_comparison --year=<year> --team1=<t1> --team2=<t2>ORget_driver_comparison --year=<year> --driver1=<d1> --driver2=<d2>get_season_stats --year=<year>— aggregate performance (fastest laps, top speeds)
Season Overview
get_race_schedule --year=<year>— full calendar with dates and circuitsget_championship_standings --year=<year>— driver and constructor standingsget_season_stats --year=<year>— season-wide fastest laps, top speeds, points leadersget_driver_info --year=<year>— current grid (driver numbers, teams, nationalities)
Commands
| Command | Description |
|---|---|
get_race_schedule |
Full season calendar with dates and circuits |
get_race_results |
Final race classification (positions, times, points) |
get_session_data |
Raw session info (Q, FP1, FP2, FP3, R) |
get_driver_info |
Driver details from the grid |
get_team_info |
Team info with driver lineup |
get_lap_data |
Lap-by-lap timing with sectors and tire data |
get_pit_stops |
Pit stop durations and team averages |
get_speed_data |
Speed trap and intermediate speed data |
get_championship_standings |
Driver and constructor championship standings |
get_season_stats |
Aggregate season performance |
get_team_comparison |
Team head-to-head: qualifying, race pace, sectors |
get_driver_comparison |
Driver head-to-head: qualifying H2H, race H2H, pace delta |
get_tire_analysis |
Tire strategy, stint lengths, degradation rates |
See references/api-reference.md for full parameter lists and return shapes.
Examples
Example 1: F1 calendar User says: "Show me the F1 calendar" Actions:
- Derive year from
currentDate - Call
get_race_schedule(year=<derived_year>)Result: Full calendar with event names, dates, and circuits
Example 2: Driver race performance User says: "How did Verstappen do at Monza?" Actions:
- Derive year from
currentDate(or from context) - Call
get_race_results(year=<year>, event="Monza")for final classification - Call
get_lap_data(year=<year>, event="Monza", session_type="R", driver="VER")for lap times Result: Finishing position, gap to leader, fastest lap, and tire strategy
Example 3: Latest results queried in pre-season User says: "What were the latest F1 results?" (asked in February 2026) Actions:
- Current month is February → season not yet started → use
year = 2025 - Call
get_race_schedule(year=2025)to find the last event of that season - Call
get_race_results(year=2025, event=<last_event>)for the final race results Result: Results of the final 2025 race
Commands that DO NOT exist — never call these
/get_qualifying— does not exist. Useget_practiceget_session_datawithsession_type="Q"for qualifying orsession_type="FP1"/"FP2"/"FP3"for practice.— does not exist. Useget_standingsget_championship_standingsinstead.— does not exist. Useget_resultsget_race_resultsinstead.— does not exist. Useget_calendarget_race_scheduleinstead.
If a command is not listed in the Commands table above, it does not exist.
Troubleshooting
Error: Event name not found
Cause: Event name spelling does not match FastF1's internal naming
Solution: Call get_race_schedule(year=<year>) first to get the exact event names, then retry with the correct name
Error: Session data is empty
Cause: The session has not happened yet
Solution: FastF1 only returns data for completed sessions. Check get_race_schedule for when the session is scheduled
Error: get_race_results returns no fastest_lap_time
Cause: Some races do not include fastest lap data in the results endpoint
Solution: Use get_lap_data(session_type="R") and find the minimum lap_time across all drivers
Error: Querying the current year in January or February returns no data
Cause: The new F1 season has not started yet
Solution: Use year = current_year - 1 for any pre-March query; do not query the current year before March
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供完整的F1赛事数据查询和分析功能,包括赛程、成绩、圈速、轮胎策略等
- 面向赛车爱好者和分析师等明确用户群体,具有实际使用价值
- 功能覆盖全面,包含车手对比、车队对比、赛季统计等多个维度
Areas to improve
-
description写错位置 Reported severity: Minor
顶层frontmatter中的description过于宽泛,仅写'Fastf1专用技能,帮助AI Agent高效完成相关任务',未明确具体触发场景
Recommendation: 建议在顶层description中补充更具体的触发关键词,如'F1赛事数据查询'、'赛车成绩分析'、'车手对比'等
Highlights
- skill_body中有详细的功能描述和使用示例,整体可理解
- 提供了多种使用场景和具体示例,帮助用户理解适用情况
Highlights
- 结构完整,包含快速开始、关键注意事项、工作流、命令列表、示例等
- 有清晰的步骤划分和端到端示例
- frontmatter完整,文档组织良好
- 特别提供了'不存在的命令'说明,避免误用
Highlights
- 工具来源明确(sports-skills f1),参数说明清晰
- 覆盖了主要异常情况并有相应的解决方案
- 特别强调了年份选择的关键逻辑(pre-season处理)
- 提供了详细的故障排除指南
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.