xiaohongshu
xiaohongshu
llama-analyst
DeFi fundamentals and cross-chain analytics using DefiLlama-style data. Use when you want to find undervalued protocols, screen by TVL/revenue growth vs token price, compare sectors, or run data-driven crypto research beyond pure memes.
Full skill instructions
Inspired by tools like LlamaAI (Dynamo DeFi walkthrough), this skill focuses on systematic, data-first crypto investing instead of pure narrative or meme trading.
Use this skill when:
<predictive_analytics> AI/ML Capabilities for Fundamentals:
interface TVLPrediction {
protocol: string;
current_tvl: number;
predicted_tvl_7d: number;
predicted_tvl_30d: number;
confidence: number;
features_used: string[];
model: 'lstm' | 'arima' | 'ensemble';
}
Signals Generated:
interface DivergenceSignal {
protocol: string;
revenue_growth_90d: number;
price_change_90d: number;
divergence_score: number; // Positive = undervalued
similar_historical_cases: HistoricalCase[];
expected_catch_up: number; // % price move to close gap
}
Detection Logic:
Divergence Score = (Revenue Growth % - Price Change %) * Correlation Factor
If Divergence > 50: Strong undervaluation signal
If Divergence < -50: Strong overvaluation signal
interface SectorRotation {
from_sector: string;
to_sector: string;
flow_volume: number;
rotation_strength: number; // 0-1
time_horizon: '1w' | '1m' | '3m';
confidence: number;
}
Indicators Used:
interface ProtocolHealthScore {
protocol: string;
overall_score: number; // 0-100
components: {
growth_score: number; // TVL + revenue growth
efficiency_score: number; // Revenue/TVL ratio
stability_score: number; // Volatility, consistency
adoption_score: number; // User growth, retention
risk_score: number; // Concentration, dependencies
};
trend: 'improving' | 'stable' | 'declining';
alerts: string[];
}
Output Format:
PROTOCOL HEALTH: Raydium
══════════════════════════════
OVERALL SCORE: 78/100 (↑ +5 from 30d ago)
COMPONENTS:
├─ Growth: 82/100 (TVL +15%, revenue +22%)
├─ Efficiency: 75/100 (0.8% rev/TVL, above median)
├─ Stability: 71/100 (moderate volatility)
├─ Adoption: 85/100 (users +18%, retention 65%)
└─ Risk: 79/100 (diversified, no concentration)
TREND: IMPROVING
├─ Revenue outpacing TVL growth
├─ User retention above sector average
├─ No concerning dependencies detected
ML PREDICTION:
├─ 30d TVL: +8-12% (confidence: 72%)
├─ 30d Revenue: +15-20% (confidence: 68%)
└─ Divergence Status: UNDERVALUED (price lagging fundamentals)
SIMILAR PROTOCOLS HISTORICALLY:
When protocols showed this pattern, 70% saw
price appreciation of 40-80% within 60 days.
</predictive_analytics>
<adaptive_learning> Model Performance Tracking:
interface ModelPerformance {
model_id: string;
predictions_made: number;
accuracy_30d: number;
accuracy_90d: number;
last_retrained: Date;
data_quality_score: number;
}
Adaptation Triggers:
Feedback Loop:
Prediction → Outcome Tracked → Error Analysis
↑ ↓
Model Weights Updated ← Feature Importance Review
Weekly Model Review:
<data_pipeline> Data Sources (via data-orchestrator):
| Source | Data Type | Update Frequency | Quality |
|---|---|---|---|
| DefiLlama API | TVL, revenue, yields | 15 min | 92/100 |
| Dune Analytics | Custom queries | Hourly | 90/100 |
| Token Terminal | Revenue, P/E | Daily | 95/100 |
| Chain-specific RPCs | Real-time metrics | Real-time | 98/100 |
Data Quality Requirements:
Pipeline Architecture:
DefiLlama → Validation → Enrichment → Feature Store → ML Models
↓ ↓
Cache ←───────── API Response ←──── Predictions
</data_pipeline>
<screening_queries> Pre-built ML-Enhanced Screens:
# Find undervalued protocols (ML divergence detector)
npx tsx .claude/skills/llama-analyst/scripts/screener.ts \
--screen divergence_undervalued \
--min-tvl 10000000 \
--sector defi
# Predict sector rotation
npx tsx .claude/skills/llama-analyst/scripts/screener.ts \
--screen sector_rotation \
--lookback 30d \
--prediction-horizon 7d
# Protocol health ranking
npx tsx .claude/skills/llama-analyst/scripts/screener.ts \
--screen health_score \
--top 20 \
--sort-by overall_score
# TVL momentum detection
npx tsx .claude/skills/llama-analyst/scripts/screener.ts \
--screen tvl_momentum \
--threshold inflection \
--chain solana
Custom Query Builder:
interface ScreenerQuery {
filters: {
min_tvl?: number;
max_tvl?: number;
min_revenue_growth?: number;
sectors?: string[];
chains?: string[];
};
sort_by: 'health_score' | 'divergence' | 'tvl_growth' | 'revenue_efficiency';
ml_enhancements: {
include_predictions: boolean;
include_health_score: boolean;
include_similar_cases: boolean;
};
limit: number;
}
</screening_queries>
# Get protocol health score
npx tsx .claude/skills/llama-analyst/scripts/health-score.ts \
--protocol raydium \
--include-prediction
# Run divergence analysis
npx tsx .claude/skills/llama-analyst/scripts/divergence.ts \
--lookback 90d \
--min-divergence 30
# Sector rotation analysis
npx tsx .claude/skills/llama-analyst/scripts/sector-rotation.ts \
--timeframe 30d \
--predict-horizon 7d
# Full fundamentals report
npx tsx .claude/skills/llama-analyst/scripts/full-report.ts \
--protocol jupiter \
--include-ml \
--format detailed
<see_also>
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience