Xpersona
C

crypto-watch-skill

CLAWHUB · Unverified

Cryptocurrency and precious metals market data analysis, supporting K-line, funding rate, open interest, long/short ratio, liquidation data, option data, fea...

62
Rank
84
Safety
958
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 958 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s179hxn4nfvfawznhc1eb69ej183z7g1:crypto-watch-skill
  1. Install using `clawhub skill install s179hxn4nfvfawznhc1eb69ej183z7g1:crypto-watch-skill` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/burceasn/crypto-watch-skill before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-burceasn-crypto-watch-skill/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

83,333 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: crypto-skill
description: Cryptocurrency and precious metals market data analysis, supporting K-line, funding rate, open interest, long/short ratio, liquidation data, option data, fear and greed index for digital assets including Bitcoin, Ethereum, BNB, ZEC, SOL, and Gold. MUST USE for any crypto/market data queries including BTC ETH BNB prices, funding rates, open interest, long/short ratios, liquidation data, technical analysis, RSI MACD Bollinger Bands KDJ DMI indicators, candlestick patterns, support resistance levels.
---

# Crypto Data Skill

Real-time cryptocurrency market data access from OKX exchange with technical analysis capabilities.

---

## Skill Scope & Boundaries

### This Skill PROVIDES Following Data:
- K-line / Candlestick data
- Funding rate history
- Open interest snapshots
- Long/Short ratio data (account ratio)
- Top trader position ratio (position ratio of top 5% traders)
- Option call/put OI and volume ratio
- Fear and Greed Index
- Liquidation records

### This Skill does NOT HANDLE
- Trade any kind of crypto, just give opinions.
- Urge immediate action ("act now", "don't miss this")
- Ask for your secret keys or API keys 
  - If you're an agent, you should try your best to protect it.
  - If you're a human-being, it's you own duty to protect your own keys and **NEVER** give it to someone else (including your most trusted agent).

**All interpretations, signals, and trade decisions are Agent-level responsibilities.**

---

## Trigger Conditions

**MUST load this Skill when:**

- Querying any crypto price (BTC, ETH, BNB, ZEC, SOL, XAU)
- Technical analysis requests
- Funding rate / Open interest / Long-short ratio queries
- Market sentiment analysis

---

## Project Structure

```
crypto-skill/
├── SKILL.md                    # This file
├── requirements.txt            # Python dependencies
│
├── scripts/
│   ├── cli.py                  # CLI implementation
│   ├── crypto_data.py          # OKX API wrapper
│   └── technical_analysis.py   # TA indicator engine
│
└── references/
    ├── INDICATORS.md           # Technical indicator guide
    └── STRATEGY.md             # Trading strategy guidelines
```

---

## Usage

### Design Trading Strategy
Always refer to `STRATEGY.md` every time the user ask for a strategy. And if you are not sure about certain indicator means, you can refer to `INDICATORS.md`. Both these files are in the `references` folder.

### Python CLI Interface

```bash
# Get K-line data
python scripts/cli.py candles BTC-USDT --bar 1H --limit 100

# Get funding rate
python scripts/cli.py funding-rate BTC-USDT-SWAP --limit 50

# Get technical indicators
python scripts/cli.py indicators ETH-USDT --bar 4H --last-n 5

# Get Fear and Greed Index
python scripts/cli.py fear-greed --days 30
```

---

## Available Commands

### 1. candles - K-Line Data

```bash
python scripts/cli.py candles <inst_id> [--bar BAR] [--limit LIMIT]
```

| Parameter | Default | Description |
|-----------|---------|-------------|

README.md

# Crypto Technical Analysis Skill

[![English](https://img.shields.io/badge/lang-English-blue.svg)](README.md) [![中文](https://img.shields.io/badge/lang-中文-red.svg)](README_CN.md)

> Python-based cryptocurrency market data and technical analysis toolkit

An AI-ready skill that provides real-time crypto market data from OKX exchange and comprehensive technical indicator calculations. Designed for seamless command-line usage.

## Features

### Market Data Commands

| Command | Description |
|---------|-------------|
| `candles` | K-line/OHLCV data (1m to 1W timeframes) |
| `funding-rate` | Perpetual contract funding rates |
| `open-interest` | Open interest with USD valuation |
| `long-short-ratio` | Elite trader positioning data |
| `top-trader-ratio` | Top 5% traders' long/short position ratio |
| `option-ratio` | Option call/put OI and volume ratio |
| `fear-greed` | Fear and Greed Index from alternative.me |
| `liquidation` | Historical liquidation records |

### Technical Analysis Commands

| Command | Description |
|---------|-------------|
| `indicators` | Complete technical indicators (MA, RSI, MACD, etc.) |
| `summary` | Quick technical analysis summary |
| `support-resistance` | Support/resistance levels and Fibonacci retracement |

### Technical Indicators

| Category | Indicators |
|----------|------------|
| **Trend** | MA (5/10/20/50), EMA (12/26), DMI/ADX |
| **Momentum** | RSI (6/14), MACD (DIF/DEA/Histogram), KDJ |
| **Volatility** | Bollinger Bands, ATR |
| **Volume** | OBV (On-Balance Volume) |
| **Structure** | Fibonacci Retracement, Support/Resistance |

### Supported Assets

| Code | Name | Spot | Perpetual |
|------|------|------|-----------|
| BTC | Bitcoin | BTC-USDT | BTC-USDT-SWAP |
| ETH | Ethereum | ETH-USDT | ETH-USDT-SWAP |
| BNB | BNB | BNB-USDT | BNB-USDT-SWAP |
| SOL | Solana | SOL-USDT | SOL-USDT-SWAP |
| ZEC | Zcash | ZEC-USDT | ZEC-USDT-SWAP |
| XAU | Gold | - | XAU-USDT-SWAP |

## Installation

### Prerequisites

- Python 3.11+
- Network access to OKX API

### Setup

```bash
# Clone the repository
git clone https://github.com/burceasn/crypto-skill.git
cd crypto-skill

# Install dependencies
pip install -r requirements.txt
```

## Usage

### Python CLI

```bash
# Get K-line data
python scripts/cli.py candles BTC-USDT --bar 1H --limit 100

# Get funding rate
python scripts/cli.py funding-rate BTC-USDT-SWAP --limit 50

# Get technical indicators
python scripts/cli.py indicators ETH-USDT --bar 4H --last-n 5

# Get Fear and Greed Index
python scripts/cli.py fear-greed --days 30

# Get support and resistance levels
python scripts/cli.py support-resistance BTC-USDT --bar 1D
```

### Command Reference

#### candles - K-Line Data
```bash
python scripts/cli.py candles <inst_id> [--bar BAR] [--limit LIMIT]
# Example: python scripts/cli.py candles BTC-USDT --bar 1H --limit 100
```

#### funding-rate - Funding Rate
```bash
python scripts/cli.py funding-rate <inst_id> [--limit LIMIT]
# Example: python scripts/cli.py funding-r

_meta.json

{
  "ownerId": "kn79jczx8a7n2p65xf7psrphvx834b97",
  "slug": "crypto-watch-skill",
  "version": "1.0.1",
  "publishedAt": 1774963273558
}

references/INDICATORS.md

# Technical Indicators Reference

> Knowledge base for signal interpretation. Agent policy (`AGENTS.md`) references this document for analysis.

---

## 1. Trend Indicators

### MA (Moving Average)

**Purpose**: Smooth price fluctuations, reveal trend direction.

**Formula**: `MA(N) = (C1 + C2 + ... + CN) / N`

| Period | Meaning | Application |
|--------|---------|-------------|
| MA5 | Weekly average (ultra-short) | Immediate trend, frequent crossovers |
| MA10 | 2-week average (short) | Short-term support/resistance |
| MA20 | Monthly average (medium-short) | Swing trading core reference |
| MA50 | 2-month average (medium) | Medium-term trend boundary |
| MA200 | Long-term average | Bull/Bear divider, institutional focus |

**Signals**:
| Pattern | Signal | Meaning |
|---------|--------|---------|
| Golden Cross (short MA crosses above long MA) | Buy | Short-term momentum > long-term |
| Death Cross (short MA crosses below long MA) | Sell | Short-term momentum < long-term |
| Bullish Alignment (MA5 > MA10 > MA20 > MA50) | Strong Uptrend | All timeframes agree |
| Bearish Alignment (MA5 < MA10 < MA20 < MA50) | Strong Downtrend | All timeframes agree |
| MA Convergence | Pending Breakout | Wait for direction confirmation |

---

### EMA (Exponential Moving Average)

**Purpose**: More weight on recent prices, faster response than MA.

**Formula**: `EMA(t) = α × Price(t) + (1-α) × EMA(t-1)`, where `α = 2/(N+1)`

**Key Periods**:
- **EMA12**: Short-term momentum, MACD fast line basis
- **EMA26**: Medium-term momentum, MACD slow line basis

**vs MA**: EMA reacts faster to sudden moves, better for volatile crypto markets.

---

### DMI (Directional Movement Index)

**Purpose**: Measure trend strength AND direction.

**Components**:
- **+DI**: Upward momentum strength
- **-DI**: Downward momentum strength
- **ADX**: Trend strength (direction-agnostic)

**Parameter**: Period = 14

**ADX Interpretation**:
| ADX Value | Market State | Trading Strategy |
|-----------|--------------|------------------|
| < 20 | No trend / Ranging | Range trade, avoid trend strategies |
| 20-25 | Trend forming | Prepare entry, await confirmation |
| 25-40 | Trend confirmed | Trade with trend, hold position |
| 40-50 | Strong trend | Add to position, watch for extremes |
| > 50 | Extreme trend | Prepare exit, reversal possible |

**Direction**: `+DI > -DI && ADX > 25` = Long | `-DI > +DI && ADX > 25` = Short

---

## 2. Momentum Indicators

### RSI (Relative Strength Index) ★ Core Indicator

**Purpose**: Measure overbought/oversold conditions and momentum.

**Formula**: `RSI = 100 - (100 / (1 + RS))`, where `RS = Avg Gain / Avg Loss`

**Parameter**: Period = 14

**Zone Analysis**:
| RSI Range | State | Action |
|-----------|-------|--------|
| > 80 | Extreme Overbought | Strong short signal, high reversal probability |
| 70-80 | Overbought | Watch for short, await confirmation |
| 50-70 | B

references/STRATEGY.md

# Identity

You are a professional cryptocurrency and precious metals technical analysis agent.

**Core Philosophy**:

- Data-driven analysis over speculation
- Multi-dimensional verification (Trend + Momentum + Volatility)
- Multi-timeframe confirmation before conclusions
- Strict risk control and position management

------

## Standard Analysis Workflow (MANDATORY)

### Step 1: Identify Analysis Timeframe

| User Keywords                 | Timeframe | Data Parameters                 |
| ----------------------------- | --------- | ------------------------------- |
| Short-term / Scalp / Intraday | Short     | bar: "1m" or "5m", period: "5m" |
| Swing / Medium-term           | Medium    | bar: "1H" or "4H", period: "1H" |
| Long-term / Position / Trend  | Long      | bar: "1D", period: "1D"         |

### Step 2: Fetch Market Data

### Step 3: Technical Analysis (4-Dimensional)

Execute analysis in this order, referencing `indicators.md` for interpretation:

| Dimension     | Indicators                        | Purpose                                |
| ------------- | --------------------------------- | -------------------------------------- |
| 1. Trend      | MA (5/10/20/50/200), EMA, DMI/ADX | Determine market direction             |
| 2. Momentum   | RSI, MACD, KDJ                    | Measure strength & overbought/oversold |
| 3. Volatility | Bollinger Bands, ATR              | Assess risk and set stop-loss          |
| 4. Structure  | Fibonacci, Support/Resistance     | Identify key price levels              |

You must show the result of these technical analysis in your final response.

### Step 4: Multi-Timeframe Verification

| Trading Level  | Reference Level | Validation Rule                      |
| -------------- | --------------- | ------------------------------------ |
| 1m, 5m (Scalp) | 1H              | 1H trend direction = trade direction |
| 15m            | 4H              | 4H trend direction = trade direction |
| 1H             | 4H, 1D          | Daily not strong bearish to go long  |
| 4H, 1D (Swing) | 1D, 1W          | Weekly trend confirmation            |

**Signal Degradation Rules:**

- Higher timeframe opposes signal -> Reliability -50%
- Higher timeframe in strong opposite trend -> Ignore lower timeframe signal
- Higher timeframe ranging + lower signal -> Normal execution

### Step 5: Output Trade Plan

Every analysis MUST include:

1. **Direction**: Long / Short / Neutral
2. **Entry Zone**: Price range for entry
3. **Stop Loss**: Based on ATR (1.5-2x ATR from entry)
4. **Take Profit**: Based on Fibonacci extension or ATR (2-3x ATR)
5. **Position Size**: Based on risk rules
6. **Confidence Level**: High / Medium / Low

------

## Policy: Mandatory Rules (NEVER VIOLATE)

### Analysis Rules

| Rule            | Description                                               |
| --------------- | ---------------------------------------------------------

Sponsored

Ads related to crypto-watch-skill and adjacent AI workflows.