Communitygithub.com

majiayu000/claude-skill-registry

跨預測市場與期貨交易所追蹤您的持倉與損益。

claude-skill-registry 是什麼?

這是一個 Portfolio Skill,專為開發者與 AI 代理用戶設計,用於一站式追蹤您在預測市場(如 Polymarket、Kalshi、Manifold)和期貨交易所(如 Hyperliquid、Binance Futures、Bybit、MEXC)的持倉與績效。此技能支援自動同步、損益匯總、多平台資產餘額查看,以及深入的風險分析(包括相關性矩陣、類別曝險、集中度風險與對沖配對識別)。此外,還整合了鯨魚交易者追蹤與加密貨幣大額轉帳監控功能。它透過環境變數設定 API 金鑰,並以直觀的命令行介面(如 /portfolio、/portfolio risk)操作,最終輸出結構化表格與 ASCII 走勢圖,協助用戶快速掌握整體投資組合狀況。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/majiayu000/claude-skill-registry/tree/HEAD/skills/analysis/portfolio-alsk1992-cloddsbot

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

投資組合技能

跨預測市場與期貨交易所追蹤您的持倉與績效。

命令

查看投資組合

/portfolio
/portfolio positions
/portfolio pnl

歷史記錄

/portfolio history          # 最近 7 天(預設)
/portfolio history 30d      # 最近 30 天
/portfolio history 90d      # 最近 90 天

同步持倉(自動)

/portfolio sync

按平台篩選

/portfolio platform polymarket
/portfolio platform binance

風險

/portfolio risk          # 完整風險指標
/portfolio exposure      # 類別曝險明細

功能

持倉追蹤

  • 進場價格與當前價格
  • 持有數量
  • 未實現損益(美元與百分比)
  • 平台別明細

期貨支援

  • 槓桿顯示
  • 多空方向標示
  • 清算價格
  • 名義價值
  • 保證金類型(逐倉/全倉)

損益摘要

  • 投資組合總價值
  • 日/週/月損益
  • 最佳與最差表現者
  • 平台層級損益

多平台支援

預測市場:

  • Polymarket(透過 API 金鑰)
  • Kalshi(透過 API 金鑰)
  • Manifold(透過 API 金鑰)

期貨交易所:

  • Hyperliquid(透過錢包地址與私鑰)
  • Binance Futures(透過 API 金鑰與密鑰)
  • Bybit(透過 API 金鑰與密鑰)
  • MEXC(透過 API 金鑰與密鑰)

餘額追蹤

  • 每個平台的可動用與鎖定餘額
  • Polymarket:鎖定的 USDC 由未成交買單計算
  • 期貨:已使用保證金 vs 可用保證金

投資組合歷史

  • 每小時 Cron 同步時自動擷取快照
  • ASCII 走勢圖
  • 起始/結束價值與變動(美元、百分比)
  • 峰值與谷值
  • 近期數據點表格

風險分析

  • 相關性矩陣:查看您的持倉之間如何相關
  • 類別曝險:按政治、加密貨幣、體育、經濟等類別細分
  • 集中度風險:HHI 分數與多元化指標
  • 對沖配對:識別抵銷持倉(做多 YES + 做空 NO)

鯨魚追蹤整合

追蹤大型交易者的動向:

/portfolio whales        # 您市場中的頂級鯨魚
/portfolio follow 0x...  # 追蹤某鯨魚的持倉
/portfolio smart-money   # 彙總鯨魚活動

加密鯨魚監控

跨鏈監控大型加密交易:

/portfolio crypto-whales          # 近期鯨魚活動
/portfolio crypto-whales solana   # 僅 Solana 鯨魚
/portfolio crypto-whales top 10   # 按交易量前 10 名

環境變數

# 預測市場
POLY_API_KEY, POLY_API_SECRET, POLY_API_PASSPHRASE
KALSHI_API_KEY, KALSHI_PRIVATE_KEY

# 期貨交易所
HL_WALLET_ADDRESS, HL_PRIVATE_KEY
BINANCE_FUTURES_KEY, BINANCE_FUTURES_SECRET
BYBIT_API_KEY, BYBIT_API_SECRET
MEXC_API_KEY, MEXC_API_SECRET

範例

使用者:「我的投資組合看起來如何?」 → 顯示所有持倉,包含當前價格與損益

使用者:「我今天賺了多少?」 → 計算所有持倉的每日損益

使用者:「我對政治市場的曝險是多少?」 → 按類別篩選持倉,彙總曝險

使用者:「顯示我的 Binance 持倉」 → 篩選至 Binance 期貨持倉,顯示槓桿資訊

輸出格式

投資組合摘要

總價值:$12,450
持倉數:8
未實現損益:+$320 (+2.6%)
已實現損益:$150

餘額:
  polymarket:$2,500($2,100 可用,$400 鎖定)
  binance:$5,000($3,200 可用,$1,800 鎖定)

BTCUSDT 永續 [binance]
  做多 10x:0.5000 @ $98,500.00
  +$250.00 (+5.1%) | 清算價 $89,100.00

Trump 2028 [polymarket]
  Yes:100.00 @ $0.520
  +$70.00 (+15.6%)

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

majiayu000/claude-skill-registry

Builds, edit or validate Agent Skill through conversational discovery. Use when the user requests to "Create an Agent", "Optimize an Agent" or "Edit an Agent".

majiayu000/claude-skill-registry

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry

Analyzes current state and user query to answer BMad questions or recommend the next workflow or agent. Use when user says what should I do next, what do I do now, or asks a question about BMad

majiayu000/claude-skill-registry

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry

Portfolio allocation and rebalancing optimizer. Manages asset allocation across stocks/cash/bonds, performs periodic rebalancing, and ensures diversification according to market regime and risk tolerance.

majiayu000/claude-skill-registry

Create a hilarious and ultra-realistic video of an anthropomorphic animal acting like a human vlogger in a real-world setting.

majiayu000/claude-skill-registry

Speech-to-text transcription and translation via OpenAI Audio API -- models, response formats, timestamps, prompting, streaming, chunking, and diarization

majiayu000/claude-skill-registry

BlockRun works with Claude Code and Google Antigravity.

majiayu000/claude-skill-registry

This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.

majiayu000/claude-skill-registry

小省导购员数字人带货版即梦视频提示词生成系统,基于四大智能体协同(提示词生成师、质量管控师、知识库运维师、跨环节适配师),按照"主体+运动+场景+(镜头语言+光影+氛围)"公式输出中英文双版提示词,适配5s短视频。确保人物一致性、视觉连贯性、情绪连贯性,支持知识库智能复用和跨工具适配(Suno音乐、AI绘画),为数字人带货视频提供高质量提示词生成服务。

majiayu000/claude-skill-registry

Upload and manage files using Google Gemini File API via scripts/. Use for uploading images, audio, video, PDFs, and other files for use with Gemini models. Supports file upload, status checking, and file management. Triggers on "upload file", "file API", "upload image", "upload PDF", "upload video", "file management".

majiayu000/claude-skill-registry

CRITICAL: Use for MolyKit AI chat toolkit. Triggers on: BotClient, OpenAI, SSE streaming, AI chat, molykit, PlatformSend, spawn(), ThreadToken, cross-platform async, Chat widget, Messages, PromptInput, Avatar, LLM

majiayu000/claude-skill-registry

AI and machine learning workflow covering LLM application development, RAG implementation, agent architecture, ML pipelines, and AI-powered features.

majiayu000/claude-skill-registry

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

相關技能