Stablecoin Flow logo

Stablecoin Flow

OrganizationPopular
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.

Overview

PublisherHKUDS
RepositoryVibe-Trading
Skill namestablecoin-flow
Stars
35.2K
Forks
5.7K
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by HKUDS on GitHub. Read the source before you install it.

Installation

Install the Stablecoin Flow AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/stablecoin-flow
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Stablecoin Flow in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Stablecoin Flow on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Stablecoin Flow is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Frequently asked questions

What does the Stablecoin Flow AI skill do?

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.

Why use Stablecoin Flow on TypingMind?

Because you install it once and use it with any model. Stablecoin Flow is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Stablecoin Flow in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/stablecoin-flow. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Stablecoin Flow?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Stablecoin Flow?

As many as you like. As long as a model supports skills, you can use Stablecoin Flow with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Stablecoin Flow AI skill free?

Yes. It is published on GitHub by HKUDS under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇