Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Calls the Majestify API to compute institutional-grade risk metrics for crypto assets, including Sharpe, Sortino, VaR, CVaR, and max drawdown. Classifies each asset as IMMORTAL, MORTAL, or CRITICAL based on its risk profile. Outputs machine-readable JSON to stderr for agent pipelines.
Provides multi-metric risk classification in a single API call with no local dependencies, replacing ad-hoc price checks with statistically grounded survival tiers.
When to use it
- Screening a crypto portfolio for high-risk positions before rebalancing
- Automating agent decisions on whether to hold or hedge a token
- Comparing drawdown risk across multiple coins over a 90-day window
- Flagging CRITICAL assets in a treasury management workflow
- Piping vitality scores into a downstream portfolio optimizer
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: assess the vitality of bitcoin, ethereum, and solana over the last 90 days
- 1Runs assess_vitality.py with --coins bitcoin ethereum solana --days 90
- 2Sends request to Majestify crypto-health-hub API for each asset
- 3Receives Sharpe, Sortino, VaR, CVaR, drawdown, and return metrics
- 4Applies tier classification logic to each asset
- 5Emits structured JSON to stderr and human-readable summary to stdout
JSON report classifying each coin as IMMORTAL, MORTAL, or CRITICAL with supporting metric values
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.