Install
$ agentstack add skill-brainbytes-dev-everything-claude-trading-on-chain-analytics ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
On-Chain Analytics
When to Activate
- Analyzing blockchain data for trading signals (whale movements, exchange flows, network health)
- Evaluating crypto asset fundamentals using on-chain metrics
- Building or interpreting dashboards from Glassnode, Nansen, Dune Analytics, or similar platforms
- Assessing market structure through wallet clustering and entity behavior
Core Concepts
Blockchain Data Layers
- Raw transaction data — inputs, outputs, gas, timestamps, contract interactions
- Derived metrics — aggregated statistics computed from raw data (active addresses, transfer volume)
- Entity-level analytics — clustering addresses into wallets, labeling exchanges, funds, whales
- Behavioral signals — interpreting entity actions as bullish/bearish indicators
Key On-Chain Metrics
Supply Metrics:
- Circulating supply — tokens that have moved within a lookback window (e.g., 1 year)
- Realized cap — sum of each UTXO valued at the price when it last moved; smooths out speculative premium
- MVRV ratio — Market Value / Realized Value; above 3.5 historically signals overheating, below 1.0 signals deep value
- NUPL (Net Unrealized Profit/Loss) — aggregate unrealized gains across all holders; >0.75 = euphoria, 150 historically overvalued for BTC
Mining/Staking:
- Hash rate — total computational power securing PoW networks; sustained drops signal miner capitulation
- Hash ribbons — 30-day MA crossing below 60-day MA of hash rate; historically strong buy signal when ribbons recover
- Staking ratio — percentage of supply staked; higher ratio reduces liquid supply but may indicate complacency
Exchange Flow Analysis
Inflow/Outflow Framework:
- Exchange inflow — tokens moving to exchange wallets; signals potential selling pressure
- Exchange outflow — tokens leaving exchanges; signals accumulation/cold storage
- Net flow — inflow minus outflow; sustained negative net flow is structurally bullish
- Exchange reserve — total tokens held on exchanges; declining reserves reduce available sell-side liquidity
Whale Tracking:
- Define whale thresholds by asset (BTC: >1000 BTC, ETH: >10,000 ETH)
- Track whale-to-exchange transfers as potential distribution signals
- Monitor whale accumulation addresses (exchange-to-whale flows)
- Nansen "Smart Money" labels track wallets with historically profitable behavior
Wallet Clustering and Entity Analysis
Clustering Methods:
- Common input heuristic — addresses used as inputs in the same transaction likely belong to the same entity
- Change address detection — identifying change outputs to group with sending addresses
- Timing analysis — addresses that consistently transact together
- Contract interaction patterns — wallets interacting with same DeFi protocols in similar patterns
Entity Categories:
- Exchanges (labeled by Chainalysis, Nansen, Arkham)
- Mining pools and miners
- DeFi protocols and their treasuries
- Institutional custodians
- Known fund wallets (a16z, Paradigm, etc.)
Methodology
Signal Construction Process
- Data ingestion — pull raw data from node, indexer (The Graph), or analytics API
- Metric computation — calculate derived metrics with appropriate lookback windows
- Normalization — z-score or percentile rank metrics against historical distribution
- Signal generation — define thresholds or regime boundaries for actionable signals
- Confluence — combine multiple on-chain signals; require 3+ confirmations for high conviction
Practical Analysis Workflow
Step 1: Check exchange net flows (are tokens leaving exchanges?)
Step 2: Review MVRV and NUPL (are we in overvalued or undervalued territory?)
Step 3: Examine active address trends (is adoption growing or shrinking?)
Step 4: Monitor whale behavior (accumulating or distributing?)
Step 5: Cross-reference with funding rates and derivatives data
Step 6: Synthesize into a directional bias with confidence level
Data Source Hierarchy
- Tier 1 (most reliable): Running your own full node, parsing raw blocks
- Tier 2: Indexed data providers (The Graph, Bitquery, Flipside)
- Tier 3: Analytics platforms (Glassnode, Nansen, CryptoQuant, IntoTheBlock)
- Tier 4: Social/aggregated dashboards (Dune community queries, DefiLlama)
Examples
Example 1: BTC Accumulation Signal
Observation:
- Exchange reserves declining for 30+ consecutive days
- MVRV at 0.85 (below realized value)
- Whale addresses (>1000 BTC) increasing in count
- Hash ribbons recovering after miner capitulation
Assessment: Strong accumulation phase. Multiple on-chain metrics align
with historical bear market bottoms. High conviction long bias.
Example 2: ETH Distribution Warning
Observation:
- Large exchange inflows from top-100 wallets (3 consecutive days)
- NVT Signal at 180 (historically overvalued zone)
- NUPL at 0.72 (approaching euphoria)
- New address growth flattening despite price increase
Assessment: Distribution signals emerging. Price appreciation not
supported by network growth. Reduce position size, tighten stops.
Example 3: Stablecoin Supply Expansion
Observation:
- USDT and USDC combined market cap increasing $2B in 7 days
- Stablecoin exchange reserves rising (dry powder accumulating)
- Stablecoin dominance declining from recent highs
Assessment: Capital inflow into crypto ecosystem via stablecoins.
Historically precedes risk-on rallies. Watch for deployment into
BTC/ETH as confirmation.
Quality Gate
Before acting on on-chain signals, verify:
- [ ] Data source is reliable and up-to-date (check for indexing lag, typically 1-6 blocks)
- [ ] Metrics are calculated with appropriate lookback windows (avoid recency bias)
- [ ] Whale movements are confirmed across multiple tracking platforms (avoid false labels)
- [ ] Exchange flow data accounts for internal transfers and wallet rotations (exchanges regularly reshuffle hot/cold wallets)
- [ ] On-chain signals are corroborated by at least one other data domain (derivatives, sentiment, or price action)
- [ ] Contextual factors considered — protocol upgrades, airdrops, and bridge activity can distort on-chain metrics
- [ ] Time horizon matches the signal frequency — on-chain metrics are typically medium-term (weeks to months), not intraday
- [ ] Account for chain-specific nuances — UTXO vs account model, L1 vs L2 activity
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: brainbytes-dev
- Source: brainbytes-dev/everything-claude-trading
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.