skills$openclaw/unifai-trading-suite
zbruceli7.2kā˜…

by zbruceli

unifai-trading-suite – OpenClaw Skill

unifai-trading-suite is an OpenClaw Skills integration for coding workflows. AI-powered trading insights suite: prediction markets (Polymarket/Kalshi) and social sentiment signals powered by UnifAI.

7.2k stars1.6k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nameunifai-trading-suite
descriptionAI-powered trading insights suite: prediction markets (Polymarket/Kalshi) and social sentiment signals powered by UnifAI. OpenClaw Skills integration.
ownerzbruceli
repositoryzbruceli/unifai-trading-suite
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @zbruceli/unifai-trading-suite
last updatedFeb 7, 2026

Maintainer

zbruceli

zbruceli

Maintains unifai-trading-suite in the OpenClaw Skills directory.

View GitHub profile
File Explorer
55 files
.
config
__init__.py
106 B
settings.py
1.5 KB
skills
kalshi-trader
scripts
kalshi.py
5.5 KB
SKILL.md
2.5 KB
polymarket-trader
scripts
polymarket.py
4.1 KB
SKILL.md
2.7 KB
prediction-trader
scripts
trader.py
8.0 KB
SKILL.md
2.4 KB
social-signals
scripts
signals.py
5.7 KB
SKILL.md
2.6 KB
src
agents
__init__.py
211 B
basic_agent.py
4.0 KB
example_simple.py
2.3 KB
trading_agent.py
22.7 KB
api
static
index.html
24.3 KB
__init__.py
84 B
server.py
8.2 KB
markets
__init__.py
161 B
kalshi.py
12.9 KB
polymarket.py
9.1 KB
signals
__init__.py
181 B
social.py
11.4 KB
strategies
__init__.py
30 B
toolkits
__init__.py
126 B
trading_toolkit.py
5.2 KB
utils
__init__.py
24 B
__init__.py
39 B
tests
__init__.py
32 B
test_skills.py
7.2 KB
_meta.json
294 B
CLAUDE.md
14.7 KB
pyproject.toml
659 B
README.md
3.7 KB
requirements.txt
392 B
SKILL.md
1.1 KB
SKILL.md

name: unifai-trading-suite description: "AI-powered trading insights suite: prediction markets (Polymarket/Kalshi) and social sentiment signals powered by UnifAI." version: 1.0.0 homepage: https://github.com/zbruceli/trading user-invocable: true metadata: {"moltbot":{"emoji":"šŸ“ˆ","requires":{"env":["UNIFAI_API_KEY","GOOGLE_API_KEY"]},"primaryEnv":"UNIFAI_API_KEY"}}

UnifAI Trading Suite

A comprehensive suite for AI-driven trading analysis, aggregating prediction markets and social signals.

šŸ› ļø Included Tools

1. Prediction Trader

Compare probabilities across Polymarket and Kalshi.

python3 {baseDir}/skills/prediction-trader/scripts/trader.py analyze "bitcoin"

2. Kalshi Trader

Regulated US economic indicators (Fed Rates, CPI).

python3 {baseDir}/skills/kalshi-trader/scripts/kalshi.py fed

3. Social Signals

Analyze KOL mentions and sentiment via UnifAI.

python3 {baseDir}/skills/social-signals/scripts/signals.py trending

šŸ” Setup

Requires UNIFAI_API_KEY (from unifAI) and GOOGLE_API_KEY (for analysis).

šŸš€ Installation

clawdhub install unifai-trading-suite
README.md

AI Trader for Prediction Markets

An AI-powered trading agent for prediction markets that leverages LLMs to create and execute trading strategies based on social network signals and on-chain analysis.

Features

  • Multi-Platform Support: Trade on Polymarket and Kalshi prediction markets
  • Social Signal Analysis: Track KOL mentions, sentiment, and trending tokens
  • LLM-Powered Strategies: Uses Google Gemini 3.0 Flash for intelligent analysis
  • UnifAI Integration: Dynamic tool discovery and agent-to-agent communication
  • Web Interface: Simple chat-based frontend for trading queries
  • Moltbot Skills: Packaged as reusable skills for AI agents

Quick Start

Prerequisites

  • Python 3.10+
  • UnifAI API key (for social signals and Polymarket)
  • Google API key (for Gemini LLM)

Installation

# Clone the repository
git clone https://github.com/zbruceli/trading.git
cd trading

# Create virtual environment
python -m venv venv
source venv/bin/activate

# Install dependencies
pip install -r requirements.txt

Environment Variables

export UNIFAI_AGENT_API_KEY="your-unifai-key"
export GOOGLE_API_KEY="your-google-key"
export LLM_MODEL="gemini/gemini-3-flash-preview"

Running

# Run the trading agent demo
python -m src.agents.trading_agent --demo

# Interactive mode
python -m src.agents.trading_agent

# Start web interface
uvicorn src.api.server:app --port 8080

Usage

Trading Agent

from src.agents import TradingAgent

agent = TradingAgent()

# Analyze a token with price + social + news signals
analysis = await agent.analyze_token("SOL")

# Get trending tokens from KOL discussions
trending = await agent.get_trending_signals()

# Natural language queries
response = await agent.chat("Get ETH price and recent news")

Kalshi Markets

from src.markets import KalshiClient

client = KalshiClient()

# Get Fed interest rate markets
fed_markets = await client.get_fed_markets(limit=10)

# Search markets
results = await client.search_markets("bitcoin", limit=5)

Social Signals

from src.signals import SocialSignalProcessor

processor = SocialSignalProcessor()

# Get token sentiment
sentiment = await processor.get_token_sentiment("ETH")

# Get trending tokens from KOLs
trending = await processor.get_trending_tokens(time_window="24h")

Prediction Market Integrations

PlatformIntegrationMarket Types
PolymarketUnifAI SDKCrypto, politics, sports
KalshiDirect APIEconomics, politics, events

Project Structure

trading/
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ agents/        # Trading agents
│   ā”œā”€ā”€ api/           # Web API & frontend
│   ā”œā”€ā”€ markets/       # Market clients (Kalshi, Polymarket)
│   ā”œā”€ā”€ signals/       # Social signal processors
│   └── strategies/    # Trading strategies
ā”œā”€ā”€ skills/            # Moltbot skill definitions
└── tests/

Moltbot Skills

Pre-packaged skills for AI agent platforms:

  • prediction-trader - Cross-platform trading assistant
  • kalshi-trader - Kalshi market queries
  • polymarket-trader - Polymarket integration
  • social-signals - Social signal analysis

See CLAUDE.md for detailed skill documentation.

Technology Stack

  • LLM: Google Gemini 3.0 Flash (via LiteLLM)
  • Agent Framework: UnifAI SDK
  • Skills Platform: Moltbot (AgentSkills-compatible)
  • Language: Python 3.10+

License

MIT

References

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install unifai-trading-suite?

Run openclaw add @zbruceli/unifai-trading-suite in your terminal. This installs unifai-trading-suite into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/zbruceli/unifai-trading-suite. Review commits and README documentation before installing.