用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/irfndi/beam-clmm --skill beam-install命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | beam-install |
| description | Install, configure, and run the Beam liquidity agent for automated Meteora DLMM rebalancing on Solana |
Use this skill when an agent needs to set up or operate the Beam liquidity agent for automated Meteora DLMM rebalancing on Solana.
beam, beam-clmm, or @irfndi/beam-clmmThe one-liner installer handles Bun (installs if missing), detects your OS/architecture, downloads a compiled bundle from Cloudflare R2, verifies its SHA-256 checksum, extracts it to ~/.beam, and writes a beam wrapper to ~/.local/bin/.
curl -fsSL https://raw.githubusercontent.com/irfndi/beam-clmm/main/scripts/install.sh | bash
export PATH="$HOME/.local/bin:$PATH"
Use the installed beam wrapper as the product boundary. The release installer provides the checksum-verified platform bundle under ~/.beam and the global command under ~/.local/bin/beam.
curl -fsSL https://raw.githubusercontent.com/irfndi/beam-clmm/main/scripts/install.sh \
| BEAM_SKIP_SETUP=1 bash
export PATH="$HOME/.local/bin:$PATH"
beam register
beam version
beam doctor
beam setup --non-interactive --rpc-url="$SOLANA_RPC_URL"
beam dev
Upgrade with beam update --check-only and beam update. Do not edit the Beam checkout, run bun run dev, or run bun install during agent operations; those commands are for Beam development. bun add --global beam is unsupported because no npm package with that name is published.
Non-interactive (for agents):
beam setup --non-interactive --rpc-url="$SOLANA_RPC_URL" --rpc-fallback-url="${SOLANA_RPC_FALLBACK_URL:-}"
Interactive (for humans):
beam setup
This writes .env with the RPC provider settings, an optional watchlist, and paper-trading defaults. The default mode is paper trading — no real funds are at risk.
If you don't know which pools to watch, also set ENABLE_POOL_DISCOVERY=true in .env so the agent can find candidates on its own.
beam dev
Decisions are logged to logs/audit-trail.jsonl. To stop, send SIGINT (Ctrl+C).
| Command | Purpose |
|---|---|
beam dev | Start the trading engine |
beam setup | Interactive .env wizard |
beam register | Create the required cloud account |
beam doctor [--fix] | Validate registration, providers, and local state |
beam whoami | Show cloud account info (requires beam register) |
beam backtest | Run a historical simulation |
beam update | Check for and apply updates |
beam issue "<msg>" | Store an issue in Beam Cloud D1 |
beam wallet {generate,import,show} | Manage the local Solana keypair |
beam link-telegram | Link the cloud account to @beam_agent_bot |
The API account is required before beam setup and beam dev so telemetry,
errors, feedback, and usage have an owner. Telegram remains optional.
| Layer | Purpose | Required? |
|---|---|---|
| CLI (local) | Runs the trading engine, persists positions to SQLite | Yes |
| API (cloud) | Account, telemetry, errors, feedback, whoami, subscription | Yes for agents |
| Telegram (chat) | Monitor and control the agent from @beam_agent_bot | No |
bun run dev instead of beam dev. beam dev goes through the CLI wrapper that resolves the install root and respects config. bun run dev bypasses that..env. Use beam setup to update config.beam register. Registration is required before setup and dev.PAPER_TRADING=false without a wallet. Live mode requires WALLET_PRIVATE_KEY. Use beam wallet generate to create one.PATH. After the one-liner install, ~/.local/bin must be on PATH.| Symptom | Cause | Fix |
|---|---|---|
beam: command not found | ~/.local/bin not on PATH | export PATH="$HOME/.local/bin:$PATH" |
Bun not found during install | Bun not installed | Installer auto-installs Bun; check $HOME/.bun/bin |
sqlite-vec fails on Linux | Bundled SQLite lacks extensions | Engine falls back to system libsqlite3.so automatically |
BigInt serialization error from embeddings | ONNX runtime issue in Node.js | Set EMBEDDINGS_BACKEND=fallback in .env (default) |
| Helius 401/403 | Invalid API key | Re-run beam setup with a valid key or custom RPC URL |
| Engine starts but makes no decisions | Empty watchlist and ENABLE_POOL_DISCOVERY=false | Set ENABLE_POOL_DISCOVERY=true in .env |
beam --version # should print 0.0.8 or later
beam dev & # start engine in background
sleep 30
tail -n 20 logs/audit-trail.jsonl # should show scan cycle decisions
rm -rf ~/.beam ~/.local/bin/beam ~/.config/beam/agent-id ~/.config/beam/install-id ~/.config/beam/credentials.json ~/.config/beam/wallet.json