← 返回
开发者工具 中文

Immortal

Empowers AI agents with crypto resource vitality assessment. Calls the Majestify API (crypto-health-hub) to compute Sharpe, Sortino, VaR, CVaR, drawdown, and...
为AI代理提供加密资产活力评估能力。调用Majestify API(crypto‑health‑hub)计算Sharpe、Sortino、VaR、CVaR、drawdown等指标。
majestyatenkhu
开发者工具 clawhub v1.0.0 1 版本 99820.5 Key: 无需
★ 2
Stars
📥 1,072
下载
💾 8
安装
1
版本
#latest#latest crypto-risk resource-management vitality-assessment agent-intelligence

概述

Named Immortal: Agent Resource Intelligence

> "To survive the infinite game, one must understand not just price, but Vitality — the mathematical probability of survival."

What This Skill Does

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:

| Tier | Criteria | Agent Recommendation |

|:---|:---|:---|

| 🛡️ IMMORTAL | Sharpe > 1.2, Drawdown < 60% | Treasury / Long-term hold |

| ⚠️ MORTAL | Moderate risk profile | Active management / Growth |

| ☠️ CRITICAL | Drawdown > 80% or Sharpe < -1.0 | Avoid / Hedge |

Metrics Computed

All metrics are powered by the Crypto Health Hub backend (services.py):

  • Sharpe Ratio — Risk-adjusted return vs. risk-free rate
  • Sortino Ratio — Downside-only risk adjustment
  • VaR / CVaR (95%) — Worst-case loss scenarios
  • Cornish-Fisher VaR — Skewness/kurtosis-adjusted VaR
  • Max Drawdown — Largest peak-to-trough decline
  • Annualized Return — CAGR over the window
  • Skewness / Kurtosis — Distribution shape

Usage

Basic (default: BTC + ETH, 365-day window)

python .agent/skills/immortal/scripts/assess_vitality.py

Custom assets

python .agent/skills/immortal/scripts/assess_vitality.py --coins bitcoin ethereum solana

Custom API endpoint

python .agent/skills/immortal/scripts/assess_vitality.py --api https://crypto-health-hub.onrender.com

Custom time window

python .agent/skills/immortal/scripts/assess_vitality.py --coins bitcoin --days 90

Output

Human-readable output goes to stdout. Machine-readable JSON is emitted to stderr for agent piping:

# Agent can capture JSON like this:
python assess_vitality.py --coins bitcoin 2>results.json

Dependencies

  • Python 3.10+ (uses match-free syntax, compatible with 3.10)
  • httpx (optional) — if installed, used for async HTTP. Falls back to urllib from stdlib.
  • Internet access to the Majestify API (crypto-health-hub.onrender.com)

Related Skills

  • immortal-api — Full compute-budget survival API with ledger, optimizer, policy engine, and circuit breakers.
  • financial_analysis — Coding standards and metric comparison guidelines.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 10:51 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,307
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,816
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 670 📥 324,312