Immortal
/install immortal
\r \r
Named Immortal: Agent Resource Intelligence\r
\r
"To survive the infinite game, one must understand not just price, but Vitality — the mathematical probability of survival."\r \r
What This Skill Does\r
\r This skill gives agents the ability to assess the financial health of crypto assets by calling the live Majestify API. It calculates institutional-grade risk metrics and classifies each asset into one of three vitality tiers:\r \r | Tier | Criteria | Agent Recommendation |\r |:---|:---|:---|\r | 🛡️ IMMORTAL | Sharpe > 1.2, Drawdown \x3C 60% | Treasury / Long-term hold |\r | ⚠️ MORTAL | Moderate risk profile | Active management / Growth |\r | ☠️ CRITICAL | Drawdown > 80% or Sharpe \x3C -1.0 | Avoid / Hedge |\r \r
Metrics Computed\r
\r
All metrics are powered by the Crypto Health Hub backend (services.py):\r
\r
- Sharpe Ratio — Risk-adjusted return vs. risk-free rate\r
- Sortino Ratio — Downside-only risk adjustment\r
- VaR / CVaR (95%) — Worst-case loss scenarios\r
- Cornish-Fisher VaR — Skewness/kurtosis-adjusted VaR\r
- Max Drawdown — Largest peak-to-trough decline\r
- Annualized Return — CAGR over the window\r
- Skewness / Kurtosis — Distribution shape\r \r
Usage\r
\r
Basic (default: BTC + ETH, 365-day window)\r
python .agent/skills/immortal/scripts/assess_vitality.py\r
```\r
\r
### Custom assets\r
```bash\r
python .agent/skills/immortal/scripts/assess_vitality.py --coins bitcoin ethereum solana\r
```\r
\r
### Custom API endpoint\r
```bash\r
python .agent/skills/immortal/scripts/assess_vitality.py --api https://crypto-health-hub.onrender.com\r
```\r
\r
### Custom time window\r
```bash\r
python .agent/skills/immortal/scripts/assess_vitality.py --coins bitcoin --days 90\r
```\r
\r
## Output\r
\r
**Human-readable** output goes to `stdout`. **Machine-readable JSON** is emitted to `stderr` for agent piping:\r
\r
```bash\r
# Agent can capture JSON like this:\r
python assess_vitality.py --coins bitcoin 2>results.json\r
```\r
\r
## Dependencies\r
\r
- **Python 3.10+** (uses `match`-free syntax, compatible with 3.10)\r
- **httpx** (optional) — if installed, used for async HTTP. Falls back to `urllib` from stdlib.\r
- **Internet access** to the Majestify API (`crypto-health-hub.onrender.com`)\r
\r
## Related Skills\r
\r
- [immortal-api](file:///.agent/skills/immortal-api/SKILL.md) — Full compute-budget survival API with ledger, optimizer, policy engine, and circuit breakers.\r
- [financial_analysis](file:///.agent/skills/financial_analysis/SKILL.md) — Coding standards and metric comparison guidelines.\r
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install immortal - 安装完成后,直接呼叫该 Skill 的名称或使用
/immortal触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Immortal 是什么?
Empowers AI agents with crypto resource vitality assessment. Calls the Majestify API (crypto-health-hub) to compute Sharpe, Sortino, VaR, CVaR, drawdown, and... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 649 次。
如何安装 Immortal?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install immortal」即可一键安装,无需额外配置。
Immortal 是免费的吗?
是的,Immortal 完全免费(开源免费),可自由下载、安装和使用。
Immortal 支持哪些平台?
Immortal 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Immortal?
由 Majesty Atenkhu(@majestyatenkhu)开发并维护,当前版本 v1.0.0。