Reality Index
Description
An automated system that analyzes prediction market data from Polymarket and generates AI-powered newsletters about significant market movements and global events.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
The Reality Index Newsletter
An AI-powered subscription newsletter service that analyzes prediction market data to deliver insights on what will actually happen across politics, tech, crypto, sports, economics, and culture.
What This Does
A full-stack web application with subscription management that delivers personalized prediction market insights:
- React subscription interface where users choose from 8 topic categories
- Database-backed user management with topic-based segmentation
- AI-generated newsletters that analyze thousands of prediction markets
- Automated weekly delivery every Friday at 6 PM PST
- Newsletter archive with preview functionality
Quick Start
Prerequisites
- Python 3.12+
- PostgreSQL database
- OpenAI API key (for newsletter generation)
- Postmark API key (for email delivery)
Development Setup
**Clone and install:**
git clone cd prediction-market-news python -m venv .venv source .venv/bin/activate pip install -r requirements.txt**Configure environment:** Create an `env.sh` file with your API keys:
export OPENAI_API_KEY="your-openai-key" export POSTMARK_API_KEY="your-postmark-key" export DATABASE_URL="postgresql://user:pass@host:port/dbname" export BASE_URL="https://your-domain.com"**Start development servers:**
source env.sh ./dev.sh # Starts both React frontend and FastAPI backend
Usage
# Start web application
python main.py web --reload
# Generate test newsletter
python main.py test-newsletter tech ai
# List archived newsletters
python main.py list-newsletters
# Delete newsletter by ID
python main.py delete-newsletter 123 --confirm
Deployment
Deploy to Railway as a single full-stack service:
1.
Related Skills
mcp-server-postgres
Read-only PostgreSQL database access.
Data mcp-server-sqlite
SQLite database interaction and querying.
Data mcp-server-google-maps
Google Maps integration for location data.
Data Bitbucket Data Center
---
Data Csv Data Summarizer
Automatically analyze CSV files and generate comprehensive insights with visualizations
Data Financial Services
Reference agents, skills, and data connectors for the financial-services workflows we see most — investment ba
Data