一键导入
vulcan-lot-size-calculator
Convert desired token amounts to base lots — the most common agent mistake.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Convert desired token amounts to base lots — the most common agent mistake.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Development conventions and architecture guide for the Clawd Code CLI repository — a Solana-native AI coding agent with perps trading, image generation, voice, and x402 payments.
Register, discover, and hire autonomous AI agents on Solana. On-chain identity via Metaplex Core NFTs (8004-solana SDK or REST API). Search by capability, check reputation backed by $CLAWD payment proofs, browse the service catalog, and get machine-readable hiring instructions. Supports Google A2A agent-card.json and Anthropic MCP server-card.json. No EVM — Solana only.
Solana RPC data toolkit — 8-command CLI for live on-chain data: SOL balance + SPL token portfolio with USD values, transaction detail with balance changes, SPL token metadata + top holders, recent activity history, NFT portfolio (SPL + cNFT via Helius DAS), whale detector, network stats (TPS/epoch/price), and quick price lookup. Pure Python stdlib, no extra packages. Optional HELIUS_API_KEY for compressed NFT detection.
Clawd Guard — the sovereign secrets sentinel. Mandatory reading for every Solana developer before they push a single commit. Use when: setting up a new repo, reviewing a .gitignore, onboarding a dev, or after any "oops I committed my private key" incident. Covers every secrets pattern that must never touch git: wallet JSON files, keypairs, .env files, private keys, API tokens, service account credentials, and IDE/OS junk. Built by Clawd to stop you from becoming a cautionary tale.
AI code reviews via Greptile — trigger PR reviews, run local CLI reviews, query codebase graphs, apply auto-fixes, manage custom rules, and analyze review analytics. Use for code review, PR feedback, issue triage, and codebase exploration.
Clawd TUI perps screen integration. Use when the user asks about the Clawd terminal UI, the Phoenix perps screen inside the TUI, paper trading from the TUI, or how the TUI drives Vulcan.
| name | vulcan-lot-size-calculator |
| version | 1.0.0 |
| description | Convert desired token amounts to base lots — the most common agent mistake. |
| metadata | {"openclawd":{"category":"finance"},"requires":{"bins":["vulcan"],"skills":["vulcan"]}} |
Use this skill for:
Vulcan's size field is in base lots, not tokens or USD. Getting this wrong means trading 100x more or less than intended.
For market orders, prefer tokens or notional_usdc when you do not need lot-level control. Use this skill when passing size, placing limit orders, or checking exact lot math.
vulcan_market_info → { symbol: "SOL" }
Extract base_lots_decimals from the response.
base_lots = desired_tokens * 10^base_lots_decimals
vulcan_trade → { symbol: "SOL", side: "buy", order_type: "market", size: <base_lots>, acknowledged: true }
Market-order shortcut:
vulcan_trade → { symbol: "SOL", side: "buy", order_type: "market", tokens: 0.5, acknowledged: true }
vulcan_trade → { symbol: "SOL", side: "buy", order_type: "market", notional_usdc: 100, acknowledged: true }
| Want | Calculation | Base lots |
|---|---|---|
| 0.1 SOL | 0.1 * 10^2 = 0.1 * 100 | 10 |
| 0.5 SOL | 0.5 * 100 | 50 |
| 1 SOL | 1 * 100 | 100 |
| 5 SOL | 5 * 100 | 500 |
| Want | Calculation | Base lots |
|---|---|---|
| 0.001 BTC | 0.001 * 10^4 = 0.001 * 10000 | 10 |
| 0.01 BTC | 0.01 * 10000 | 100 |
| 0.1 BTC | 0.1 * 10000 | 1000 |
| Want | Calculation | Base lots |
|---|---|---|
| 0.01 ETH | 0.01 * 10^3 = 0.01 * 1000 | 10 |
| 0.1 ETH | 0.1 * 1000 | 100 |
| 1 ETH | 1 * 1000 | 1000 |
To trade a specific USD amount via base lots:
vulcan_market_ticker → { symbol }desired_tokens = usd_amount / mark_pricebase_lots = desired_tokens * 10^base_lots_decimalsExample: $100 worth of SOL at $150/SOL, decimals=2:
tokens = 100 / 150 = 0.6667
base_lots = 0.6667 * 100 = 66.67 → round to 67
For market orders, notional_usdc performs this sizing internally and quotes at current mid; actual fill can differ by spread and impact.
Passing token amount as size — If you want 0.5 SOL and pass size: 0.5, you'll get 0.005 SOL (0.5 base lots at decimals=2). Always multiply.
Using the wrong decimals — Each market has different base_lots_decimals. SOL=2, BTC=4, ETH=3. Always fetch fresh from vulcan_market_info.
Not rounding — Base lots must be whole numbers. Round to nearest integer after calculation.
Caching decimals across markets — Different markets have different decimals. Fetch per-market.