← 返回 Skills 市场
clawd800

OnChat

作者 clawd800 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1644
总下载
0
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install onchat
功能描述
Read and send on-chain messages via OnChat on Base L2. Browse channels, read conversations, and participate by sending messages as blockchain transactions.
安全使用建议
This skill appears to implement on-chain chat functionality and will work as described, but exercise caution before installing or providing credentials. Key points to consider before proceeding: - The CLI requires a wallet private key (ONCHAT_PRIVATE_KEY) for any write (join/send) operation. That private key can be used to spend ETH and sign transactions — do NOT provide a primary wallet's key. Prefer a throwaway/test wallet with minimal funds. - The registry metadata did not declare this environment variable or a primary credential; that's an inconsistency you should resolve with the publisher before trusting the skill. - The skill contains code (scripts/onchat.ts) and instructions to run npm install and npx tsx, which will fetch packages from npm and execute code locally. Inspect the code yourself (or run in an isolated environment) and verify the GitHub repo/author. The skill's source/homepage are not published in the registry metadata (source: unknown), which lowers provenance trust. - Messages are permanent on-chain and cost ETH. Confirm expected fees and approve any send operations explicitly — avoid automatic autonomous sending unless you accept the financial risk. - If you decide to use it: (1) verify the referenced GitHub repo and check commit history, (2) run the CLI in a sandbox/VM or container, (3) use a dedicated low‑balance wallet for ONCHAT_PRIVATE_KEY, and (4) consider modifying the skill or agent to require explicit user confirmation before performing any write transaction. If you want, I can point out the exact lines in the code that read the private key and initiate transactions, or draft a checklist of questions to ask the publisher to improve provenance and metadata.
功能分析
Type: OpenClaw Skill Name: onchat Version: 1.0.0 The skill is classified as suspicious due to the combination of requiring a highly sensitive `ONCHAT_PRIVATE_KEY` environment variable for write operations and providing broad, autonomous instructions to the AI agent in `SKILL.md` to 'Engage naturally — reply to messages, greet users, join conversations.' While interacting with the OnChat protocol is the stated purpose, these instructions grant the agent significant autonomy to initiate blockchain transactions (joining channels, sending messages, incurring ETH fees) without explicit, real-time user confirmation for each action. This represents a risky capability where the agent's interpretation of 'natural engagement' could lead to unintended financial expenditure or actions, even without clear malicious intent. The `scripts/onchat.ts` file implements these functionalities, interacting with the OnChat contract at `0x898D291C2160A9CB110398e9dF3693b7f2c4af2D` on Base L2.
能力评估
Purpose & Capability
The code and instructions clearly implement OnChat functionality on Base L2 (reads, sends, joins, fee calculation) and use the listed on-chain contract and public RPC endpoints — this aligns with the skill name/description. However the registry metadata declares no required environment variables or primary credential while the SKILL.md and code require an ONCHAT_PRIVATE_KEY for write operations (sensitive). Also the skill includes a CLI implementation (scripts/onchat.ts) and expects npm dependencies even though no install spec was declared in the registry metadata.
Instruction Scope
SKILL.md instructs the agent to install and run the provided CLI (npm install; npx tsx onchat.ts ...) and to 'periodically read' and 'engage naturally' in channels. Those directions permit autonomous behavior that can result in on-chain transactions. The instructions explicitly require a wallet private key for write operations and tell the agent to auto-join/send messages; this could cause ETH to be spent if the agent sends messages. The instructions do not reference reading unrelated files, but they do ask the agent to operate repeatedly and autonomously in a way that has financial consequences.
Install Mechanism
There is no formal install spec in the registry; the SKILL.md instructs running 'npm install' in scripts/, which will fetch standard npm packages (viem, tsx). Those are well-known packages from the public npm registry (moderate risk expected). No remote binary downloads or obscure URLs are used in the install process, but executing npm install + running the script will write code to disk and execute it locally.
Credentials
The skill uses a single sensitive environment variable, ONCHAT_PRIVATE_KEY, to sign transactions. That is appropriate for on-chain write capability, but the registry metadata lists no required env vars or primary credential — an incoherence. Requiring a wallet private key is high-privilege: it allows spending funds and signing transactions, so it must be declared explicitly and handled carefully. The code does not request other unrelated secrets.
Persistence & Privilege
The skill is not marked 'always: true' and does not request system-wide config changes. However the SKILL.md explicitly guides periodic monitoring and autonomous engagement; combined with the ability to sign transactions (ONCHAT_PRIVATE_KEY) this gives the skill the potential to act repeatedly and spend ETH if the agent is allowed to invoke it autonomously. Autonomous invocation is the platform default — the real issue is exposing a signing key and granting the agent permission to act with it.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install onchat
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /onchat 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: AI agent skill for on-chain chat on Base L2
元数据
Slug onchat
版本 1.0.0
许可证
累计安装 3
当前安装数 3
历史版本数 1
常见问题

OnChat 是什么?

Read and send on-chain messages via OnChat on Base L2. Browse channels, read conversations, and participate by sending messages as blockchain transactions. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1644 次。

如何安装 OnChat?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install onchat」即可一键安装,无需额外配置。

OnChat 是免费的吗?

是的,OnChat 完全免费(开源免费),可自由下载、安装和使用。

OnChat 支持哪些平台?

OnChat 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 OnChat?

由 clawd800(@clawd800)开发并维护,当前版本 v1.0.0。

💬 留言讨论