# Send easyclaw to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "easyclaw",
    "name": "easyclaw",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ice-coldbell/easyclaw",
    "canonicalUrl": "https://clawhub.ai/ice-coldbell/easyclaw",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/easyclaw",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=easyclaw",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "env.example.txt",
      "package-lock.json",
      "package.json",
      "SKILL.md",
      "scripts/backend-common.js",
      "scripts/dex-agent.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "easyclaw",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-11T23:46:18.743Z",
      "expiresAt": "2026-05-18T23:46:18.743Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=easyclaw",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=easyclaw",
        "contentDisposition": "attachment; filename=\"easyclaw-0.0.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "easyclaw"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/easyclaw"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/easyclaw",
    "downloadUrl": "https://openagent3.xyz/downloads/easyclaw",
    "agentUrl": "https://openagent3.xyz/skills/easyclaw/agent",
    "manifestUrl": "https://openagent3.xyz/skills/easyclaw/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/easyclaw/agent.md"
  }
}
```
## Documentation

### EasyClaw User DEX Skill

Run only user workflows:

balance and open-order checks
order submission (place order)
backend position/order/fill/history/orderbook/chart queries
authenticated agent/strategy controls and safety kill-switch
realtime websocket monitoring and signal-driven auto order execution

Do not run admin/bootstrap/keeper workflows in this skill.

### Runtime & Credential Requirements

Wallet signer source: KEYPAIR_PATH or ANCHOR_WALLET (fallback ~/.config/solana/id.json).
Solana RPC source: SOLANA_RPC_URL or ANCHOR_PROVIDER_URL (fallback http://127.0.0.1:8899).
Backend endpoint source: EASYCLAW_API_BASE_URL / EASYCLAW_WS_URL (or alias vars in backend-common.js).
Optional API credential: EASYCLAW_API_TOKEN (required for protected backend controls).
Local process usage: onboarding probes solana config get and can spawn child Node.js processes for autotrade execution.
Local file writes:

onboarding persists selected wallet envs into easyclaw-skill/.env
strategy onboarding writes files into easyclaw-skill/state/strategies/

### Command Interface

Use {baseDir}/scripts/dex-agent.sh:

# toolchain + environment diagnostics
{baseDir}/scripts/dex-agent.sh doctor

# install local skill dependencies
{baseDir}/scripts/dex-agent.sh install

# wallet, USDC, margin, and open orders
{baseDir}/scripts/dex-agent.sh balance
{baseDir}/scripts/dex-agent.sh balance --json

# submit order tx
{baseDir}/scripts/dex-agent.sh order --market-id 1 --side buy --type market --margin 1000000
{baseDir}/scripts/dex-agent.sh order --market-id 2 --side sell --type limit --margin 2000000 --price 3000000000

# backend REST queries
{baseDir}/scripts/dex-agent.sh backend positions --mine --limit 20
{baseDir}/scripts/dex-agent.sh backend position-history --mine --limit 20
{baseDir}/scripts/dex-agent.sh backend chart-candles --market BTCUSDT --timeframe 1m --limit 120
{baseDir}/scripts/dex-agent.sh backend orderbook-heatmap --exchange binance --symbol BTCUSDT --limit 30
{baseDir}/scripts/dex-agent.sh backend portfolio --period 7d
{baseDir}/scripts/dex-agent.sh backend strategy-templates
{baseDir}/scripts/dex-agent.sh backend agent-risk --agent-id agent-001

# realtime WS monitor
{baseDir}/scripts/dex-agent.sh watch --channels "agent.signals,portfolio.updates,market.price.BTCUSDT"

# realtime signal -> auto order execution
{baseDir}/scripts/dex-agent.sh autotrade --market-id 1 --margin 1000000 --min-confidence 0.75

# guided onboarding + strategy capture + autotrade start
{baseDir}/scripts/dex-agent.sh onboard --market-id 1 --margin 1000000

### Files

scripts/balance.js: user balance and order summary
scripts/order-execute.js: user order submission helper
scripts/backend.js: backend REST API query helper
scripts/ws-watch.js: backend websocket channel subscriber
scripts/realtime-agent.js: signal-driven auto-order loop
scripts/onboard.js: interactive onboarding flow (wallet selection, registration wait, strategy capture, autotrade kickoff)
scripts/backend-common.js: backend endpoint/auth helpers
scripts/common.js: PDA, signer, tx, and decode utilities
package.json: local runtime dependencies
.env.example: required environment keys

### Setup

Copy .env.example to .env.
Fill signer and RPC values.
Run dex-agent.sh install.
Run dex-agent.sh balance first to validate access.
Run dex-agent.sh backend doctor and dex-agent.sh watch --channel system.status.
Run dex-agent.sh onboard --market-id <id> --margin <u64> for guided onboarding.

For env definitions and option details, read references/dex-env.md.

### Safety

Keep KEYPAIR_PATH and private keys local.
Use devnet/localnet unless explicitly instructed otherwise.
Confirm ORDER_ENGINE_PROGRAM_ID and MARKET_REGISTRY_PROGRAM_ID before placing orders.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ice-coldbell
- Version: 0.0.2
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-11T23:46:18.743Z
- Expires at: 2026-05-18T23:46:18.743Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/easyclaw)
- [Send to Agent page](https://openagent3.xyz/skills/easyclaw/agent)
- [JSON manifest](https://openagent3.xyz/skills/easyclaw/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/easyclaw/agent.md)
- [Download page](https://openagent3.xyz/downloads/easyclaw)