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.
curl -O https://raw.githubusercontent.com/janespace-ai/claw-wallet/main/.cursor/skills/desktop-wallet-start/SKILL.mdgit clone --depth 1 https://github.com/janespace-ai/claw-walletWrote 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.
[](https://agentmods.dev/skills/janespace-ai/claw-wallet/desktop-wallet-start)<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.
<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>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.
| Model | Per session | Once 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 |
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 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 的文件,导致 EACCES、rename 失败。若已误操作:
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 / rename … better-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安装成功,再排查功能问题。
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.
- 11d ago First seen · 85 lines · 20 tokens per session scan D 57af9598408f
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.
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.
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-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-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.
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.
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.…