rfi

Fetches RAND Forecasting Initiative data via a Python SDK for questions, predictions, and comments.

Updated Feb 15, 2026
One-click install
npx skills add https://github.com/chestnutforty/sdk-rfi --skill rfi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rfi
Source: https://github.com/chestnutforty/sdk-rfi/tree/main/skills/sdk-rfi
Command: npx skills add https://github.com/chestnutforty/sdk-rfi --skill rfi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

The SDK provides programmatic access to RAND's Forecasting Initiative data, enabling developers to fetch questions, crowd probabilities, and rationales for integration into apps without manual data extraction.

Core Features & Use Cases

  • Data retrieval: list questions with answers and crowd probabilities, fetch individual forecaster predictions with rationales, and access comments.
  • Backtesting readiness: support cutoff_date to review data as it existed at a specific date.
  • Integration friendly: mirrors API endpoints with Python methods for questions, prediction_sets, and comments to simplify embedding forecasts in software.

Quick Start

Install sdk-rfi and instantiate Client to begin listing questions and viewing forecasts.

Frequently Asked Questions about rfi

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch RAND Forecasting Initiative crowd predictions programmatically?

You can fetch RAND Forecasting Initiative crowd predictions by installing the sdk-rfi Python package and instantiating the Client to call endpoints for listing questions, prediction_sets, and comments.

Can I retrieve historical forecasting data for backtesting using the RAND RFI API?

Yes, you can retrieve historical forecasting data for backtesting by supplying a cutoff_date parameter to the API methods, which allows you to review prediction_sets as they existed at a specific date.

What data endpoints are available for integrating crowd forecasts into my application?

The SDK provides endpoints for listing and retrieving forecasting questions with crowd probabilities, fetching individual prediction_sets with rationales, and accessing related comments.

Do I need any external dependencies to use the sdk-rfi Python library?

No external dependencies are required to use the sdk-rfi Python library, as the Skill is designed to be self-contained for fetching forecasting data and rationales.

How do I get forecaster rationales and comments from the RAND forecasting platform?

You get forecaster rationales and comments by calling the prediction_sets and comments methods through the Python SDK Client, retrieving detailed explanations alongside crowd probabilities.