
通过 Crypto.com API进行加密货币交易的代理技能。买入、卖出、交换和查询余额
概览
通过 Crypto.com API交易加密货币的代理技能。支持任何兼容SKILL.md的代理平台(OpenClaw、Cursor、Claude Code等)。 该仓库包含两项独立技能: 每个技能都有自己的 SKILL.md 和参考。根据你的使用场景,安装一个或两个。 - : 200+代币(BTC、ETH、CRO 等)的市场买卖、交换和交换 - 查询法币和加密货币投资组合持有 - : 发现币种并查看市场价格 - : 查看近期交易历史 - : 查看每周交易预算使用情况 - 紧急 API 密钥被吊销 - : 查看法币存值和提款,查看银行账户,检查支付网络,发送邮件存款指示 首先,按照API密钥管理指南生成一个API密钥。然后在终端中导出密钥和密钥: 或者手动将技能文件夹复制到你经纪人平台的技能目录: 该技能使用的是(./scripts/...
概述(AI 翻译)
通过 Crypto.com API交易加密货币的代理技能。支持任何兼容SKILL.md的代理平台(OpenClaw、Cursor、Claude Code等)。
该仓库包含两项独立技能:
| 技能 | 目录 | 描述 |
|---|---|---|
| 主应用 | crypto-com-app/ |
通过 Crypto.com 应用执行交易、核对余额、代币价格 |
| 交易所 | crypto-com-exchange/ |
执行交易、核对余额、通过 Crypto.com 交易所查询代币价格 |
每个技能都有自己的SKILL.md和参考。根据你的使用场景安装一个或两个。
主应用技能
特色
- 交易:市场买入、卖出、交换和在200+代币(BTC、ETH、CRO等)之间交换
- 余额:查询法币和加密货币投资组合持仓
- 价格:发现币种并查询市场价格
- 历史:查看近期交易历史
- 交易限额:检查每周交易预算使用情况
- 杀机开关:紧急API密钥撤销
- 现金管理:存款和取款法币,查看银行账户,检查支付网络,以及发送电子邮件存款指示
快速启动
1.设置环境变量
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
crypto-agent-trading
Agent skills for trading cryptocurrency via the Crypto.com APIs. Works with any SKILL.md-compatible agent platform (OpenClaw, Cursor, Claude Code, and others).
This repository contains two independent skills:
| Skill | Directory | Description |
|---|---|---|
| Main App | crypto-com-app/ |
Execute trading, check balances, token prices via Crypto.com App |
| Exchange | crypto-com-exchange/ |
Execute trading, check balances, token prices via Crypto.com Exchange |
Each skill has its own SKILL.md and references. Install one or both depending on your use case.
Main App Skill
Features
- Trade: Market buy, sell, swap, and exchange across 200+ tokens (BTC, ETH, CRO, and more)
- Balances: Query fiat and crypto portfolio holdings
- Prices: Discover coins and check market prices
- History: View recent transaction history
- Trading Limits: Check weekly trading budget usage
- Kill Switch: Emergency API key revocation
- Cash Management: Deposit and withdraw fiat currencies, view bank accounts, check payment networks, and email deposit instructions
Quickstart
1. Set environment variables
First, generate an API key following the API Key Management guide. Then export the key and secret in your terminal:
export CDC_API_KEY="your-api-key"
export CDC_API_SECRET="your-api-secret"
2. Install the skill
npx skills add crypto-com/crypto-agent-trading/crypto-com-app -g -y
Or manually copy the skill folder to your agent platform’s skill directory:
| Platform | Install location | Activation |
|---|---|---|
| OpenClaw | ~/.openclaw/skills/crypto-com-app/ |
Say “Initialize the crypto-com-app skill” |
| Cursor | ~/.cursor/skills/crypto-com-app/ |
Add as an agent skill in settings |
| Claude Code | ~/.claude/skills/crypto-com-app/ |
Point Claude at the SKILL.md path |
| Other agents | Any local directory | Point your agent at SKILL.md |
The skill uses relative script paths (./scripts/... from the skill root), so it works from any install location without path modifications.
Example Conversation
User: "Buy CRO with 100 USD"
Agent: (runs quote) "Confirm: buy 1,250 CRO for 100 USD? This quote expires in 15 seconds."
User: "Yes"
Agent: (runs confirm) "Done! Purchased 1,250 CRO for 100 USD."
User: "What's my balance?"
Agent: (runs balance check) "You hold 1,250 CRO ($105.00) and 400.00 USD."
User: "Swap 500 CRO to BTC"
Agent: (runs quote) "Confirm: swap 500 CRO for 0.00045 BTC? Expires in 15 seconds."
User: "No, make it 200 CRO instead"
Agent: (runs new quote) "Confirm: swap 200 CRO for 0.00018 BTC? Expires in 15 seconds."
User: "Confirm"
Agent: (runs confirm) "Done! Swapped 200 CRO for 0.00018 BTC."
Skill Workflows
The skills work together in typical trading flows:
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add crypto-com/crypto-agent-trading