技能详情(站内镜像,无评论)
作者:Aryan J @aryanj-nyc
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v0.1.6
统计:⭐ 2 · 300 · 0 current installs · 0 all-time installs
⭐ 2
安装量(当前) 0
🛡 VirusTotal :良性 · OpenClaw :良性
Package:aryanj-nyc/weave
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :良性
OpenClaw 评估
The skill's requests, install guidance, and runtime instructions are coherent with a CLI-based crypto-invoicing tool and do not ask for unrelated secrets or unexpected system privileges.
目的
Name/description, required binary (`weave`), and the install guidance (Go module + npm fallback) align with a CLI that creates/quotes/tracks crypto invoices. No unrelated env vars, binaries, or config paths are requested.
说明范围
SKILL.md limits actions to invoking the `weave` CLI, querying `weave tokens`, creating/quoting/status workflows, and handling exit codes and JSON outputs. It explicitly forbids exposing secrets and fiat workflows. It does not instruct the agent to read unrelated files or exfiltrate data.
安装机制
Install guidance uses `go install` from a GitHub module and an npm package fallback (`weave-cash-cli`), which are standard package-manager approaches and not high-risk arbitrary downloads or pipe-to-shell installers. The skill's own repo includes publish/release scripts but no hidden remote installers.
证书
The skill declares no required environment variables or credentials. That is proportionate for an instruction-only wrapper around a CLI. (Note: the runtime CLI may require API tokens outside the skill, but the skill does not request or assume access to unrelated secrets.)
持久
always is false, model invocation is allowed (the platform default), and the skill does not request persistent system modifications or access to other skills' configurations. Included scripts are publishing tooling and do not run automatically.
综合结论
This skill is internally consistent and appears to be a thin wrapper around the Weave CLI. Before installing or running: (1) verify the authenticity of the referenced upstream project (github.com/AryanJ-NYC/weave-cash and the npm package name) and confirm you trust that source; (2) do not paste private keys or tokens into prompts or outputs—the SKILL.md explicitly warns about secrets; (3) when asked to install the CLI, review the exact `go ins…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Weave」。简介:Create crypto invoices and stablecoin invoices (USDC/USDT), generate payment qu…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/aryanj-nyc/weave/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: weave
description: Use when creating crypto or stablecoin invoices, generating payment quotes, or tracking invoice payment status with the Weave CLI.
license: AGPL-3.0-or-later
metadata:
openclaw:
requires:
bins:
- weave
install:
- kind: go
module: github.com/AryanJ-NYC/weave-cash/apps/cli/cmd/weave
bins:
- weave
- id: node
kind: node
package: weave-cash-cli
label: Fallback: Install Weave CLI (npm)
bins:
- weave
emoji: '🧶'
homepage: 'https://www.weavecash.com'
clawdbot:
requires:
bins:
- weave
install:
- kind: go
module: github.com/AryanJ-NYC/weave-cash/apps/cli/cmd/weave
bins:
- weave
- id: node
kind: node
package: weave-cash-cli
label: Fallback: Install Weave CLI (npm)
bins:
- weave
emoji: '🧶'
homepage: 'https://www.weavecash.com'
---
# Weave
Weave is a CLI for crypto invoicing and cross-chain payment workflows. Use this when you need to create Bitcoin, Ethereum, Solana, USDC, or USDT invoices, generate payment quotes, and monitor settlement across supported networks such as Base, Tron, and Zcash for agent workflows or operations.
## Overview
Use `weave` for full Weave Cash invoice lifecycle workflows:
1. Create an invoice (`weave create`)
2. Generate payment instructions (`weave quote`)
3. Track settlement (`weave status` or `weave status --watch`)
## Guardrails
- Crypto-to-crypto only. Do not introduce fiat currencies, fiat conversions, or fiat-denominated behavior.
- Prefer machine-readable JSON output. Use `--human` only when explicitly requested.
- Never expose secrets (private keys, tokens, JWTs) in outputs.
- Treat network/API calls as failure-prone and handle non-zero exits explicitly.
## When Not To Use
- Do not use this skill for fiat invoice or fiat settlement workflows.
- Do not use this skill for editing Weave web UI/frontend code.
- Do not use this skill for unrelated wallet custody or private-key management tasks.
- Do not use this skill when the user wants non-Weave payment rails.
## Preflight
1. Confirm CLI availability:
```bash
weave --help
```
2. Discover runtime token/network support before choosing assets:
```bash
weave tokens
```
3. If `weave` is missing, provide compliant install guidance and ask before running:
```bash
go install github.com/AryanJ-NYC/weave-cash/apps/cli/cmd/weave@latest
weave --help
```
If Go is unavailable, use npm fallback:
```bash
npm i -g weave-cash-cli
weave --help
```
If both Go and npm are unavailable, report the missing prerequisites.
## Compliant Install Policy
- Prefer `metadata.openclaw.install` / `metadata.clawdbot.install` package-manager installs.
- Never suggest remote download commands piped directly to a shell interpreter.
- Detect and instruct; do not auto-install dependencies without explicit user approval.
## Token And Network Selection
- Always trust live `weave tokens` output from the runtime binary.
- Do not hardcode token/network lists in reasoning.
- `--receive-network` is required only for receive tokens that support multiple networks.
- Network aliases are accepted (for example `Ethereum|ETH`, `Solana|SOL`, `Tron|TRX` when supported by runtime output).
## Workflow
### 1) Create Invoice
Collect:
- `receive-token`
- `amount` (positive numeric string)
- `wallet-address`
- `receive-network` only when required by runtime token/network map
- optional buyer fields (`description`, `buyer-name`, `buyer-email`, `buyer-address`)
Command:
```bash
weave create
--receive-token USDC
--receive-network Ethereum
--amount 25
--wallet-address 0x1111111111111111111111111111111111111111
```
Expected JSON shape:
```json
{
"id": "inv_123",
"invoiceUrl": "https://www.weavecash.com/invoice/inv_123"
}
```
Capture `id` for downstream `quote`/`status` calls.
### 2) Generate Quote
Collect:
- `invoice-id`
- `pay-token`
- `pay-network`
- `refund-address`
Command:
```bash
weave quote inv_123
--pay-token USDT
--pay-network Ethereum
--refund-address 0x2222222222222222222222222222222222222222
```
Expected fields:
- `depositAddress`
- `depositMemo` (optional)
- `amountIn`
- `amountOut`
- `timeEstimate`
- `expiresAt`
### 3) Check Status
One-shot:
```bash
weave status inv_123
```
Watch mode:
```bash
weave status inv_123 --watch --interval-seconds 5 --timeout-seconds 900
```
Interpretation:
- Exit `0`: reached terminal status (`COMPLETED`, `FAILED`, `REFUNDED`, `EXPIRED`)
- Exit `2`: watch timeout (not a command failure)
- Exit `1`: command/API/network/validation failure
## Error Handling
When exit code is `1`, surface structured stderr JSON when present. Common API-derived shape:
```json
{
"error": "api message",
"status": 409,
"details": {
"error": "Invoice is not in PENDING status"
}
}
```
If watch times out (exit `2`), treat as incomplete progress, not fatal failure. Recommend extending `--timeout-seconds` or rerunning a one-shot `weave status <invoice-id>`.
## Runtime Drift Rule
The installed binary and source tree can drift in token support. Always use runtime discovery (`weave tokens`) when deciding valid token/network combinations.