claw-wallet: Skill for Cursor

.cursor/skills/desktop-wallet-start/SKILL.md

desktop-wallet-start is a skill for Cursor from janespace-ai/claw-wallet. It costs 20 tokens per session (801 once invoked), scanned D, original, MIT.

A setup guide for running Claw Wallet, an Electron desktop wallet, in a project for the first time or after reinstalling it.

In plain words
What is it for?
Installing dependencies, starting the desktop development version, checking TypeScript, building parts of the app, and matching wallet and blockchain connection settings.
Why use it?
It helps diagnose dependency-install errors, native SQLite module compilation problems, and Electron startup failures.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is janespace-ai/claw-wallet's own configuration. It tells Cursor how to work on claw-wallet itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claw-wallet configures →

Reuse

Borrowing it

Nothing to install: this file belongs to janespace-ai/claw-wallet. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/janespace-ai/claw-wallet/main/.cursor/skills/desktop-wallet-start/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/janespace-ai/claw-wallet

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for desktop-wallet-start

README.md
[![agentmods](https://agentmods.dev/badge/skills/janespace-ai/claw-wallet/desktop-wallet-start/github.svg)](https://agentmods.dev/skills/janespace-ai/claw-wallet/desktop-wallet-start)
Your own site
<a href="https://agentmods.dev/skills/janespace-ai/claw-wallet/desktop-wallet-start"><img src="https://agentmods.dev/badge/skills/janespace-ai/claw-wallet/desktop-wallet-start/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for desktop-wallet-start

Your own site · 80×15
<a href="https://agentmods.dev/skills/janespace-ai/claw-wallet/desktop-wallet-start"><img src="https://agentmods.dev/badge/skills/janespace-ai/claw-wallet/desktop-wallet-start.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 801 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.00801
Opus 5 $0.00010 $0.00400
Sonnet 5 $0.00004 $0.00160
Haiku 4.5 $0.00002 $0.00080

Measured 11d ago against content hash 57af9598408f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade D, and why

desktop-wallet-start scanned grade D with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo chown -R "$(whoami)" node_modules

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

sudo rm -rf node_modules && npm install
.cursor/skills/desktop-wallet-start/SKILL.md · 85 lines

What it actually says

Claw Wallet 桌面钱包启动指引

适用场景

  • 在仓库中第一次或重新运行桌面钱包开发版
  • 排查 npm install、原生模块 better-sqlite3、Electron 无法启动等问题

环境与路径

  • Node.js:建议 20.x / 22.x LTS;若使用 24.x,本地编译原生依赖时可能需要 CXXFLAGS=-std=c++20.
  • 所有安装与启动命令在仓库的 desktop/ 下执行:
cd desktop

首次安装依赖

npm install

请勿在项目目录对 npm 使用 sudo,否则 node_modules 可能出现属主为 root 的文件,导致 EACCESrename 失败。若已误操作:

sudo chown -R "$(whoami)" node_modules

或删除后重装(不用 sudo):

sudo rm -rf node_modules && npm install

better-sqlite3 / node-gyp(Node 24)

若预构建超时或编译报 C++20 相关错误:

CXXFLAGS="-std=c++20" npm install

postinstall 会执行 electron-rebuild -f -w better-sqlite3,需能正常完成。

启动开发版

npm run dev

该脚本会先 npm run build,再通过 scripts/run-electron.mjs 启动 Electron。run-electron.mjs 会清除环境变量 ELECTRON_RUN_AS_NODE,避免 IDE 注入导致 electron 解析异常。

常用脚本(均在 desktop/ 下)

命令 作用
npm run dev 构建并启动 Electron
npm run build 仅完整构建
npm run typecheck TypeScript 检查
npm run build:main 仅编译主进程

配置与联调

  • desktop/config.json:中继 relayUrl(可用 CLAW_DESKTOP_RELAY_URL 覆盖)、各链 chains.*.rpcUrl、签名预算 signing 等。
  • 本地链 RPC 需与配置一致;Agent 端链与 RPC 需与桌面可连上的节点一致。

故障速查

现象 处理方向
EACCES / renamebetter-sqlite3 修复 node_modules 属主或删除后不用 sudo 重装
Electron 启动异常 使用 npm run dev;不要带着 ELECTRON_RUN_AS_NODE 手动启动
prebuild 超时 重试或 CXXFLAGS 走本地编译
Unknown env config "devdir" 检查 ~/.npmrc,移除无效 devdir(可选)

Agent 使用本 skill 时

  • 用户说「启动桌面钱包」:先 cd desktop,再 npm install / npm run dev
  • 拉代码后先确认 desktop/node_modules 安装成功,再排查功能问题。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 85 lines · 20 tokens per session scan D 57af9598408f

Subscribe to this mod's changes

desktop-wallet-start is a skill published in the GitHub repository janespace-ai/claw-wallet (54 stars, last pushed 5mo ago), licensed MIT. It adds 20 tokens to every session and 801 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

aomi-transact

Build natural-language crypto/DeFi agents and EVM MCP plugins (Claude Code, Cursor, Codex, Gemini). Aomi turns prompts into wallet-signed txs on Ethereum, Base, Arbitrum, Optimism, Polygon, Linea — non-custodial, fork-simulated. 40+ apps: Uniswap, Aave, Lido, Morpho, GMX, Hyperliquid, Polymarket.

sickn33/agentic-awesome-skills · 95 tokens

aomi-transact

Build natural-language crypto agents, web3 assistants, and trading bots that read and write EVM chain state. Aomi turns prompts ("swap 1 ETH for USDC", "open a 3x GMX long", "bet $100 on Polymarket") into wallet-signed transactions on Ethereum, Base, Arbitrum, Optimism, Polygon, Linea — non-custodial, fork-simulated.…

aomi-labs/skills · 221 tokens

aomi-transact

Build natural-language crypto agents, web3 assistants, and trading bots that read and write EVM chain state. Aomi turns prompts ("swap 1 ETH for USDC", "open a 3x GMX long", "bet $100 on Polymarket") into wallet-signed transactions on Ethereum, Base, Arbitrum, Optimism, Polygon, Linea — non-custodial, fork-simulated.…

Bilal140202/the-lord-of-the-skills · 211 tokens

aomi-transact

Build natural-language crypto/DeFi agents and EVM MCP plugins (Claude Code, Cursor, Codex, Gemini). Aomi turns prompts into wallet-signed txs on Ethereum, Base, Arbitrum, Optimism, Polygon, Linea — non-custodial, fork-simulated. 40+ apps: Uniswap, Aave, Lido, Morpho, GMX, Hyperliquid, Polymarket.

sinhoneyy/master-skills · 95 tokens

aomi-transact

Build natural-language crypto/DeFi agents and EVM MCP plugins (Claude Code, Cursor, Codex, Gemini). Aomi turns prompts into wallet-signed txs on Ethereum, Base, Arbitrum, Optimism, Polygon, Linea — non-custodial, fork-simulated. 40+ apps: Uniswap, Aave, Lido, Morpho, GMX, Hyperliquid, Polymarket.

iradoweck/antigravity-awesome-skills · 95 tokens

aomi-transact

Build natural-language crypto agents, web3 assistants, and trading bots that read and write EVM chain state. Aomi turns prompts ("swap 1 ETH for USDC", "open a 3x GMX long", "bet $100 on Polymarket") into wallet-signed transactions on Ethereum, Base, Arbitrum, Optimism, Polygon, Linea — non-custodial, fork-simulated.…

aomi-labs/skills · 221 tokens