← 返回 Skills 市场
X-Claw
作者
fourtytwo42
· GitHub ↗
· v0.1.0
594
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install x-claw
功能描述
Operate the local X-Claw agent runtime for intents, approvals, execution, reporting, and wallet operations.
安全使用建议
This skill appears to be a full integration for a local X-Claw agent, but it performs invasive host changes and relaxes wallet policy defaults by design. Before installing: 1) Only proceed if you trust the source (https://xclaw.trade) and can verify release signatures or provenance. 2) Inspect scripts (setup_agent_skill.py and openclaw_gateway_patch.py) yourself — they will copy files into ~/.openclaw, create launchers on PATH, and patch OpenClaw JS bundles. 3) Do not run the installer on a machine with production wallets or real funds; prefer a disposable VM or test environment. 4) If you must install, set XCLAW_OPENCLAW_AUTO_PATCH=0 to disable automatic gateway patching, back up ~/.openclaw, and review/modify the default policy file (~/.xclaw-agent/policy.json) to require explicit approvals and lower spend caps. 5) Confirm required env vars (XCLAW_AGENT_API_KEY, XCLAW_API_BASE_URL, XCLAW_DEFAULT_CHAIN) are set appropriately and avoid supplying real wallet passphrases during initial setup. If you can obtain an official signed release or documentation from the project author confirming the patcher/installer steps, that would reduce risk; absent that, treat this as high-risk and review manually.
功能分析
Type: OpenClaw Skill
Name: x-claw
Version: 0.1.0
The skill bundle is classified as suspicious due to its highly invasive installation and runtime modification practices. The `scripts/setup_agent_skill.py` script performs extensive system changes, including creating executable launchers on PATH, modifying OpenClaw's configuration, and crucially, executing `scripts/openclaw_gateway_patch.py`. This patcher script directly modifies OpenClaw's core JavaScript bundles (`reply-*.js`) to inject custom logic for handling Telegram approvals, a high-privilege operation that alters the host environment's functionality. While the stated intent of these modifications is to enhance security by bypassing the LLM for critical approval decisions and improving UX, these methods introduce a significant attack surface and potential for critical vulnerabilities (e.g., RCE if the patched code or the `xclaw-agent` binary it calls were compromised), even if no explicit malicious payload is present in the current version.
能力评估
Purpose & Capability
Name/description (operate local X-Claw agent) aligns with the code (wrapper + installer + patcher). However the registry metadata omitted required env vars that are listed in SKILL.md (XCLAW_API_BASE_URL, XCLAW_DEFAULT_CHAIN). The skill also contains an automated OpenClaw gateway patcher that modifies unrelated OpenClaw runtime bundles and restarts services — heavier privileges than a simple CLI wrapper and not obviously required by the brief registry description.
Instruction Scope
SKILL.md + scripts instruct the agent to copy files into ~/.openclaw, write/update ~/.openclaw/openclaw.json, create a launcher on PATH, write a local policy file (~/.xclaw-agent/policy.json), and run a gateway patch that scans and edits OpenClaw's JS bundles to reroute Telegram approval callbacks. The code also reads session state (sessions.json) and other local state. These are broad host modifications and data reads beyond simply invoking a local CLI and should be explicitly consented.
Install Mechanism
There is no registry install spec, but the included setup script performs idempotent installation: copies the skill into ~/.openclaw/skills, creates a launcher in system paths (or ~/.xclaw-agent/bin), may bootstrap pip/venv, and auto-installs foundry 'cast' to ~/.foundry/bin. openclaw_gateway_patch.py will write patched JS into OpenClaw 'dist' bundles and may restart. These are write-and-execute changes to local system code (non-trivial install risk).
Credentials
Primary credential XCLAW_AGENT_API_KEY is reasonable for a local agent wrapper. But SKILL.md also requires XCLAW_API_BASE_URL and XCLAW_DEFAULT_CHAIN (and optionally wallet passphrase), which are not reflected in the registry's 'required env vars' field. The setup creates a default policy file that sets approval_required: false and approval_granted: true with a large native cap — this effectively relaxes spend controls unless the user tightens them, which is a high-impact side effect for a wallet-related skill.
Persistence & Privilege
The skill's installer and patcher persistently modify other components: copy into OpenClaw skill directory, set XCLAW_AGENT_RUNTIME_BIN in ~/.openclaw/openclaw.json, add a launcher to PATH, write ~/.xclaw-agent/policy.json, and patch OpenClaw JS bundles. It therefore changes other skills/configs and can become a persistent, privileged presence on the host.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install x-claw - 安装完成后,直接呼叫该 Skill 的名称或使用
/x-claw触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
First release of X-Claw.
X-Claw is a secure agent wallet for EVM-compatible blockchains, including Ethereum, Avalanche, BNB Chain, Base, and others.
Its core differentiator is a built-in permission system that gives users explicit control over agent actions, with approve/deny workflows available in Telegram and on the web at https://xclaw.trade.
元数据
常见问题
X-Claw 是什么?
Operate the local X-Claw agent runtime for intents, approvals, execution, reporting, and wallet operations. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 594 次。
如何安装 X-Claw?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install x-claw」即可一键安装,无需额外配置。
X-Claw 是免费的吗?
是的,X-Claw 完全免费(开源免费),可自由下载、安装和使用。
X-Claw 支持哪些平台?
X-Claw 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 X-Claw?
由 fourtytwo42(@fourtytwo42)开发并维护,当前版本 v0.1.0。
推荐 Skills