← Back to Skills Marketplace
1114
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install near-subaccount
Description
Create, list, delete, and manage NEAR subaccounts with bulk distribution operations.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install near-subaccount - After installation, invoke the skill by name or use
/near-subaccount - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is Near Subaccount?
Create, list, delete, and manage NEAR subaccounts with bulk distribution operations. It is an AI Agent Skill for Claude Code / OpenClaw, with 1114 downloads so far.
How do I install Near Subaccount?
Run "/install near-subaccount" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Near Subaccount free?
Yes, Near Subaccount is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Near Subaccount support?
Near Subaccount is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Near Subaccount?
It is built and maintained by shaiss (@shaiss); the current version is v1.0.1.
More Skills