
crypto-com/crypto-agent-trading
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Agent skill for trading crypto via the Crypto.com API. Buy, sell, swap, and query balances
Обзор
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: Each skill has its own SKILL.md and references. Install one or both depending on your use case. - : Market buy, sell, swap, and exchange across 200+ tokens (BTC, ETH, CRO, and more) - : Query fiat and crypto portfolio holdings - : Discover coins and check market prices - : View recent transaction history - : Check weekly trading budget usage - : Emergency API key revocation - : Deposit and withdraw fiat currencies, view bank accounts, check payment networks, and email deposit instructions First, generate an API key following the API Key Management guide. Then export the key and secret in your terminal: Or manually copy the skill folder to your agent platform's skill directory: The skill uses (./scripts/...
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