Logotipo de Stablecoin Flow

Stablecoin Flow

OrganizaciónPopular
HKUDS
stablecoin-flow

Stablecoin supply and flow analysis — USDT/USDC mint-burn signals, exchange stablecoin reserves, on-chain stablecoin velocity, and capital rotation indicators for crypto market timing.

Descripción general

EditorHKUDS
RepositorioVibe-Trading
Nombre de la habilidadstablecoin-flow
Estrellas
35.2K
Forks
5.7K
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por HKUDS en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Stablecoin Flow en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/stablecoin-flow
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git /tmp/Vibe-Trading
mkdir -p .claude/skills
cp -r /tmp/Vibe-Trading/agent/src/skills/stablecoin-flow .claude/skills/stablecoin-flow
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Stablecoin Flow en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Stablecoin Flow automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Stablecoin Flow no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Stablecoin Flow Analysis

Overview

Track stablecoin supply changes, exchange reserve movements, and on-chain velocity to gauge crypto market capital flows. Stablecoins (USDT, USDC, DAI, etc.) are the "dry powder" of crypto — minting signals new capital entering, burning signals capital leaving, and exchange reserve changes reveal buying/selling intent.

Core Concepts

1. Stablecoin Supply as Market Indicator

Total stablecoin market cap is the single best proxy for crypto market liquidity.

python
# Stablecoin supply growth → crypto market liquidity expansion
# Historical correlation: BTC price and total stablecoin supply r > 0.85

stablecoin_supply = {
    "USDT": 140_000_000_000,    # ~$140B (dominant, ~65% share)
    "USDC": 45_000_000_000,     # ~$45B (~20% share)
    "DAI": 5_000_000_000,       # ~$5B (decentralized)
    "FDUSD": 3_000_000_000,     # ~$3B (Binance ecosystem)
    "USDS": 2_000_000_000,      # ~$2B (Sky/MakerDAO)
}
total = sum(stablecoin_supply.values())

Supply change signals:

Supply Change (30d)InterpretationSignal
> +5%Rapid minting, new capital rushing inStrong bullish
+2% to +5%Steady capital inflowBullish
0% to +2%Stable, no significant new capitalNeutral
-2% to 0%Mild redemptionsCautious
< -2%Capital exiting crypto ecosystemBearish

2. Mint/Burn Event Analysis

USDT (Tether) minting signals:

  • Tether mints new USDT → deposits to exchanges → precedes buying activity
  • Large mints ($500M+) historically precede BTC rallies by 1-7 days
  • Minting often happens in batches: "pre-mint to Tether treasury" → later distributed to exchanges

USDC (Circle) signals:

  • USDC is more regulated and institutional-oriented
  • USDC net minting = institutional/TradFi capital entering
  • USDC net burning = institutional capital exiting (redeeming for USD)
  • USDC/USDT ratio rising = more institutional participation (bullish for market maturity)
python
def mint_burn_signal(mint_events, burn_events, lookback_days=7):
    """Analyze recent stablecoin mint/burn events."""
    net_mint = sum(e.amount for e in mint_events if e.days_ago <= lookback_days)
    net_burn = sum(e.amount for e in burn_events if e.days_ago <= lookback_days)
    net_flow = net_mint - net_burn

    if net_flow > 1_000_000_000:    # >$1B net mint in 7 days
        return "large_capital_inflow"
    elif net_flow > 500_000_000:
        return "moderate_inflow"
    elif net_flow > 0:
        return "mild_inflow"
    elif net_flow > -500_000_000:
        return "mild_outflow"
    else:
        return "large_capital_outflow"

3. Exchange Stablecoin Reserves

Stablecoins on exchanges = "buy power sitting on the sidelines"

python
# Exchange stablecoin reserve interpretation
def exchange_reserve_signal(reserve_change_7d_pct, total_reserve_usd):
    """
    Rising exchange stablecoin reserves = buying power accumulating
    Falling exchange stablecoin reserves = capital deployed or withdrawn
    """
    if reserve_change_7d_pct > 5:
        return "buy_power_accumulating"     # Dry powder building up
    elif reserve_change_7d_pct > 2:
        return "mild_accumulation"
    elif reserve_change_7d_pct < -5:
        return "deployed_or_withdrawn"       # Either bought crypto or left exchange
    elif reserve_change_7d_pct < -2:
        return "mild_deployment"
    else:
        return "stable"

Combined with BTC price action:

Exchange Stable ReservesBTC Price ActionInterpretation
RisingRisingCapital inflow + active buying = strong bull
RisingFallingCapital parking, waiting for bottom = accumulation
FallingRisingCapital being deployed into BTC = buying pressure
FallingFallingCapital leaving exchanges entirely = risk-off

4. Stablecoin Dominance

Stablecoin dominance = total stablecoin market cap / total crypto market cap

python
# Stablecoin dominance as a contrarian indicator
stablecoin_dominance = total_stablecoin_mcap / total_crypto_mcap * 100

if stablecoin_dominance > 12:
    signal = "high_cash_allocation"      # Market fearful, lots of cash on sidelines
    contrarian = "bullish"               # Cash will eventually re-enter
elif stablecoin_dominance > 8:
    signal = "moderate_cash"
    contrarian = "neutral"
elif stablecoin_dominance < 5:
    signal = "low_cash_allocation"       # Market fully invested, little dry powder
    contrarian = "bearish"               # No marginal buyers left

5. On-Chain Stablecoin Velocity

Velocity = on-chain transfer volume / supply

High velocity = stablecoins are being actively used (trading, DeFi, payments) Low velocity = stablecoins are sitting idle (holding, waiting)

python
def velocity_signal(transfer_volume_7d, supply):
    velocity = transfer_volume_7d / supply
    velocity_annualized = velocity * 52  # Weekly to annual

    if velocity_annualized > 50:
        return "high_activity"     # Very active usage, likely bull market
    elif velocity_annualized > 20:
        return "moderate_activity"
    elif velocity_annualized < 10:
        return "low_activity"      # Stablecoins idle, bear market / accumulation

6. Chain-Level Stablecoin Distribution

Track where stablecoins are flowing across different blockchains:

ChainPrimary StablecoinsWhat Inflows Signal
EthereumUSDT, USDC, DAIDeFi activity, institutional usage
TronUSDT (dominant)OTC trading, emerging market transfers
SolanaUSDCHigh-frequency DeFi, memecoin activity
ArbitrumUSDC, USDTL2 DeFi growth
BaseUSDCCoinbase ecosystem growth
BSCUSDT, FDUSDBinance ecosystem, retail trading

Cross-chain flow signals:

  • USDT migrating from Tron → Ethereum: capital moving from OTC/P2P to DeFi (more sophisticated usage)
  • Stablecoins flooding into Solana: memecoin season / speculative frenzy
  • Stablecoins moving to L2s (Arbitrum, Base, Optimism): DeFi activity shifting to lower-cost chains

7. Composite Stablecoin Signal

python
stablecoin_score = {
    "supply_growth": 0,           # -2 to +2: 30-day total supply change
    "mint_burn_net": 0,           # -2 to +2: recent large mint/burn events
    "exchange_reserves": 0,       # -2 to +2: exchange stablecoin reserve change
    "dominance": 0,               # -2 to +2: stablecoin dominance level (contrarian)
    "velocity": 0,                # -2 to +2: on-chain activity level
}
# Total range: -10 to +10
# > +5: strong liquidity expansion → bullish for crypto
# +2 to +5: moderate inflow → mild bullish
# -2 to +2: neutral
# < -2: liquidity contraction → bearish
# < -5: capital flight → strong bearish

Data Sources

SourceAccessData Available
DeFi Llama (Stablecoins page)FreeTotal supply by chain, mint/burn history
GlassnodePaid (limited free)Exchange reserves, on-chain velocity
CryptoQuantPaid (limited free)Exchange stablecoin reserves, flow metrics
Tether TransparencyFreeUSDT reserves and attestation
Circle USDC StatsFreeUSDC supply and redemption data
Dune AnalyticsFreeCustom stablecoin queries
NansenPaidSmart money stablecoin flows

Use read_url tool to access web-based data sources.

Output Format

## Stablecoin Flow Analysis — [Date Range]

### Supply Overview
| Stablecoin | Supply | 7d Change | 30d Change |
|------------|--------|-----------|------------|
| USDT | $XXX B | +X.X% | +X.X% |
| USDC | $XX B | +X.X% | +X.X% |
| Total | $XXX B | +X.X% | +X.X% |

### Mint/Burn Events (7 days)
- **Net minting**: +$X.X B
- **Largest events**: [Tether minted $500M on DATE, Circle burned $200M on DATE]
- **Signal**: [large capital inflow / mild / outflow]

### Exchange Reserves
- **Total stablecoins on exchanges**: $XX B
- **7d change**: [+/- X.X%]
- **Interpretation**: [buy power accumulating / deployed / withdrawn]

### Stablecoin Dominance
- **Current**: X.X%
- **30d ago**: X.X%
- **Signal**: [high cash = contrarian bullish / low cash = contrarian bearish]

### Chain Distribution Shifts
- **Inflow chains**: [Solana +$XM, Arbitrum +$XM]
- **Outflow chains**: [Tron -$XM]
- **Interpretation**: [DeFi expansion / speculative activity / capital consolidation]

### Composite Signal
| Dimension | Score (-2~+2) | Basis |
|-----------|---------------|-------|
| Supply growth | +2 | +4% in 30 days |
| Mint/burn | +1 | Net $1.2B minted this week |
| Exchange reserves | +1 | Reserves up 3% |
| Dominance | 0 | 8.5%, neutral range |
| Velocity | +1 | Rising on-chain activity |

### Market Implication
- **Liquidity outlook**: [expanding / stable / contracting]
- **Direction**: [bullish / neutral / bearish]
- **Key watch**: [next large mint event, USDC/USDT ratio trend]

Notes

  • Stablecoin supply data is publicly verifiable on-chain; it is one of the most transparent indicators in crypto
  • USDT on Tron is heavily used for OTC and P2P trading in emerging markets; it does not necessarily correlate with exchange trading activity
  • "Pre-minting" by Tether (minting to Tether treasury before distributing) creates false positive signals; track only exchange-deployed mints
  • Stablecoin depegging events (e.g., USDC in March 2023) create temporary but severe market disruptions
  • Regulatory actions on stablecoin issuers (BUSD shutdown, USDC regulatory clarity) can trigger supply shifts between stablecoins
  • This framework is for research purposes only and does not constitute investment advice

Preguntas frecuentes

¿Qué hace la habilidad de IA Stablecoin Flow?

Stablecoin supply and flow analysis — USDT/USDC mint-burn signals, exchange stablecoin reserves, on-chain stablecoin velocity, and capital rotation indicators for crypto market timing.

¿Por qué usar Stablecoin Flow en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Stablecoin Flow está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Stablecoin Flow en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/stablecoin-flow. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Stablecoin Flow?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Stablecoin Flow?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Stablecoin Flow con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Stablecoin Flow?

Sí. HKUDS la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇