KS
Killer-Skills

rfi — Categories.community

v1.0.0
GitHub

About this Skill

Perfect for Data Analysis Agents needing access to crowdsourced forecasting data from the RAND Forecasting Initiative API Python SDK for the RAND Forecasting Initiative (Cultivate Labs) API

chestnutforty chestnutforty
[0]
[0]
Updated: 3/4/2026

Quality Score

Top 5%
25
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add chestnutforty/sdk-rfi/rfi

Agent Capability Analysis

The rfi MCP Server by chestnutforty is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion.

Ideal Agent Persona

Perfect for Data Analysis Agents needing access to crowdsourced forecasting data from the RAND Forecasting Initiative API

Core Value

Empowers agents to leverage the RAND Forecasting Initiative crowdsourced forecasting platform, accessing aggregated crowd probabilities and individual forecaster predictions with rationales through the Python SDK, utilizing environment variables like RFI_EMAIL and RFI_PASSWORD

Capabilities Granted for rfi MCP Server

Retrieving policy-relevant forecasting questions
Analyzing crowd probabilities for predictive modeling
Extracting individual forecaster predictions with rationales for deeper insight

! Prerequisites & Limits

  • Requires RFI_EMAIL and RFI_PASSWORD environment variables
  • Dependent on RAND Forecasting Initiative API availability
Project
SKILL.md
3.3 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

RAND Forecasting Initiative (RFI)

SDK that provides access to the RAND Forecasting Initiative crowdsourced forecasting platform (formerly INFER, powered by Cultivate Labs). It covers policy-relevant forecasting questions with aggregated crowd probabilities and individual forecaster predictions with rationales.

Quick Start

python
1from sdk_rfi import Client 2 3client = Client() # Uses RFI_EMAIL and RFI_PASSWORD env vars

Key Methods

MethodWhat it does
client.questions.list(...)List forecasting questions with filtering by status, tags, challenges, date ranges
client.questions.get(question_id)Get a specific question with answers and crowd probabilities
client.prediction_sets.list(question_id=...)Get individual forecaster predictions with rationales for a question
client.comments.list(commentable_id=..., commentable_type=...)Get discussion comments on a question

Data Coverage

  • Domain: Politics / policy forecasting
  • Countries/Regions: Global (US policy focus)
  • Time range: Questions from ~2020 to present
  • Update frequency: Event-driven (new questions published, forecasts updated continuously)
  • Key data: Forecasting questions on geopolitics, national security, science/technology policy, economics, biosecurity, nuclear risk, AI governance

Forecasting Patterns

  • Crowd forecast as base rate: Use client.questions.list() to find questions matching your topic, then read the crowd probability from question.answers[i].probability as a calibrated starting point.
  • Trend analysis via prediction history: Use client.prediction_sets.list(question_id=X) to see how individual forecasts changed over time. Plot created_at vs forecasted_probability to detect momentum.
  • Expert rationale mining: Individual prediction sets include rationale text explaining the forecaster's reasoning. Use client.prediction_sets.list(question_id=X) and examine rationales for weak signals and arguments.
  • Cross-reference with resolution: Use client.questions.list(status="closed") to find resolved questions. Compare crowd probability at various cutoff dates against actual outcomes to measure calibration.
  • Comment-based signal detection: Use client.comments.list(commentable_id=X, commentable_type="Forecast::Question") to find discussion threads that may contain links to evidence or emerging developments.

Common Queries

python
1# Get all active forecasting questions 2questions = client.questions.list() 3for q in questions.questions: 4 print(f"{q.id}: {q.name}") 5 for a in (q.answers or []): 6 print(f" {a.name}: {a.probability_formatted}") 7 8# Get individual forecasts and rationales for a question 9forecasts = client.prediction_sets.list(question_id=1234) 10for ps in forecasts.prediction_sets: 11 print(f"{ps.membership_username}: {ps.rationale}") 12 for pred in (ps.predictions or []): 13 print(f" Answer {pred.answer_id}: {pred.forecasted_probability:.1%}") 14 15# Backtest: get data as it was available on a past date 16past_questions = client.questions.list(cutoff_date="2025-06-01") 17past_forecasts = client.prediction_sets.list(question_id=1234, cutoff_date="2025-06-01")

Full Method Reference

See references/methods.md for all 4 methods with complete parameter details.

Related Skills

Looking for an alternative to rfi or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication