Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Crypto Trading Analysis Agent

ASecurity

Minara Agent API offers crypto trading analysis, swap intent conversion, perpetual trading suggestions, and prediction market analysis. Supports API Key and x402 (pay-per-use USDC).

19 stars
0 votes
0 copies
1 views
Added 9/19/2026
ai-agentstypescriptgonodedockerapi

Works with

cliapi

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add rondoflow/rondoflow --skill crypto-trading-analysis-agent --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Crypto Trading Analysis Agent?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Crypto Trading Analysis Agent
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rondoflow-crypto-trading-analysis-agent/badge)](https://www.skillsdirectory.com/skills/rondoflow-crypto-trading-analysis-agent)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: crypto-trading-analysis-agent
description: "Minara Agent API offers crypto trading analysis, swap intent conversion, perpetual trading suggestions, and prediction market analysis. Supports API Key and x402 (pay-per-use USDC)."
category: "Finance & Crypto"
author: community
version: "1.0.0"
icon: coins
---

# Minara API

Call the [Minara Agent API](https://api.minara.ai) for crypto trading assistance. Two auth options:

| Method      | Base URL                 | Requires                                                         |
| ----------- | ------------------------ | ---------------------------------------------------------------- |
| **API Key** | `https://api.minara.ai`  | `MINARA_API_KEY` (Pro/Partner at [minara.ai](https://minara.ai)) |
| **x402**    | `https://x402.minara.ai` | `EVM_PRIVATE_KEY` + USDC wallet (pay-per-use, no subscription)   |

Use API Key when `MINARA_API_KEY` is set; otherwise use x402 when `EVM_PRIVATE_KEY` is available.

## Endpoints

### 1. Chat

`POST https://api.minara.ai/v1/developer/chat`

General-purpose chat for trading analysis, market insights, and questions.

| Param   | Type    | Required | Description                            |
| ------- | ------- | -------- | -------------------------------------- |
| mode    | string  | Yes      | `"fast"` or `"expert"`                 |
| stream  | boolean | Yes      | `false` for JSON, `true` for SSE       |
| message | object  | Yes      | `{ "role": "user", "content": "..." }` |
| chatId  | string  | No       | Continue existing conversation         |

Response: `{ chatId, messageId, content, usage }`

### 2. Intent to Swap Transaction

`POST https://api.minara.ai/v1/developer/intent-to-swap-tx`

Convert natural language swap intent to an executable transaction payload (OKX DEX compatible).

| Param         | Type   | Required | Description                                                 |
| ------------- | ------ | -------- | ----------------------------------------------------------- |
| intent        | string | Yes      | e.g. `"swap 0.1 ETH to USDC"`                               |
| walletAddress | string | Yes      | 0x... address                                               |
| chain         | string | No       | `"base"`, `"ethereum"`, `"bsc"`, `"arbitrum"`, `"optimism"` |

Response: `{ transaction: { chain, inputTokenAddress, inputTokenSymbol, outputTokenAddress, outputTokenSymbol, amount, amountPercentage, slippagePercent } }`

### 3. Perpetual Trading Suggestion

`POST https://api.minara.ai/v1/developer/perp-trading-suggestion`

Get perp trading suggestions: side, entry, stop loss, take profit, confidence.

| Param     | Type   | Required | Description                                                          |
| --------- | ------ | -------- | -------------------------------------------------------------------- |
| symbol    | string | Yes      | e.g. `"BTC"`, `"ETH"`, `"SOL"`                                       |
| style     | string | No       | `"scalping"`, `"day-trading"`, `"swing-trading"` (default: scalping) |
| marginUSD | number | No       | Default 1000                                                         |
| leverage  | number | No       | 1–40, default 10                                                     |
| strategy  | string | No       | Default `"max-profit"`                                               |

Response: `{ entryPrice, side, stopLossPrice, takeProfitPrice, confidence, reasons, risks }`

### 4. Prediction Market Analysis

`POST https://api.minara.ai/v1/developer/prediction-market-ask`

Analyze prediction market events (e.g. Polymarket) and get probability estimates.

| Param        | Type    | Required | Description                               |
| ------------ | ------- | -------- | ----------------------------------------- |
| link         | string  | Yes      | Event URL (e.g. Polymarket)               |
| mode         | string  | Yes      | `"fast"` or `"expert"`                    |
| only_result  | boolean | No       | `true` = probabilities only, no reasoning |
| customPrompt | string  | No       | Custom analysis instructions              |

Response: `{ predictions: [{ outcome, yesProb, noProb }], reasoning }`

## Usage

### API Key (api.minara.ai)

Use `fetch` or HTTP client:

- URL: endpoint above
- Method: `POST`
- Headers: `Authorization: Bearer ${process.env.MINARA_API_KEY}`, `Content-Type: application/json`
- Body: JSON object per endpoint spec

### x402 (x402.minara.ai)

Pay-per-use with USDC. No subscription. See [Getting Started by x402](https://minara.ai/docs/ecosystem/agent-api/getting-started-by-x402).

**Option A: x402 SDK (recommended)**

Node.js example—SDK handles payment challenges automatically:

```typescript
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const signer = privateKeyToAccount(
  process.env.EVM_PRIVATE_KEY as `0x${string}`
);
const client = new x402Client();
registerExactEvmScheme(client, { signer });
const fetchWithPayment = wrapFetchWithPayment(fetch, client);

const res = await fetchWithPayment("https://x402.minara.ai/x402/chat", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ userQuery: "What is the current price of BTC?" }),
});
const data = await res.json();
```

Dependencies: `@x402/fetch`, `@x402/evm`, `viem`. Solana: add `@x402/svm`.

**x402 Chat endpoint** (differs from API Key):

- `POST https://x402.minara.ai/x402/chat`
- Body: `{ "userQuery": "..." }` (no mode/stream/message/chatId)
- Response: `{ content }`

Chain-specific: `https://x402.minara.ai/x402/solana/chat`, `https://x402.minara.ai/x402/polygon/chat`

**Option B: Manual 402 flow**

1. Request → 402 with payment instructions (amount, recipient, chain)
2. Send USDC to recipient
3. Retry with `x-payment-response` header containing payment proof

## Config

`~/.openclaw/openclaw.json`:

```json
{
  "skills": {
    "entries": {
      "minara": {
        "enabled": true,
        "apiKey": "YOUR_MINARA_API_KEY",
        "env": { "EVM_PRIVATE_KEY": "0x..." }
      }
    }
  }
}
```

- **API Key**: set `apiKey` or `MINARA_API_KEY` in env.
- **x402**: set `env.EVM_PRIVATE_KEY` or `EVM_PRIVATE_KEY` in env. Wallet must hold USDC. Sandboxed: use `agents.defaults.sandbox.docker.env`.

Attribution

rondoflowrondoflow
View sourceMore from rondoflow →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

693621 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →