← 返回 Skills 市场
majestyatenkhu

Immortal

作者 Majesty Atenkhu · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
649
总下载
2
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install immortal
功能描述
Empowers AI agents with crypto resource vitality assessment. Calls the Majestify API (crypto-health-hub) to compute Sharpe, Sortino, VaR, CVaR, drawdown, and...
使用说明 (SKILL.md)

\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
安全使用建议
This skill calls an external API (default: https://crypto-health-hub.onrender.com) to fetch asset metrics — it sends only asset identifiers and the requested time window and prints results. Before installing, verify you trust the external API/host (majestify.io / onrender.com) because network calls go to that service; if you prefer, run the script locally pointing at a self-hosted API using --api. Avoid supplying sensitive secrets to this skill (none are required), review the script if you need to confirm behavior, and run it in an isolated environment if you are concerned about exfiltration to a third-party endpoint.
功能分析
Type: OpenClaw Skill Name: immortal Version: 1.0.0 The skill is designed to fetch crypto asset vitality metrics from an external API. While its core functionality is benign, the `scripts/assess_vitality.py` script accepts an `--api` argument, allowing the agent to be prompted to make network requests to an arbitrary URL. This capability, without explicit input validation or restrictions on the target URL, presents a vulnerability (e.g., potential Server-Side Request Forgery or data exfiltration if pointed to a malicious endpoint) that could be exploited by a compromised agent prompt, classifying it as suspicious rather than benign due to this risky capability.
能力评估
Purpose & Capability
The name/description, SKILL.md, and the included script all describe calling the Majestify / crypto-health-hub API to compute risk metrics. No extraneous binaries, env vars, or unrelated capabilities are requested.
Instruction Scope
Runtime instructions and the script confine operations to fetching JSON from the configured API, computing classifications, printing human-readable output to stdout and JSON to stderr. The instructions do not request reading unrelated files, system secrets, or other system state.
Install Mechanism
No install spec is provided (instruction-only with an included script). The code uses stdlib urllib as a fallback and optionally httpx if present; nothing is downloaded or extracted at install time.
Credentials
No environment variables, credentials, or config paths are required. The script does not access other env vars or secrets. Network access to the API is required, which is proportional to the stated purpose.
Persistence & Privilege
The skill is not always-enabled and does not request persistent privileges or modify other skills or system configuration. Autonomous invocation is allowed (platform default) but not combined with elevated privileges here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install immortal
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /immortal 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Immortal skill provides AI agents with the capability to manage crypto resources by leveraging a robust DeFi risk intelligence powered by majestify.io.
元数据
Slug immortal
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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。

💬 留言讨论