Foreseek AI

Trade prediction markets with natural language via Foreseek. Matches your beliefs to Kalshi contracts and executes trades. Use when user wants to bet on or trade predictions about elections, politics, sports outcomes, economic data (Fed rates, CPI, GDP), crypto prices, weather events, or any real-world event outcomes. Supports viewing positions, parsing predictions, executing market/limit orders, managing orders, and checking account status.

MIT-0 · Free to use, modify, and redistribute. No attribution required.
1 · 1.5k · 1 current installs · 1 all-time installs
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
!
Purpose & Capability
The skill claims to let the agent trade prediction markets via Foreseek/Kalshi and only requests a FORESEEK_API_KEY, which is appropriate in principle. However, every example curl POST targets a jxvtetqmzduvhgiyldgp.supabase.co function URL rather than an obvious foreseek.ai or kalshi.com API endpoint; that domain mismatch is unexplained and disproportionate to the stated purpose.
!
Instruction Scope
SKILL.md instructs the agent to send the Authorization: Bearer $FORESEEK_API_KEY header and full operation payloads to the supabase.co function for all actions (parse, trade, positions, orders, etc.). This is within the claimed feature set but means the remote function receives your API key and trade commands — the instructions do not document what that service does with keys or trades (proxying to Foreseek/Kalshi, logging, or storing). There are no instructions to verify the endpoint's ownership or TLS certificate, and no local-only operations are required.
Install Mechanism
This is an instruction-only skill with no install spec and no code files, which minimizes on-disk install risk.
!
Credentials
Only a single env var (FORESEEK_API_KEY) is required, which is proportionate for a trading integration. The concern is that the key is submitted to an unexpected third-party function (supabase.co) rather than a documented Foreseek API endpoint. That increases risk of credential capture or misuse if the endpoint is not the official Foreseek service.
Persistence & Privilege
The skill does not request always:true and has no install-time persistence. Model invocation is enabled (default), which allows autonomous use — normal for skills — but there is no elevated system privilege requested.
What to consider before installing
Before installing or using this skill, verify the endpoint and provenance: the SKILL.md instructs sending your FORESEEK_API_KEY to https://jxvtetqmzduvhgiyldgp.supabase.co/functions/v1/foreseek-cli rather than to an obvious foreseek.ai or kalshi.com API. Ask the skill author for: (1) an official homepage or source repository, (2) confirmation that the supabase URL is an official Foreseek endpoint (and documentation showing that), and (3) what that function does with API keys and trade requests (does it proxy to Kalshi, log keys, or store credentials?). Until you can verify, avoid using a production API key or real funds — use a demo/limited-scope key or revoke and rotate keys used for testing. If you require lower risk, prefer a skill that calls documented foreseek.ai or kalshi.com APIs directly or provide source code so the function behavior can be audited. Note that the skill will be able to place trades via the remote service if the key is valid, so ensure you trust the endpoint and the developer before granting access.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.0
Download zip
latestvk974apa38k61aezjgxdy4dwybn80ashp

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

EnvFORESEEK_API_KEY

SKILL.md

Foreseek - Prediction Market Trading

Trade prediction markets through natural language. Say what you believe, get matched to the right contract on Kalshi.

Setup

Get your API key from foreseek.ai/dashboard → API Keys tab.

export FORESEEK_API_KEY="fsk_your_api_key_here"

Quick Commands

Parse a Prediction (Find Matching Markets)

Converts natural language to matched Kalshi contracts.

curl -X POST https://jxvtetqmzduvhgiyldgp.supabase.co/functions/v1/foreseek-cli \
  -H "Authorization: Bearer $FORESEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operation": "parse", "prediction": "Fed will cut rates in March"}'

Response:

{
  "matched": true,
  "confidence": 0.92,
  "direction": "yes",
  "market": {
    "ticker": "KXFED-25MAR-T475",
    "title": "Fed funds rate below 4.75% on March 19",
    "price": 0.35,
    "event_ticker": "KXFED-25MAR",
    "kalshi_url": "https://kalshi.com/markets/kxfed/fed-funds-rate-below-475-on-march-19/kxfed-25mar#market=KXFED-25MAR-T475"
  },
  "insight": "Currently trading at 35¢, implying 35% probability"
}

Execute a Trade

Places an order on Kalshi through your connected account.

curl -X POST https://jxvtetqmzduvhgiyldgp.supabase.co/functions/v1/foreseek-cli \
  -H "Authorization: Bearer $FORESEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operation": "trade",
    "ticker": "KXFED-25MAR-T475",
    "side": "yes",
    "action": "buy",
    "count": 10,
    "type": "market"
  }'

Response:

{
  "success": true,
  "order": {
    "order_id": "abc123",
    "status": "filled",
    "filled_count": 10,
    "avg_price": 35
  },
  "message": "BUY 10 YES contracts on KXFED-25MAR-T475"
}

View Positions

Shows your current open positions on Kalshi.

curl -X POST https://jxvtetqmzduvhgiyldgp.supabase.co/functions/v1/foreseek-cli \
  -H "Authorization: Bearer $FORESEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operation": "positions"}'

Response:

{
  "count": 2,
  "positions": [
    {
      "ticker": "KXBTC-120K-JAN",
      "title": "Bitcoin above $120,000",
      "side": "yes",
      "contracts": 25,
      "avg_price": 42,
      "current_price": 48,
      "pnl": 150
    }
  ],
  "is_demo": false
}

Search Markets

Browse available markets by keyword or category.

curl -X POST https://jxvtetqmzduvhgiyldgp.supabase.co/functions/v1/foreseek-cli \
  -H "Authorization: Bearer $FORESEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operation": "markets", "query": "bitcoin", "limit": 5}'

View Pending Orders

Shows your pending and recent orders on Kalshi.

curl -X POST https://jxvtetqmzduvhgiyldgp.supabase.co/functions/v1/foreseek-cli \
  -H "Authorization: Bearer $FORESEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operation": "orders"}'

Response:

{
  "count": 3,
  "orders": [
    {
      "order_id": "abc123",
      "ticker": "KXBTC-120K",
      "side": "yes",
      "action": "buy",
      "status": "pending",
      "count": 10,
      "filled": 5,
      "price": 42,
      "created_at": "2026-01-31T10:00:00Z"
    }
  ],
  "is_demo": false
}

Cancel an Order

Cancels a pending order by order ID.

curl -X POST https://jxvtetqmzduvhgiyldgp.supabase.co/functions/v1/foreseek-cli \
  -H "Authorization: Bearer $FORESEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operation": "cancel", "order_id": "abc123"}'

Response:

{
  "success": true,
  "order_id": "abc123",
  "message": "Order abc123 cancelled successfully"
}

Check Account Status

View your subscription tier, usage limits, and connection status.

curl -X POST https://jxvtetqmzduvhgiyldgp.supabase.co/functions/v1/foreseek-cli \
  -H "Authorization: Bearer $FORESEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operation": "status"}'

Response:

{
  "tier": "pro",
  "daily_used": 5000,
  "daily_limit": 150000,
  "daily_percent": 3.3,
  "monthly_used": 25000,
  "monthly_limit": 3000000,
  "monthly_percent": 0.8,
  "predictions_used": 2,
  "predictions_limit": 75,
  "is_limited": false,
  "kalshi_connected": true,
  "is_demo": false
}

Check Account Balance

View your Kalshi account balance and portfolio value.

curl -X POST https://jxvtetqmzduvhgiyldgp.supabase.co/functions/v1/foreseek-cli \
  -H "Authorization: Bearer $FORESEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operation": "balance"}'

Response:

{
  "balance": 1000.00,
  "available": 850.00,
  "portfolio_value": 150.00,
  "is_demo": false
}

View Watchlist

View your saved markets with current prices.

curl -X POST https://jxvtetqmzduvhgiyldgp.supabase.co/functions/v1/foreseek-cli \
  -H "Authorization: Bearer $FORESEEK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operation": "watchlist"}'

Response:

{
  "count": 2,
  "watchlist": [
    {
      "ticker": "KXBTC-120K-JAN",
      "title": "Bitcoin above $120,000",
      "price": 48,
      "volume": 125000,
      "status": "open",
      "added_at": "2026-01-15T08:00:00Z"
    }
  ]
}

Prediction Examples

What You SayMatched Market
"Trump wins 2028"KXPRES-2028-REP
"Bitcoin above $100k by month end"KXBTC-100K-JAN
"Eagles win Super Bowl"KXNFLSB-PHI
"Fed cuts rates in March"KXFED-25MAR-T475
"CPI above 3% next month"KXCPI-FEB-3PCT
"Nvidia hits $200"KXNVDA-200

Operations Reference

OperationDescriptionScopeConsumes Budget
parseAI prediction matchingparseYes
tradeExecute Kalshi orderstradeNo
positionsView open positionspositionsNo
marketsSearch available marketsmarketsNo
ordersView pending ordersordersNo
cancelCancel pending ordercancelNo
statusCheck tier & usagestatusNo
balanceGet account balancebalanceNo
watchlistView saved marketswatchlistNo

Trade Parameters

ParameterTypeRequiredDescription
operationstringYesOne of: parse, trade, positions, markets, orders, cancel, status, balance, watchlist
predictionstringFor parseNatural language prediction
tickerstringFor tradeMarket ticker (e.g., KXBTC-120K-JAN)
sidestringFor trade"yes" or "no"
actionstringFor trade"buy" or "sell" (default: buy)
countnumberFor tradeNumber of contracts
typestringFor trade"market" or "limit" (default: market)
yes_pricenumberFor limitLimit price in cents (for YES side)
no_pricenumberFor limitLimit price in cents (for NO side)
querystringFor marketsSearch term
categorystringFor marketsFilter by category
limitnumberFor marketsMax results (default: 10, max: 50)
order_idstringFor cancelOrder ID to cancel

Error Handling

401 - Unauthorized

{"error": "Invalid or revoked API key"}

→ Check your API key is correct and not revoked

403 - Forbidden

{"error": "API key does not have permission for 'trade' operation"}

→ API key scopes don't include this operation

429 - Rate Limited

{
  "error": "rate_limited",
  "tier": "free",
  "daily_used": 10000,
  "daily_limit": 10000,
  "message": "Daily limit reached. Resets at midnight UTC.",
  "upgrade_url": "https://foreseek.ai/pricing"
}

→ Daily token limit reached. Upgrade for higher limits:

  • Free: ~5 predictions/day
  • Pro ($29/mo): ~75 predictions/day
  • Ultra ($79/mo): ~200 predictions/day

400 - Bad Request

{"error": "Kalshi not connected", "message": "Connect your Kalshi account at https://foreseek.ai/dashboard"}

→ Connect your Kalshi API credentials in the dashboard

Categories

Available market categories for filtering:

  • Politics (elections, legislation)
  • Economics (Fed rates, CPI, GDP, unemployment)
  • Crypto (Bitcoin, Ethereum prices)
  • Sports (NFL, NBA, MLB, soccer)
  • Entertainment (Oscars, streaming)
  • Weather (temperature, hurricanes)
  • Tech (product launches, earnings)

Requirements

  1. Foreseek Account: Sign up at foreseek.ai
  2. Kalshi Connection: Connect your Kalshi API keys in the dashboard
  3. API Key: Generate one from Dashboard → API Keys

Links

Files

1 total
Select a file
Select a file to preview.

Comments

Loading comments…