---
name: prediction-trader-82607510c09d
description: AI-powered prediction market analysis across Polymarket and Kalshi with social signals
homepage: https://github.com/your-repo/trading
user-invocable: true
metadata: {"moltbot":{"emoji":"📈","requires":{"env":["UNIFAI_AGENT_API_KEY","GOOGLE_API_KEY"]},"primaryEnv":"UNIFAI_AGENT_API_KEY"}}
---

# Prediction Trader

AI-powered prediction market analysis assistant that aggregates data from multiple platforms and social signals.

## Supported Platforms

- **Polymarket**: Offshore prediction market on Polygon (crypto, politics, sports, world events)
- **Kalshi**: CFTC-regulated US prediction market (Fed rates, GDP, CPI, economics)

## Commands

### Compare Markets
```bash
python3 {baseDir}/scripts/trader.py compare "[topic]"
```
Compare prediction markets across both platforms for a given topic.

### Get Trending
```bash
python3 {baseDir}/scripts/trader.py trending
```
Get trending prediction markets from both platforms.

### Analyze Topic
```bash
python3 {baseDir}/scripts/trader.py analyze "[topic]"
```
Full analysis including market data and social signals.

### Platform-Specific

```bash
# Polymarket
python3 {baseDir}/scripts/trader.py polymarket trending
python3 {baseDir}/scripts/trader.py polymarket crypto
python3 {baseDir}/scripts/trader.py polymarket search "[query]"

# Kalshi
python3 {baseDir}/scripts/trader.py kalshi fed
python3 {baseDir}/scripts/trader.py kalshi economics
python3 {baseDir}/scripts/trader.py kalshi search "[query]"
```

## Output Format

Results include:
- Market question/title
- YES/NO prices (probability)
- Trading volume
- Platform source
- Resolution date (if available)

## Requirements

- `UNIFAI_AGENT_API_KEY` - UnifAI SDK key for Polymarket tools and social signals
- `GOOGLE_API_KEY` - Gemini API key for LLM analysis

## Example Usage

**User**: "Compare Bitcoin prediction markets"

**Assistant**: I'll compare Bitcoin markets across Polymarket and Kalshi.

```bash
python3 {baseDir}/scripts/trader.py compare "bitcoin"
```

**User**: "What are the Fed rate predictions?"

**Assistant**: Let me fetch the Federal Reserve interest rate markets from Kalshi.

```bash
python3 {baseDir}/scripts/trader.py kalshi fed
```

## Notes

- Polymarket data accessed via UnifAI tools (may have rate limits)
- Kalshi data accessed via direct public API (no auth for read)
- This tool is read-only; trading requires platform authentication
- All prices shown as decimals (0.75 = 75% probability)


---
Source attribution: kbarbel640-del
Original project: https://github.com/kbarbel640-del/skills/blob/e7e336ac628c3e3bd771aff1aaa469c93778f94a/skills/zbruceli/unifai-trading-suite/skills/prediction-trader/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 clawdbot

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: kbarbel640-del
Original project: https://github.com/kbarbel640-del/skills/blob/e7e336ac628c3e3bd771aff1aaa469c93778f94a/skills/zbruceli/unifai-trading-suite/skills/prediction-trader/SKILL.md
Attribution basis: Source repository record

Fields of work: Marketing
Roles: Growth Marketer, Marketing Analyst, Product Marketer
Specialties: API
Tools: Google Gemini, Unifai
Country applicability: United States
Classification basis: Source catalog labels
Instruction SHA-256: 27a0e4155746144e79a3458db2a36bcb86f83dfc77eb095b001aaa5251624fe7
