← 返回 Skills 市场
1114
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install near-subaccount
功能描述
Create, list, delete, and manage NEAR subaccounts with bulk distribution operations.
安全使用建议
Before installing or enabling this skill: 1) Inspect scripts/subaccount.js and package.json to confirm what the code does (look for file reads, network endpoints, child_process usage, or attempts to read ~/.near-credentials). 2) Confirm how the near-subaccount CLI is installed — the SKILL.md documents a command but provides no install steps. 3) Be aware this will need NEAR CLI credentials and access to the master account (private keys); do not run it on a machine that holds keys you cannot risk exposing. 4) If you plan to allow autonomous model invocation, avoid doing so until you verify the code does not exfiltrate credentials or perform unexpected network calls. 5) If anything is unclear, request the skill author supply installation instructions, a security/privacy note about credential use, and a code audit or reproducible build steps before proceeding.
功能分析
Type: OpenClaw Skill
Name: near-subaccount
Version: 1.0.1
The `scripts/subaccount.js` file uses `child_process.exec` to run NEAR CLI commands and `fs.promises.readFile` to read a JSON file. While these capabilities are necessary for the skill's stated purpose, the script does not perform explicit input sanitization on arguments passed to `execAsync` (e.g., `subaccountName`, `masterAccount`, `accountId`), making it vulnerable to command injection if malicious input is provided by the agent or user. Furthermore, the `bulkDistribute` function allows reading an arbitrary file path (`filePath`) specified by the user, which could be exploited for data exfiltration of sensitive local files (e.g., `~/.ssh/id_rsa`, `/etc/passwd`) if the agent is prompted to do so. There is no clear evidence of intentional malicious behavior, but the high-risk capabilities and lack of input sanitization make it suspicious.
能力评估
Purpose & Capability
Name, description, and the included scripts indicate a legitimate NEAR subaccount/Distribution tool — the capability set (create/list/delete/distribute) is consistent with a NEAR CLI helper. However the metadata declares no required environment variables or binaries even though SKILL.md explicitly requires NEAR CLI and an exported NEAR_ACCOUNT, which is an omission.
Instruction Scope
SKILL.md instructs use of a near-subaccount CLI and references exporting NEAR_ACCOUNT and providing a JSON file for bulk distribution. It assumes NEAR CLI is 'installed and configured' but does not declare or explain access to the local NEAR credentials (~/.near-credentials) or other keys that must exist for the master account. The instructions therefore fail to specify what credentials or file access will be needed at runtime.
Install Mechanism
No install spec is provided even though package.json and scripts/subaccount.js are present and the SKILL.md documents a command-line tool (near-subaccount). It's unclear how the CLI is installed or exposed (no brew/npm/install steps), which is an incoherence: the skill provides code but no prescribed safe installation path.
Credentials
Registry metadata lists no required environment variables or primary credential, yet SKILL.md instructs setting NEAR_ACCOUNT and expects NEAR CLI credentials for a master account (sensitive keys). The skill doesn't declare access to local credential files or any tokens, so required secrets are not proportionately documented.
Persistence & Privilege
No special persistence flags (always, disableModelInvocation) are set. The skill does not request permanent inclusion or elevated registry-level privileges in the metadata.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install near-subaccount - 安装完成后,直接呼叫该 Skill 的名称或使用
/near-subaccount触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Initial release of near-subaccount skill.
- Create, list, and delete NEAR subaccounts from the command line.
- Support for bulk NEAR token distribution to multiple subaccounts via JSON file.
- Clean and simple command-line interface.
- Optional parameters for master account and amount customization.
v1.0.0
Initial release of NEAR Subaccount Manager.
- Create, list, and delete NEAR subaccounts.
- Bulk distribute NEAR tokens to multiple subaccounts using a JSON file.
- Clean, easy-to-use command-line interface.
- Supports setting and using a default master account.
- Requires NEAR CLI and sufficient account balance for subaccount operations.
元数据
常见问题
Near Subaccount 是什么?
Create, list, delete, and manage NEAR subaccounts with bulk distribution operations. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1114 次。
如何安装 Near Subaccount?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install near-subaccount」即可一键安装,无需额外配置。
Near Subaccount 是免费的吗?
是的,Near Subaccount 完全免费(开源免费),可自由下载、安装和使用。
Near Subaccount 支持哪些平台?
Near Subaccount 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Near Subaccount?
由 shaiss(@shaiss)开发并维护,当前版本 v1.0.1。
推荐 Skills