★ ★ ★LIVE97 COINS ANALYZED BY CLAUDE MCP·VIEW SKILLS →★ ★ ★
MCP
claude.analyze("BTCUSDT")→ [buy] signal detectedmcp.draw_levels(resistance=98000)→ [drawn] on chartclaude.scan_watchlist(coins=100)→ [42] buy signals foundmcp.connect("tradingview")→ [connected] daily TFclaude.detect_sr("SOLUSDT")→ [S: $165] [R: $185]claude.analyze("ETHUSDT")→ [neutral] consolidatingmcp.screenshot_chart("BNBUSDT")→ [captured] analyzing...claude.score_quality("XRPUSDT")→ score: 78/100mcp.set_timeframe("1D")→ [ok] chart updatedclaude.analyze("BTCUSDT")→ [buy] signal detectedmcp.draw_levels(resistance=98000)→ [drawn] on chartclaude.scan_watchlist(coins=100)→ [42] buy signals foundmcp.connect("tradingview")→ [connected] daily TFclaude.detect_sr("SOLUSDT")→ [S: $165] [R: $185]claude.analyze("ETHUSDT")→ [neutral] consolidatingmcp.screenshot_chart("BNBUSDT")→ [captured] analyzing...claude.score_quality("XRPUSDT")→ score: 78/100mcp.set_timeframe("1D")→ [ok] chart updated
BACK TO CLAUDE SKILLS

cache_to_supabase

Data PipelineDatabaseSupabase
INSTALLATION
$python -c "exec(open('cache_to_supabase.py').read())"
#or paste directly into your Claude Code terminal
[ ABOUT ]

Upserts a list of analysis result dictionaries to the `coin_analysis` Supabase table using the Python Supabase client. The `on_conflict="coin_id"` parameter ensures that re-running analysis for a coin updates the existing record rather than inserting a duplicate. Environment variables are read at call time rather than module load time.

For batch upserts, Supabase accepts the full list in a single request — no looping required. This is orders of magnitude faster than individual row inserts when caching 100 coins simultaneously. Ensure the list dictionaries contain only columns that exist in the database schema to avoid foreign key or type mismatch errors.

[ USAGE EXAMPLE ]
example.py
results = [
    {"coin_id": "bitcoin", "signal": "buy", "score": 84},
    {"coin_id": "ethereum", "signal": "neutral", "score": 51},
]
cache_analysis(results)  # single upsert for all rows
[ FULL CODE ]
cache_to_supabase.py
from supabase import create_client def cache_analysis(results: list): sb = create_client(os.environ["SUPABASE_URL"], os.environ["SUPABASE_KEY"]) sb.table("coin_analysis").upsert(results, on_conflict="coin_id").execute()
[ METADATA ]
CategoryData Pipeline
ComplexityIntermediate
LanguagePython 3.10+
TagsDatabase, Supabase
[ ASK CLAUDE ]

Ask AI about this skill before installing it.

[ RELATED SKILLS ]