← 返回 Skills 市场
webcraft3r

Consortium AI Analysis

作者 Web Crafter 🕸️ · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
847
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install consortiumai-analysis
功能描述
Gets the latest AI-generated crypto trading analysis (BUY / SELL / WAIT) for spot trading pairs from the Consortium AI.
使用说明 (SKILL.md)

Instructions

This skill provides on-demand, read-only access to trading analysis generated by Consortium AI.

It calls an external API and returns the most recent trading decision.
The skill does not store data, schedule jobs, or send automatic notifications.

How to run (implementation)

From the skill directory, you can call the Trading Analysis API either by making HTTP requests (see API Reference) or by running the bundled script:

  • Latest analysis (any pair):
    node scripts/trading-analysis.js
    or npm run latest
  • Latest analysis for a token:
    node scripts/trading-analysis.js \x3CTOKEN>
    or npm run token -- \x3CTOKEN>
    Example: node scripts/trading-analysis.js SOL

The script requires TRADING_ANALYSIS_API_KEY to be set. It prints the API response as JSON to stdout on success, or error JSON to stderr and exits non-zero on failure.


Setup

Set the API key as an environment variable before using this skill:

export TRADING_ANALYSIS_API_KEY=your-secret-api-key

To get an API key, contact Consortium AI on X.


API Reference

Backend API base URL: https://api.consortiumai.org

Endpoint: GET https://api.consortiumai.org/api/trading-analysis
Returns the latest trading-only AI analysis (no lending). Optional filter by base token.

Authentication

API key only (no JWT). Send the key in one of:

  • Header: x-api-key: \x3CTRADING_ANALYSIS_API_KEY>
  • Header: Authorization: Bearer \x3CTRADING_ANALYSIS_API_KEY>

Missing or invalid key → 401 with body { "success": false, "message": "Invalid or missing API key" }.

Query parameters

Parameter Type Required Description
token string No Base token symbol. When set, returns the latest analysis whose pair starts with that token (e.g. SOLSOL_USDT, SOL_USD). Examples: SOL, ETH, JUP, BTC.
  • No token: latest trading analysis overall (any pair).
  • With token: latest trading analysis for that base token only. Token is normalized (trim + uppercase).

Success response (200)

Body is trading-only. Example:

{
  "data": {
    "id": "...",
    "createdAt": "2026-02-09T14:00:00.000Z",
    "trading": {
      "action": "BUY",
      "pair": "SOL_USDT",
      "shouldExecute": true,
      "confidence": "HIGH",
      "setupScore": 78,
      "reasoning": {
        "marketCondition": "...",
        "technicalAnalysis": "...",
        "riskAssessment": "...",
        "pairSelection": "...",
        "comparativeAnalysis": { ... },
        "sentimentAndNews": { ... }
      },
      "tradeSummary": "Dual-model: BUY SOL_USDT (score: 78) – ...",
      "currentPositionsAnalysis": []
    }
  }
}
  • data.trading.action – BUY, SELL, or WAIT.
  • data.trading.pair – e.g. SOL_USDT.
  • data.trading.confidence, data.trading.setupScore, data.trading.reasoning, data.trading.tradeSummary – use these when summarizing for the user.

Error responses

Status When Body (example)
401 Missing or wrong API key { "success": false, "message": "Invalid or missing API key" }
404 No analysis in DB, or no analysis for given token { "data": { "success": false, "message": "No trading analysis found" } or "No trading analysis found for token: SOL"
500 Server/DB error { "data": { "success": false, "message": "Failed to fetch latest trading analysis", "error": "..." } }

Example requests

GET https://api.consortiumai.org/api/trading-analysis
x-api-key: \x3CTRADING_ANALYSIS_API_KEY>
GET https://api.consortiumai.org/api/trading-analysis?token=SOL
x-api-key: \x3CTRADING_ANALYSIS_API_KEY>
# Latest overall
curl -H "x-api-key: $TRADING_ANALYSIS_API_KEY" "https://api.consortiumai.org/api/trading-analysis"

# Latest for SOL
curl -H "x-api-key: $TRADING_ANALYSIS_API_KEY" "https://api.consortiumai.org/api/trading-analysis?token=SOL"

Behaviour summary

Scenario Result
Valid key, no token, at least one decision in DB 200 – latest trading analysis (any pair).
Valid key, token=SOL, at least one decision with pair like SOL_* 200 – latest trading analysis for SOL.
Valid key, token=XYZ, no decision with pair starting with XYZ_ 404 – "No trading analysis found for token: XYZ".
Valid key, no decisions in DB 404 – "No trading analysis found".
Missing or wrong API key 401 – "Invalid or missing API key".

Response always contains at most one decision (the most recent by createdAt). Trading only; no lending fields.


Available Functions

getLatestTradingAnalysis()

Purpose
Retrieve the most recent trading analysis available, regardless of trading pair.

Expected Behavior

  • Sends a GET request to https://api.consortiumai.org/api/trading-analysis
  • Authenticates with x-api-key: \x3CTRADING_ANALYSIS_API_KEY> or Authorization: Bearer \x3CTRADING_ANALYSIS_API_KEY>
  • Returns the latest trading decision (by createdAt)

Use When

  • The user asks for the latest market signal
  • No specific token is mentioned

Returns

  • Trading pair (e.g. BTC_USDT)
  • Action: BUY, SELL, or WAIT
  • Confidence level
  • Setup score
  • Trade summary
  • Detailed reasoning (technical, market, risk, sentiment)

getTradingAnalysisByToken(token)

Purpose
Retrieve the most recent trading analysis for a specific base token.

Parameters

  • token (string): Base token symbol (e.g. BTC, ETH, SOL, JUP)

Expected Behavior

  • Normalizes token (trim + uppercase)
  • Sends a GET request to https://api.consortiumai.org/api/trading-analysis?token=\x3CTOKEN>
  • Authenticates with x-api-key or Authorization: Bearer using TRADING_ANALYSIS_API_KEY
  • API matches any pair whose base is that token (e.g. SOL → SOL_USDT, SOL_USD); returns the most recent matching decision

Use When

  • The user asks about a specific coin
  • The user wants a trading decision for a given token

Returns

  • Trading pair for the token
  • Action: BUY, SELL, or WAIT
  • Confidence level
  • Setup score
  • Trade summary
  • Detailed reasoning
安全使用建议
This skill's behavior (calling https://api.consortiumai.org with an API key) matches its description and the included script is readable and focused. The main problem is a metadata mismatch: the registry claims no required env vars, but the SKILL.md and script require TRADING_ANALYSIS_API_KEY. Before installing or using the skill: 1) verify the owner and the legitimacy of https://consortiumai.org and api.consortiumai.org (look for a public repo or official docs); 2) do not provide high-privilege or long-lived secrets — prefer a scoped/limited API key or an audit-only key; 3) consider running the bundled script locally yourself to confirm behavior; 4) ask the skill publisher to correct registry metadata to declare TRADING_ANALYSIS_API_KEY so the platform and users are aware a secret will be used. If you cannot verify the provider or the endpoint, treat the API key as sensitive and avoid installing the skill.
功能分析
Type: OpenClaw Skill Name: consortiumai-analysis Version: 1.0.0 The skill bundle is designed to fetch crypto trading analysis from a specific external API (api.consortiumai.org). The `SKILL.md` instructions are clear, explicitly state read-only access, and do not contain any prompt injection attempts. The `scripts/trading-analysis.js` script correctly implements this by making a GET request to the specified API, using an API key from an environment variable, and outputting the JSON response. There is no evidence of data exfiltration, malicious execution, persistence, or obfuscation. All actions are aligned with the stated purpose.
能力评估
Purpose & Capability
Skill name/description match the code and SKILL.md: both call https://api.consortiumai.org to fetch trading analysis. However, the registry metadata lists no required environment variables while the SKILL.md and the included script require TRADING_ANALYSIS_API_KEY — a clear mismatch.
Instruction Scope
SKILL.md instructions are narrowly scoped: set an API key env var and call the API or the bundled Node script. There is no instruction to read unrelated files, harvest other env vars, or send data to unexpected endpoints.
Install Mechanism
No install spec; the skill is instruction-only but includes a small bundled script. No downloads from external URLs or archive extraction are present, which is low risk. The script is plain and readable.
Credentials
Runtime requires a single API key (TRADING_ANALYSIS_API_KEY), which is proportionate; however the registry metadata does not declare this required environment variable. That omission is suspicious because users/platforms may not be informed that a secret will be used or requested. The script does not access other secrets or unrelated env vars.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system configs. It runs on-demand and only performs a single external GET request when invoked.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install consortiumai-analysis
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /consortiumai-analysis 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Consortium AI Analysis 1.0.0 – Initial release - Provides on-demand, read-only access to the latest AI-generated crypto trading analysis (BUY / SELL / WAIT) for spot trading pairs via Consortium AI. - Supports fetching the most recent analysis for any trading pair or filtered by base token. - Exposes two functions: getLatestTradingAnalysis() and getTradingAnalysisByToken(token). - Requires a TRADING_ANALYSIS_API_KEY for authentication. - Returns detailed trading decisions with action, pair, confidence, setup score, summary, and reasoning. - No automatic jobs, notifications, or data storage—API is called when requested.
元数据
Slug consortiumai-analysis
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Consortium AI Analysis 是什么?

Gets the latest AI-generated crypto trading analysis (BUY / SELL / WAIT) for spot trading pairs from the Consortium AI. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 847 次。

如何安装 Consortium AI Analysis?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install consortiumai-analysis」即可一键安装,无需额外配置。

Consortium AI Analysis 是免费的吗?

是的,Consortium AI Analysis 完全免费(开源免费),可自由下载、安装和使用。

Consortium AI Analysis 支持哪些平台?

Consortium AI Analysis 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Consortium AI Analysis?

由 Web Crafter 🕸️(@webcraft3r)开发并维护,当前版本 v1.0.0。

💬 留言讨论