Auto-Updater Skill
一个面向 Other 场景的 Agent 技能。原始说明:Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
name: polymarket-user-analyzer
description: Analyze Polymarket user trading strategies and patterns. Extract wallet address from username, fetch trading history, and generate comprehensive strategy reports including win rate, market preferences, position sizing, entry price analysis, and profitability metrics. Use when asked to analyze a Polymarket user's strategy, trading patterns, or performance.
Analyze any Polymarket user's trading strategy by their username or wallet address.
# Analyze by username
node scripts/analyze_user.js @vague-sourdough
# Analyze by wallet address
node scripts/analyze_user.js 0x8c74b4eef9a894433B8126aA11d1345efb2B0488
# Save detailed report
node scripts/analyze_user.js @username --output report.json
The analyzer provides:
The analyzer identifies common strategy types:
Get wallet address from username:
// Fetch user profile page and extract address
const response = await fetch(`https://polymarket.com/@${username}`);
const html = await response.text();
const address = html.match(/0x[a-fA-F0-9]{40}/)[0];
Get trading history:
GET https://data-api.polymarket.com/activity?user={address}&limit={limit}
Response format:
{
"proxyWallet": "0x...",
"timestamp": 1234567890,
"type": "TRADE" | "REDEEM",
"side": "BUY" | "SELL",
"price": 0.45,
"size": 10.5,
"usdcSize": 5.0,
"outcome": "Yes" | "No",
"title": "Market title",
"slug": "market-slug"
}
The analyzer generates a structured report:
# Strategy Analysis: @username
## Overview
- Total Trades: X
- Capital Deployed: $X
- ROI: X%
- Strategy Type: [Classification]
## Market Focus
- Primary Markets: [List]
- Asset Distribution: [Breakdown]
## Trading Characteristics
- Average Entry Price: X
- Position Sizing: [Fixed/Dynamic]
- Direction Bias: [Neutral/Bullish/Bearish]
## Performance
- Total P&L: $X
- Win Rate: X%
- Best Trade: [Details]
- Worst Trade: [Details]
## Strategy Insights
[Key observations and patterns]
Important: This skill only analyzes publicly available on-chain data. All Polymarket trades are public by design. This tool does not:
Users should be aware that their Polymarket activity is public and can be analyzed by anyone.