rfi — community sdk-rfi, community, ide skills, Claude Code, Cursor, Windsurf

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/5/2026

Agent Capability Analysis

The rfi skill by chestnutforty is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

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

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
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

rfi

Install rfi, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

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.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is rfi?

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

How do I install rfi?

Run the command: npx killer-skills add chestnutforty/sdk-rfi/rfi. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for rfi?

Key use cases include: Retrieving policy-relevant forecasting questions, Analyzing crowd probabilities for predictive modeling, Extracting individual forecaster predictions with rationales for deeper insight.

Which IDEs are compatible with rfi?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for rfi?

Requires RFI_EMAIL and RFI_PASSWORD environment variables. Dependent on RAND Forecasting Initiative API availability.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add chestnutforty/sdk-rfi/rfi. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use rfi immediately in the current project.

Related Skills

Looking for an alternative to rfi or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

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
AI

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
AI