SKILL·060406

emblem-token-swap

EmblemCompany
Aktualisiert 1 month ago
9 Ansichten
12
2
12
Auf GitHub ansehen
Andereaiautomation

Über

Diese Fähigkeit ermöglicht es Entwicklern, Token-Swaps und Cross-Chain-Asset-Bridging über sechs große Blockchains mittels der EmblemAI/ChangeNow-Integration auszuführen. Sie optimiert automatisch Swap-Routen und verarbeitet Cross-Chain-Transaktionen. Nutzen Sie sie, wenn Ihre Anwendung Kryptowährungen programmgesteuert tauschen, austauschen oder bridgen muss.

Schnellinstallation

Claude Code

Empfohlen
Primär
npx skills add EmblemCompany/Agent-skills -a claude-code
Plugin-BefehlAlternativ
/plugin add https://github.com/EmblemCompany/Agent-skills
Git CloneAlternativ
git clone https://github.com/EmblemCompany/Agent-skills.git ~/.claude/skills/emblem-token-swap

Kopieren Sie diesen Befehl und fügen Sie ihn in Claude Code ein, um diese Fähigkeit zu installieren

Dokumentation

Emblem Token Swap

Guided token swapping powered by EmblemAI. Swap tokens on Solana, Ethereum, Base, BSC, Polygon, and Hedera with automatic routing. Cross-chain bridging via ChangeNow.

Requires: npm install -g @emblemvault/agentwallet


What This Skill Can Do

ChainQuote ToolSwap ToolBalance ToolToken Search
SolanasplBuyIntent (quote mode)splBuyIntent (swap mode)solanaBalancesfindSolanaSwapToken
EthereumethSwapQuoteethSwapethGetBalancessearchCryptoByName
BasebaseSwapQuotebaseSwapbaseGetBalancessearchEvmTokensBirdeye
BSCbscSwapQuotebscSwapbscGetBalancessearchEvmTokensBirdeye
PolygonpolygonSwapQuotepolygonSwappolygonGetBalancessearchEvmTokensBirdeye
HederahederaTokensSwapQuotehederaTokensSwaphederaGetBalanceshederaFindTokens
Cross-chaingetChangeNowSwapQuoteswapUsingChangeNowgetChangeNowSupportedCurrencies

Notes

  • Solana uses splBuyIntent for both quotes and execution — it handles token lookup by name/symbol/CA and flexible amounts ($USD, SOL, or token quantity)
  • EVM chains (Ethereum, Base, BSC, Polygon) route through automatic DEX aggregation
  • Cross-chain bridges via ChangeNow support 500+ currencies
  • Bitcoin has balance support (getBTCBalances) but no on-chain swap tools — use ChangeNow for BTC bridges

Quick Start

npm install -g @emblemvault/agentwallet

# Solana swap (uses splBuyIntent)
emblemai --agent --profile default -m "Use splBuyIntent to swap 5 SOL for USDC on Solana"

# Cross-chain bridge (uses ChangeNow)
emblemai --agent --profile default -m "Use getChangeNowSwapQuote to get a quote for bridging 0.05 ETH from Ethereum to SOL on Solana"

Trigger phrases:

  • "Swap SOL to USDC"
  • "Exchange ETH for USDT"
  • "Convert my tokens"
  • "Bridge tokens to Base"

Workflow: Safe Token Swap

Step 1: Check Balance

Confirm you have enough of the source token.

emblemai --agent --profile default -m "Use solanaBalances to show my Solana token balances"

Step 2: Get a Quote

Preview the swap before executing.

emblemai --agent --profile default -m "Use splBuyIntent to get a quote for swapping 5 SOL to USDC"

Step 3: Execute the Swap

emblemai --agent --profile default -m "Use splBuyIntent to swap 5 SOL for USDC on Solana"

Safe mode requires your confirmation before executing.

Step 4: Verify

Confirm the new balance.

emblemai --agent --profile default -m "Use solanaBalances to show my updated balances"

Swap Patterns

Solana Swaps

# By token amount
emblemai --agent --profile default -m "Use splBuyIntent to swap 0.5 SOL for USDC"

# By dollar amount
emblemai --agent --profile default -m "Use splBuyIntent to swap $20 of SOL for JUP"

# By token name
emblemai --agent --profile default -m "Use splBuyIntent to swap 100 USDC for BONK"

EVM Swaps

# Ethereum
emblemai --agent --profile default -m "Use ethSwapQuote to get a quote for swapping 0.01 ETH to USDC, then use ethSwap to execute"

# Base
emblemai --agent --profile default -m "Use baseSwapQuote to quote 0.005 ETH to USDC on Base"

# BSC
emblemai --agent --profile default -m "Use bscSwapQuote to quote 0.1 BNB to USDT on BSC"

# Polygon
emblemai --agent --profile default -m "Use polygonSwapQuote to quote 10 POL to USDC on Polygon"

Hedera Swaps

emblemai --agent --profile default -m "Use hederaTokensSwapQuote to get a quote for 100 HBAR to USDC, then use hederaTokensSwap to execute"

Cross-Chain Bridge

emblemai --agent --profile default -m "Use getChangeNowSwapQuote to quote bridging 0.1 ETH to SOL"
emblemai --agent --profile default -m "Use getChangeNowSupportedCurrencies to show available bridge currencies"

Communication Rules

Always include these in swap requests:

  1. Tool name — specify the exact tool for reliable routing
  2. Amount — dollar value or token quantity
  3. Source token — what you're swapping from
  4. Target token — what you're swapping to
BadGood
"swap sol usdc""Use splBuyIntent to swap 5 SOL for USDC"
"buy eth""Use ethSwap to swap 100 USDC to ETH on Ethereum"
"bridge""Use getChangeNowSwapQuote to bridge 0.05 ETH to SOL"

Safety

All swaps require explicit user confirmation (safe mode). The agent will:

  1. Show you the swap details (amount, route, estimated output)
  2. Wait for your approval before executing
  3. Report the transaction result

Never bypasses confirmation for any value-moving operation.


Helper Script

bash scripts/swap-helper.sh

See scripts/swap-helper.sh for an interactive swap walkthrough.


Links

GitHub Repository

EmblemCompany/Agent-skills
Pfad: skills/emblem-token-swap
0
agent-skillsai-agentblockchaincross-chaincryptodefi
FAQ

Frequently asked questions

What is the emblem-token-swap skill?

emblem-token-swap is a Claude Skill by EmblemCompany. Skills package instructions and resources that Claude loads on demand, so Claude can perform emblem-token-swap-related tasks without extra prompting.

How do I install emblem-token-swap?

Use the install commands on this page: add emblem-token-swap to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.

What category does emblem-token-swap belong to?

emblem-token-swap is in the Other category, tagged ai and automation.

Is emblem-token-swap free to use?

Yes. emblem-token-swap is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.

Verwandte Skills

llamaguard
Andere

LlamaGuard ist Metas 7-8B-Parameter-Modell zur Moderation von LLM-Eingaben und -Ausgaben in sechs Sicherheitskategorien wie Gewalt und Hassrede. Es bietet eine Genauigkeit von 94-95 % und kann mit vLLM, Hugging Face oder Amazon SageMaker eingesetzt werden. Nutzen Sie diese Skill, um Inhaltsfilterung und Sicherheitsguardrails einfach in Ihre KI-Anwendungen zu integrieren.

Skill ansehen
cost-optimization
Andere

Diese Claude Skill unterstützt Entwickler bei der Optimierung von Cloud-Kosten durch Ressourcen-Dimensionierung, Tagging-Strategien und Ausgabenanalysen. Sie bietet einen Rahmen zur Senkung von Cloud-Ausgaben und zur Implementierung von Kosten-Governance für AWS, Azure und GCP. Nutzen Sie sie, wenn Sie Infrastrukturkosten analysieren, Ressourcen richtig dimensionieren oder Budgetvorgaben einhalten müssen.

Skill ansehen
sports-betting-analyzer
Andere

Diese Claude Skill analysiert Sportwettenmärkte inklusive Handicaps, Over/Unders und Spezialwetten, indem sie historische Trends und situative Statistiken untersucht, um Wertwetten zu identifizieren. Sie liefert strukturierte Markdown-Ausgaben mit umsetzbaren Empfehlungen zu Bildungszwecken. Entwickler sollten dies für Sportwetten-Analysetools nutzen, wobei zu beachten ist, dass es nur zur Unterhaltung/Bildung konzipiert wurde.

Skill ansehen
quantizing-models-bitsandbytes
Andere

Diese Fähigkeit quantisiert LLMs auf 8-Bit- oder 4-Bit-Präzision mittels bitsandbytes und erreicht dabei eine Speicherreduzierung von 50–75 % bei minimalem Genauigkeitsverlust. Sie ist ideal für den Betrieb größerer Modelle mit begrenztem GPU-Speicher oder zur Beschleunigung von Inferenzvorgängen und unterstützt Formate wie INT8, NF4 und FP4. Die Fähigkeit integriert sich in HuggingFace Transformers und ermöglicht QLoRA-Training sowie 8-Bit-Optimierer.

Skill ansehen