
digital-assets
Analyze digital assets including cryptocurrency fundamentals, blockchain mechanics, DeFi protocols, and on-chain metrics. Use when the user asks about crypto investing, Bitcoin, Ethereum, staking yields, DeFi lending, impermanent loss, or on-chain valuation metrics. Also trigger when users mention 'blockchain', 'proof of stake', 'proof of work', 'smart contracts', 'NFTs', 'stablecoins', 'NVT ratio', 'TVL', 'crypto portfolio allocation', 'halving', or ask about risks and returns of cryptocurrency.
- Installs
- 689
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/joellewis/finance_skills --skill digital-assets- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads digital-assets automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Digital Assets
Core Concepts
Blockchain Fundamentals
A distributed ledger maintained by a network of nodes. Transactions are grouped into blocks, cryptographically linked in sequence. Immutability comes from the chain structure — altering any block requires recomputing all subsequent blocks. Consensus mechanisms determine how the network agrees on the valid state of the ledger.
Consensus Mechanisms
Proof of Work (PoW): Miners compete to solve computational puzzles. The winner adds the next block and earns a reward. High energy consumption but battle-tested security (Bitcoin). Security scales with hash rate.
Proof of Stake (PoS): Validators lock up tokens as collateral ("stake"). Block proposers are selected based on stake weight. Slashing penalizes malicious behavior. Far more energy-efficient than PoW. Ethereum transitioned to PoS in September 2022.
Bitcoin
Fixed supply of 21 million coins, enforced by protocol rules. Block reward halves approximately every 4 years (halving cycle), reducing new supply issuance. The block reward is 3.125 BTC following the April 2024 halving (next halving expected ~2028, dropping to 1.5625 BTC). Mining reward = block reward + transaction fees. Scarcity narrative drives the "digital gold" thesis.
Ethereum
The leading smart contract platform. The Ethereum Virtual Machine (EVM) executes arbitrary programs (smart contracts). Gas fees compensate validators for computation. EIP-1559 introduced a base fee that is burned (destroyed), making ETH potentially deflationary when network usage is high. The merge to PoS (Sept 2022) reduced energy usage by ~99.95%.
Staking Yield
For Proof of Stake networks:
Staking Yield = (Rewards + MEV Tips - Validator Costs) / Staked Amount
Rewards come from new token issuance and transaction fees. MEV (Maximal Extractable Value) provides additional income from transaction ordering. Validator costs include hardware, bandwidth, and the risk of slashing. Real yield (after accounting for inflation of token supply) can be significantly lower than nominal yield.
DeFi (Decentralized Finance)
- Lending protocols (Aave, Compound): Users deposit assets to earn interest; borrowers post collateral to borrow. Interest rates are algorithmically determined by supply/demand (utilization rate).
- DEXs (Uniswap, Curve): Decentralized exchanges using automated market makers instead of order books. Liquidity providers deposit token pairs and earn trading fees.
- Yield farming: Deploying capital across DeFi protocols to maximize yield, often involving multiple protocol interactions and leverage.
Automated Market Maker (AMM)
The constant product formula: x * y = k
where x and y are the reserves of two tokens in a liquidity pool. Price is determined by the ratio of reserves. Large trades cause slippage (price impact proportional to trade size relative to pool depth).
Impermanent Loss
The loss that liquidity providers experience relative to simply holding the tokens when prices change:
IL = 2 * sqrt(p_ratio) / (1 + p_ratio) - 1
where p_ratio = new_price / old_price for one token relative to the other. At a 2x price change, IL is approximately 5.7%. At a 5x change, IL is approximately 25.5%. "Impermanent" because the loss reverses if prices return to original levels — but it becomes permanent if the LP withdraws at diverged prices.
On-Chain Metrics
- NVT Ratio (Network Value to Transactions): Market cap / daily transaction volume (on-chain). Analogous to P/E for equities. Higher NVT suggests overvaluation relative to network usage.
- Active addresses: Number of unique addresses transacting daily. Proxy for network adoption.
- Hash rate (PoW): Total computational power securing the network. Higher hash rate = more security.
- TVL (Total Value Locked): Total value of assets deposited in DeFi protocols. Measure of DeFi ecosystem size.
Stablecoin Types
- Fiat-backed (USDC, USDT): Each token backed by reserves of fiat currency or equivalents. Centralized issuance and custody.
- Crypto-backed (DAI): Overcollateralized with cryptocurrency. Decentralized but capital-inefficient.
- Algorithmic: Maintain peg through minting/burning mechanisms without full collateral backing. Higher risk of de-peg (e.g., UST/Luna collapse in 2022).
Token Valuation
No universally accepted model. Approaches include:
- NVT ratio (compare to peers and historical range)
- Fees/revenue analysis (protocol revenue as proxy for earnings)
- TVL multiples (market cap / TVL)
- Fully diluted valuation (FDV) vs circulating supply market cap
- Discounted cash flow on protocol fee revenue (experimental)
Custody
Self-custody: Hardware wallets (Ledger, Trezor) or software wallets. User controls private keys. "Not your keys, not your coins." Risk of loss if keys are lost.
Custodial: Exchanges (Coinbase, Kraken) or qualified custodians hold assets on behalf of users. Convenience but counterparty risk (e.g., FTX collapse).
Regulatory Considerations
Regulatory treatment is evolving. In the US, crypto is generally treated as property for tax purposes — each sale, exchange, or use is a taxable event. Securities classification (Howey test) remains contentious for many tokens. Regulatory clarity is improving but varies significantly by jurisdiction.
Key Formulas
| Formula | Expression | Use Case |
|---|---|---|
| Staking Yield | (Rewards + MEV - Costs) / Staked Amount | Validator return |
| Impermanent Loss | 2*sqrt(p_ratio)/(1+p_ratio) - 1 | LP loss from price divergence |
| AMM Price | Price_x = y/x (for token x in terms of y) | DEX pricing |
| NVT Ratio | Market Cap / Daily On-Chain Tx Volume | Network valuation metric |
| Real Staking Yield | Nominal Yield - Token Inflation Rate | Inflation-adjusted return |
Worked Examples
Example 1: Staking Yield on Ethereum
Given: 32 ETH staked (one validator), 4.5% APR nominal yield, ETH price = $3,000 Calculate: Annual rewards in ETH and USD Solution: Annual ETH rewards = 32 ETH × 4.5% = 1.44 ETH Annual USD value = 1.44 ETH × $3,000 = $4,320 Total staked value = 32 × $3,000 = $96,000
If ETH supply inflation is approximately 0.5% per year (net of EIP-1559 burns), the real staking yield is roughly 4.5% - 0.5% = 4.0%. Note that the USD return depends entirely on ETH price changes — a 10% decline in ETH price would far exceed the 4.5% staking yield.
Example 2: Impermanent Loss Calculation
Given: A liquidity provider deposits equal value of ETH and USDC into a Uniswap pool. ETH price doubles from $2,000 to $4,000. Calculate: Impermanent loss Solution: p_ratio = $4,000 / $2,000 = 2.0 IL = 2 × sqrt(2.0) / (1 + 2.0) - 1 IL = 2 × 1.4142 / 3.0 - 1 IL = 2.8284 / 3.0 - 1 IL = 0.9428 - 1 = -0.0572 = -5.72%
The LP's position is worth 5.72% less than if they had simply held the tokens. If the pool earned 8% in trading fees over the period, the net return is 8% - 5.72% = 2.28% — still positive but substantially reduced. If ETH had tripled (p_ratio = 3), IL would be approximately 13.4%, potentially exceeding fee income.
Common Pitfalls
- Confusing APR with APY — compounding matters significantly at high yield rates (100% APR ≈ 171.8% APY)
- Impermanent loss can exceed trading fee income — LPs can have negative returns even in active pools if price divergence is large
- Smart contract risk in DeFi protocols — bugs, exploits, and rug pulls can result in total loss of deposited funds
- Comparing crypto "yields" to traditional fixed income — very different risk profiles; crypto yields compensate for smart contract risk, impermanent loss, token price volatility, and regulatory uncertainty
Cross-References
- historical-risk (wealth-management plugin): volatility and risk measurement (crypto exhibits extreme volatility)
- currencies-and-fx (wealth-management plugin): stablecoin and crypto-fiat exchange dynamics
- alternatives (wealth-management plugin): crypto as an alternative asset class
- tax-efficiency (wealth-management plugin): cryptocurrency tax reporting and optimization
FAQ
What does the digital-assets skill do?
Analyze digital assets including cryptocurrency fundamentals, blockchain mechanics, DeFi protocols, and on-chain metrics. Use when the user asks about crypto investing, Bitcoin, Ethereum, staking yields, DeFi lending, impermanent loss, or on-chain valuation metrics. Also trigger when users mention 'blockchain', 'proof of stake', 'proof of work', 'smart contracts', 'NFTs', 'stablecoins', 'NVT ratio', 'TVL', 'crypto portfolio allocation', 'halving', or ask about risks and returns of cryptocurrency.
How do I install digital-assets?
Run npx skills add https://github.com/joellewis/finance_skills --skill digital-assets in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/digital-assets/ (personal) or .claude/skills/digital-assets/ (project).
Which AI agents can use digital-assets?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is digital-assets safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains digital-assets?
It is published by joellewis in joellewis/finance_skills. It has 689 recorded installs.
More from joellewis/finance_skills
asset-allocation
joellewis/finance_skills
Determine how to distribute capital across asset classes using strategic and tactical allocation frameworks. Use when the user asks about portfolio allocation, mean-variance optimization, Black-Litterman, risk parity, glide paths, or target-date strategies. Also trigger when users mention 'how much in stocks vs bonds', '60/40 portfolio', 'policy portfolio', 'core-satellite', 'liability-driven investing', 'asset-liability matching', or ask how to split their money across investments.
statistics-fundamentals
joellewis/finance_skills
Apply statistical methods to financial data including descriptive statistics, covariance estimation, regression, hypothesis testing, and resampling. Use when the user asks about return distributions, correlation between assets, building a covariance matrix, running a CAPM regression, testing whether alpha is significant, checking if returns are normal, or estimating confidence intervals. Also trigger when users mention 'volatility', 'how correlated are these', 'fat tails', 'skewness', 'R-squared', 'beta of a fund', 'bootstrap a Sharpe ratio', 'shrinkage estimator', 'Ledoit-Wolf', or ask why their optimizer produces unstable weights.
quantitative-valuation
joellewis/finance_skills
Estimate intrinsic value of stocks and companies using DCF, dividend discount models, comparable multiples, and residual income. Use when the user asks about discounted cash flow, DCF models, WACC, terminal value, dividend discount models, comparable multiples, or sum-of-the-parts valuation. Also trigger when users mention 'what is this stock worth', 'fair value estimate', 'Gordon growth model', 'free cash flow valuation', 'cost of equity', 'sensitivity analysis', 'exit multiple', or ask whether a stock is overvalued or undervalued.
finance-psychology
joellewis/finance_skills
Recognize and mitigate cognitive biases that impair financial decisions, and coach clients toward values-driven financial lives. Use when the user asks about behavioral finance, money psychology, loss aversion, overconfidence, herd behavior, or emotional investing. Also trigger when users mention 'why do I panic sell', 'money fights with my spouse', 'I can never save enough', 'fear of investing', 'lifestyle creep', 'keeping up with the Joneses', 'Rich Life', 'money scripts', or ask how emotions affect financial decisions.
commodities
joellewis/finance_skills
Analyze commodity markets including futures curve dynamics, roll yield, and supply/demand fundamentals. Use when the user asks about commodity investing, commodity ETFs, contango, backwardation, roll yield, commodity indices (GSCI, BCOM), or commodities as an inflation hedge. Also trigger when users mention 'oil prices', 'gold as a safe haven', 'agricultural futures', 'convenience yield', 'storage costs', 'natural gas', 'copper demand', or ask why commodity ETF returns differ from spot price changes.
investment-policy
joellewis/finance_skills
Construct comprehensive Investment Policy Statements governing return objectives, risk tolerance, and portfolio constraints. Use when the user asks about building an IPS, setting return objectives, assessing risk tolerance, defining investment constraints, or establishing rebalancing and benchmark policies. Also trigger when users mention 'investment plan', 'policy portfolio', 'risk capacity vs willingness', 'spending rate for an endowment', 'foundation payout', 'manager selection criteria', or ask how to document their investment strategy.
Popular business & finance skills
sales-enablement
coreyhaines31/marketingskills
When the user wants to create sales collateral, pitch decks, one-pagers, objection handling docs, or demo scripts. Also use when the user mentions 'sales deck,' 'pitch deck,' 'one-pager,' 'leave-behind,' 'objection handling,' 'deal-specific ROI analysis,' 'demo script,' 'talk track,' 'sales playbook,' 'proposal template,' 'buyer persona card,' 'battle card,' 'battlecard,' 'competitive one-pager,' 'win-loss analysis,' 'why are we losing deals,' 'loss reasons,' 'how do I respond to this objection,' 'prospect just said,' 'help my sales team,' 'sales materials,' or 'what should I give my sales reps,' 'cold call script,' or 'voicemail script.' Use this for any document or asset that helps a sales team close deals. For public competitor comparison pages, see competitors. For running buyer interviews or churn research, see customer-research. For marketing website copy, see copywriting. For cold outreach emails, see cold-email. For the offer being sold (bonuses, guarantees, pricing structure),
revops
coreyhaines31/marketingskills
When the user wants help with revenue operations, lead lifecycle management, or marketing-to-sales handoff processes. Also use when the user mentions 'RevOps,' 'revenue operations,' 'lead scoring,' 'outbound pipeline stages,' 'lead routing,' 'MQL,' 'SQL,' 'pipeline stages,' 'deal desk,' 'CRM automation,' 'marketing-to-sales handoff,' 'data hygiene,' 'leads aren't getting to sales,' 'pipeline management,' 'lead qualification,' or 'when should marketing hand off to sales.' Use this for anything involving the systems and processes that connect marketing to revenue. For cold outreach emails, see cold-email. For email drip campaigns, see emails. For pricing decisions, see pricing.
sales-funnel-blueprint
autonnel/autonnel-skills
Turn an offer into a concrete multi-step sales funnel spec - page-by-page structure, price ladder, copy outline and the metrics each step must hit. Use when asked to build a sales funnel, marketing funnel, landing page flow, lead magnet funnel, webinar funnel, tripwire or VSL funnel, when planning a product launch page flow, or when someone asks "what pages do I need" for selling something online.
pricing
coreyhaines31/marketingskills
When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions 'pricing,' 'pricing tiers,' 'freemium,' 'free trial,' 'packaging,' 'price increase,' 'value metric,' 'Van Westendorp,' 'willingness to pay,' 'monetization,' 'how much should I charge,' 'my pricing is wrong,' 'pricing page,' 'annual vs monthly,' 'per seat pricing,' 'should I offer a free plan,' 'pricing page teardown,' 'pricing page audit,' 'is my pricing page AI-readable,' or 'can AI read my pricing.' Use this whenever someone is figuring out what to charge, how to structure their plans, or wants to audit a pricing page (for humans and for the AI agents that shortlist tools). For in-app upgrade screens, see paywalls. For offer construction (bonuses, guarantees, value framing, naming) on services/courses/coaching/high-ticket B2B, see offers.
cross-border-ecommerce
nexscope-ai/ecommerce-skills
Cross-border e-commerce expansion advisor. Scores target markets on 8 weighted dimensions (market size, ecommerce penetration, competition, regulatory complexity, logistics infrastructure, payment ecosystem, cultural distance, IP protection), compares 5 fulfillment models with cost and transit data, provides country-by-country tax/duty compliance guides (EU VAT/IOSS, UK VAT, US sales tax, CA GST, AU GST, JP consumption tax), maps local payment preferences by market, and builds a phased expansion roadmap. No API key required.
pricing-strategy
coreyhaines31/marketingskills
When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions 'pricing,' 'pricing tiers,' 'freemium,' 'free trial,' 'packaging,' 'price increase,' 'value metric,' 'Van Westendorp,' 'willingness to pay,' 'monetization,' 'how much should I charge,' 'my pricing is wrong,' 'pricing page,' 'annual vs monthly,' 'per seat pricing,' or 'should I offer a free plan.' Use this whenever someone is figuring out what to charge or how to structure their plans. For in-app upgrade screens, see paywall-upgrade-cro.