openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Cavos Cli

Interact with the Cavos CLI for Starknet wallet operations. Use for transfers, approvals, contract calls, session management, and transaction monitoring.

综合技能

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v0.1.0

统计:⭐ 2 · 769 · 0 current installs · 0 all-time installs

2

安装量(当前) 0

🛡 VirusTotal :可疑 · OpenClaw :良性

Package:adrianvrj/cavos-cli-skill

安全扫描(ClawHub)

  • VirusTotal :可疑
  • OpenClaw :良性

OpenClaw 评估

The skill's requirements and instructions are coherent with a Cavos CLI wrapper for Starknet wallet operations; it is instruction-only and asks the agent to run npx @cavos/cli commands, which matches the described purpose.

目的

Name/description (Cavos CLI for Starknet wallet ops) matches the required binary (npx) and the SKILL.md commands (npx @cavos/cli). There are no unexpected credentials, binaries, or config paths requested.

说明范围

SKILL.md only instructs running specific cavos CLI commands (whoami, balance, transfer, execute, etc.) and to use --json. It does not instruct reading unrelated files or environment variables. It does mention importing a session token provided from the Dashboard (expected for auth).

安装机制

No install spec (instruction-only), which is low-risk. However, the runtime commands use npx to fetch and execute @cavos/cli from the npm registry on demand — that implicitly downloads and runs remote code. This is expected for an npx-based CLI but is a material runtime action the user should be aware of.

证书

The skill declares no required env vars or credentials. That aligns with the instructions, which expect an explicit session token to be provided when running session import. There is no hidden request for unrelated secrets or external credentials.

持久

always is false and the skill has no install step that modifies system or agent-wide settings. It does not request persistent privileges or modify other skills' configs.

综合结论

This skill is coherent for controlling a Cavos/Starknet wallet via the @cavos/cli, but note: npx will download and execute the @cavos/cli package from npm at runtime — verify the package name, publisher, and version before running. Do not paste session tokens, private keys, or other secrets into chat; supply them only to the CLI in a secure context. Before sending transfers/approvals, double-check addresses and amounts and consider running sim…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Cavos Cli」。简介:Interact with the Cavos CLI for Starknet wallet operations. Use for transfers, …。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/adrianvrj/cavos-cli-skill/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: cavos-cli
description: Interact with the Cavos CLI for Starknet wallet operations. Use for transfers, approvals, contract calls, session management, and transaction monitoring.
metadata: { "openclaw": { "requires": { "bins": ["npx"] } } }
---

# Cavos CLI Skill

This skill allows you to interact with the Cavos CLI (`@cavos/cli`) to manage Starknet wallets, perform transfers, and execute contract calls.

## Core Commands

Always use the `--json` flag when possible to get structured output.

### 1. Identity & Session
- **Who Am I**: Check current session and wallet address.
  ```bash
  npx @cavos/cli whoami --json
  ```
- **Session Status**: Check if the session is active/expired.
  ```bash
  npx @cavos/cli session-status --json
  ```
- **Import Session**: Import a session token provisioned from the [Dashboard](https://agent.cavos.xyz/).
  ```bash
  npx @cavos/cli session import <token>
  ```

### 2. Assets & Transfers
- **Check Balance**:
  ```bash
  npx @cavos/cli balance --token <STRK|ETH|address> --json
  ```
- **Transfer Tokens**:
  ```bash
  npx @cavos/cli transfer --to <address> --amount <amount> --token <token> --json
  ```

### 3. Contract Interactions
- **Approve Spending**:
  ```bash
  npx @cavos/cli approve --spender <address> --amount <amount> --token <token> --json
  ```
- **Execute Call**:
  ```bash
  npx @cavos/cli execute --contract <address> --entrypoint <method> --calldata <comma_separated_vals> --json
  ```
- **Read Call**:
  ```bash
  npx @cavos/cli call --contract <address> --entrypoint <method> --calldata <vals> --json
  ```

### 4. Advanced Operations
- **Multicall**: Batch multiple calls.
  ```bash
  npx @cavos/cli multicall --calls '<json_array>' --json
  ```
- **Simulate/Estimate**: Check tx before sending.
  ```bash
  npx @cavos/cli simulate --contract <addr> --entrypoint <method> --calldata <vals> --json
  ```
- **Transaction Status**:
  ```bash
  npx @cavos/cli tx status <hash> --json
  ```

## Best Practices
1. **Verify Balance**: Always run `balance` before a `transfer`.
2. **Check Session**: Run `whoami` or `session-status` at the start of a workflow to ensure authentication.
3. **Use JSON**: Parsing JSON output is safer than regexing stdout.
4. **Calldata**: Calldata for `execute` and `call` should be comma-separated strings (e.g., `0x1,100`).