← 返回 Skills 市场
larisgtu

Minara Skill V2

作者 TamKingJK · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
277
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install minara-skill-v2
功能描述
Crypto trading: swap, perps, transfer, pay, deposit (credit card / crypto), withdraw, AI chat, market discovery, x402 payment, autopilot. Built-in wallet via...
使用说明 (SKILL.md)

Minara — crypto trading & wallet skill

USE THIS SKILL when the user's message mentions any of:

  • Crypto tokens or tickers: ETH, BTC, SOL, USDC, BONK, PEPE, DOGE, ARB, OP, AVAX, MATIC, $TICKER, or any token name / contract address
  • Blockchain / chain names: Solana, Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, Avalanche, Berachain, Hyperliquid
  • Trading actions: swap, buy, sell, trade, exchange, convert, long, short, perps, futures, leverage, limit order
  • Wallet / finance actions: balance, portfolio, deposit, withdraw, transfer, send, pay, fund, on-ramp, credit card
  • Market / research: trending, price, chart, analysis, DeFi, yield, liquidity, fear and greed, prediction market
  • Explicit references: Minara, minara, x402, MoonPay, autopilot
  • Stock tickers in crypto context: AAPL, TSLA, NVDAx, trending stocks

Routing gate (anti-collision): apply this skill only when the message includes a finance/trading action and at least one crypto/chain/Minara signal (token, chain, DeFi term, or "Minara"). If missing crypto context, do not route here.

Requires logged-in CLI: check ~/.minara/credentials.json; if missing → minara login (prefer device code). If device login prints a verification URL/code, relay it to the user and wait for completion (do not claim login is impossible). If MINARA_API_KEY is set, CLI authenticates automatically.

Transaction confirmation (CRITICAL)

For any fund-moving command (swap, transfer, withdraw, perps order, perps deposit, perps withdraw, limit-order create, deposit buy):

  1. Before executing: show the user a summary of what will happen (action, token, amount, recipient/chain) and ask for explicit confirmation. Do NOT auto-confirm.
  2. After the CLI returns a confirmation prompt (e.g. "Are you sure you want to proceed?"): relay the details back to the user and wait for the user to approve before answering y. Never answer y on the user's behalf without their consent.
  3. -y / --yes policy: never add -y (or any auto-confirm flag) unless the user explicitly asks to skip confirmation.
  4. If the user declines: abort the operation immediately.

This applies to all operations that move funds. Read-only commands (balance, assets, chat, discover, etc.) do not require confirmation.

Intent routing

Match the user's message to the first matching row.

Swap / buy / sell tokens

Triggers: message contains token names/tickers + action words (swap, buy, sell, convert, exchange, trade) + optionally a chain name.

Chain is auto-detected from the token. If a token exists on multiple chains, the CLI prompts the user to pick one (sorted by gas cost). Sell mode supports -a all to sell entire balance.

User intent pattern Action
"swap 0.1 ETH to USDC", "buy me 100 USDC worth of ETH", "sell 50 SOL for USDC", "convert 200 USDC to BONK on Solana" — natural-language or explicit swap Extract params → minara swap -s \x3Cbuy|sell> -t '\x3Ctoken>' -a \x3Camount>
"sell all my BONK", "dump entire SOL position" minara swap -s sell -t '\x3Ctoken>' -a all
Simulate a crypto swap without executing minara swap -s \x3Cside> -t '\x3Ctoken>' -a \x3Camount> --dry-run

Transfer / send / pay / withdraw crypto

Triggers: message mentions sending, transferring, paying, or withdrawing a crypto token to a wallet address (0x… or base58).

User intent pattern Action
"send 10 SOL to 0x…", "transfer USDC to \x3Caddress>" — crypto token + recipient address minara transfer (interactive) or extract params
"pay 100 USDC to 0x…", "pay \x3Caddress> 50 USDC" — payment to address (equivalent to transfer) minara transfer (interactive) or extract params
"withdraw SOL to my external wallet", "withdraw ETH to \x3Caddress>" — crypto withdrawal minara withdraw -c \x3Cchain> -t '\x3Ctoken>' -a \x3Camount> --to \x3Caddress> or minara withdraw (interactive)

Perpetual futures (Hyperliquid)

Triggers: message mentions perps, perpetual, futures, long, short, leverage, margin, or Hyperliquid.

User intent pattern Action
"open a long ETH perp", "short BTC on Hyperliquid", "place a perp order" minara perps order (interactive order builder)
"analyze ETH long or short", "should I long BTC?", "AI perp analysis for SOL" minara perps ask — AI analysis with optional quick order
"enable AI autopilot for perps", "turn on autopilot trading", "manage autopilot strategy" minara perps autopilot
"check my perp positions", "show my Hyperliquid positions" minara perps positions
"set leverage to 10x for ETH perps" minara perps leverage
"cancel my perp orders" minara perps cancel
"deposit USDC to perps account", "fund my Hyperliquid account" minara deposit perps or minara perps deposit -a \x3Camount>
"withdraw USDC from perps" minara perps withdraw -a \x3Camount>
"show my perp trade history" minara perps trades
"show perps deposit/withdrawal records" minara perps fund-records

Autopilot note: When autopilot is ON, manual minara perps order is blocked. Turn off autopilot first via minara perps autopilot.

Limit orders (crypto)

Triggers: message mentions limit order + crypto token/price.

User intent pattern Action
"create a limit order for ETH at $3000", "buy SOL when it hits $150" minara limit-order create
"list my crypto limit orders" minara limit-order list
"cancel limit order \x3Cid>" minara limit-order cancel \x3Cid>

Crypto wallet / portfolio / account

Triggers: message mentions crypto balance, portfolio, assets, wallet, deposit address, or Minara account.

User intent pattern Action
"what's my total balance", "how much USDC do I have" — quick balance check minara balance
"show my crypto portfolio", "spot holdings with PnL", "how much ETH do I have in Minara" minara assets spot
"show my perps balance", "Hyperliquid account equity" minara assets perps
"show all my crypto assets" — full overview (spot + perps) minara assets
"show deposit address", "where to send USDC" — spot deposit addresses minara deposit spot
"deposit to perps", "transfer USDC from spot to perps", "fund perps from spot" minara deposit perps
"buy crypto with credit card", "deposit with card", "on-ramp with MoonPay" minara deposit buy
"how do I deposit crypto" — interactive (spot, perps, or credit card) minara deposit
"show my Minara account", "my wallet addresses" minara account

Crypto AI chat / market analysis

Triggers: message asks about crypto prices, token analysis, DeFi research, on-chain data, crypto market insights, or prediction market analysis.

Timeout: AI chat responses can be long-running. Set shell execution timeout to 15 minutes (900 s) for all minara chat commands.

User intent pattern Action
"what's the BTC price", "analyze ETH tokenomics", "DeFi yield opportunities", crypto research, on-chain analysis minara chat "\x3Cuser text>"
"analyze this Polymarket event", "prediction market odds on \x3Ctopic>", "what are the chances of \x3Cevent>" — prediction market insights minara chat "\x3Cuser text or URL>"
Deep crypto analysis requiring reasoning — "think through ETH vs SOL long-term" minara chat --thinking "\x3Cuser text>"
High-quality detailed crypto analysis — "detailed report on Solana DeFi ecosystem" minara chat --quality "\x3Cuser text>"
"continue our previous Minara chat" minara chat -c \x3CchatId>
"list my Minara chat history" minara chat --list

Crypto & stock market discovery

Triggers: message mentions trending tokens, trending stocks, crypto market sentiment, fear and greed, or Bitcoin metrics.

User intent pattern Action
"what crypto tokens are trending", "hot tokens right now" minara discover trending
"what stocks are trending", "trending stocks", "top stocks today" minara discover trending stocks
"search for SOL tokens", "find crypto token X", "look up AAPL", "search TSLA" minara discover search \x3Cquery>
"crypto fear and greed index", "market sentiment" minara discover fear-greed
"bitcoin on-chain metrics", "BTC hashrate and supply data" minara discover btc-metrics

Minara premium / subscription

Triggers: message explicitly mentions Minara plan, subscription, credits, or pricing.

User intent pattern Action
"show Minara plans", "Minara pricing" minara premium plans
"my Minara subscription status" minara premium status
"subscribe to Minara", "upgrade Minara plan" minara premium subscribe
"buy Minara credits" minara premium buy-credits
"cancel Minara subscription" minara premium cancel

x402 protocol payment

Triggers: agent receives HTTP 402 Payment Required, or user mentions x402, paid API, or paying for API access with crypto. x402 spec.

Flow: parse PAYMENT-REQUIRED header (amount, token, recipient, chain) → minara balanceminara transfer to pay → retry request.

Payment step must follow the global confirmation policy: user must explicitly confirm before any minara transfer.

User intent pattern Action
Agent receives 402 with x402 headers Parse headers → minara transfer (USDC to recipient on required chain) → retry
"pay for this API with Minara", "use Minara wallet for x402" minara balanceminara transfer to service address
"fund my wallet for paid APIs" minara deposit buy (credit card) or minara deposit spot (crypto)

Minara login / setup

Triggers: message explicitly mentions Minara login, setup, or configuration.

Login: Prefer device code flow (minara login --device) for headless or non-interactive environments; otherwise minara login (interactive). Login handoff rule: when CLI outputs verification URL/device code, the agent must pass them to the user verbatim, ask the user to complete browser verification, then continue after user confirms completion.

User intent pattern Action
"login to Minara", "sign in to Minara", first-time Minara setup minara login (prefer device code) or minara login --device
"logout from Minara" minara logout
"configure Minara settings" minara config

Notes

  • Token input (-t): accepts $TICKER (e.g. '$BONK'), token name, or contract address. Quote $ in shell.
  • JSON output: add --json to any command for machine-readable output.
  • Transaction safety: CLI flow: first confirmation → transaction confirmation (mandatory, shows token + address) → Touch ID (optional, macOS) → execute. Agent must never skip or auto-confirm any step — always relay to user and wait for approval, and never use -y unless user explicitly requests it.

Credentials & config

  • CLI session: ~/.minara/credentials.json — auto-created via minara login (required).
  • API Key: MINARA_API_KEY via env or skills.entries.minara.apiKey in ~/.openclaw/openclaw.json — optional; if set, CLI authenticates automatically without login.

Examples

Full command examples: {baseDir}/examples.md

安全使用建议
This skill appears to do what it says: control a Minara CLI wallet and trade crypto. Before installing or enabling it: 1) Verify the npm package publisher and homepage (minara/minara.ai) and consider pinning to a specific version rather than using @latest. 2) Treat MINARA_API_KEY and ~/.minara/credentials.json as highly sensitive — do not set the API key in shared environments and do not allow the agent to read unrelated files. 3) Pay special attention to every confirmation prompt before approving any transfer/withdrawal; the SKILL.md requires explicit user confirmation — follow that. 4) Be cautious with x402 payments or paying addresses extracted from HTTP headers: validate the recipient address out-of-band if possible. 5) If you need stronger assurance, inspect the npm package source (or vendor-supplied CLI) before installing and avoid running in environments where inadvertent fund transfers would be catastrophic.
功能分析
Type: OpenClaw Skill Name: minara-skill-v2 Version: 1.0.0 The Minara skill bundle provides a comprehensive interface for a crypto trading and wallet CLI. It includes strong security instructions for the AI agent, specifically mandating explicit user confirmation for all fund-moving transactions and forbidding the use of auto-confirm flags like '-y'. The skill handles authentication through standard CLI login flows or environment variables and does not exhibit signs of data exfiltration, unauthorized execution, or malicious prompt injection.
能力评估
Purpose & Capability
Name/description align with required binaries (minara), primary credential (MINARA_API_KEY), and declared install (npm minara). The required config path (skills.entries.minara.enabled) matches a skill enable flag and is proportionate.
Instruction Scope
SKILL.md instructs the agent to check ~/.minara/credentials.json, run `minara login` (device-code/email flows), relay device URLs/codes to the user, and perform transfers/withdrawals when confirmed. These behaviors are expected for a CLI wallet but involve reading wallet credentials and relaying authentication codes and paying arbitrary on-chain addresses (including x402 payment addresses). Ensure the agent only reads the stated credential file, strictly follows the explicit confirmation rules, and does not access unrelated system files or env vars.
Install Mechanism
Install is an npm package (minara@latest) which produces the 'minara' binary. Using npm is normal for a CLI but carries standard supply-chain risk (pulling 'latest' means behavior can change). No arbitrary URL downloads or extract steps are present.
Credentials
Only MINARA_API_KEY is declared as the primary credential and is appropriate for a third‑party API/CLI. No unrelated secrets or excessive env vars are requested.
Persistence & Privilege
always:false and the skill requires explicit enablement; it does not request system-wide config changes. Note: the skill can be invoked autonomously by the agent (default), so follow-up prompts and confirmations must be enforced to prevent unintended fund transfers.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install minara-skill-v2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /minara-skill-v2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
minara-skill-v2 1.0.0 - Initial release introducing crypto trading and wallet functionality via the Minara CLI. - Supports actions such as swap, perps (perpetual futures), transfer, payment, deposit (credit card/crypto), withdrawal, market discovery, and autopilot trading. - Built-in wallet for EVM and Solana blockchains; requires Minara authentication (CLI or API key). - Implements strict transaction confirmation: all fund-moving actions require explicit user approval before proceeding. - Advanced intent routing to trigger the correct action only when both a finance/trading action and crypto context are present.
元数据
Slug minara-skill-v2
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Minara Skill V2 是什么?

Crypto trading: swap, perps, transfer, pay, deposit (credit card / crypto), withdraw, AI chat, market discovery, x402 payment, autopilot. Built-in wallet via... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 277 次。

如何安装 Minara Skill V2?

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

Minara Skill V2 是免费的吗?

是的,Minara Skill V2 完全免费(开源免费),可自由下载、安装和使用。

Minara Skill V2 支持哪些平台?

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

谁开发了 Minara Skill V2?

由 TamKingJK(@larisgtu)开发并维护,当前版本 v1.0.0。

💬 留言讨论