Near Subaccount
Create, list, delete, and manage NEAR subaccounts with bulk distribution operations.
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 0 · 882 · 0 current installs · 0 all-time installs
by@shaiss
MIT-0
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & 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.
What to consider before installing
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.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.1
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
NEAR Subaccount Manager Skill
Create and manage NEAR subaccounts easily.
Description
This skill provides tools to create, list, and delete NEAR subaccounts. Also includes bulk operations for distributing NEAR tokens to multiple subaccounts.
Features
- Create subaccounts
- List all subaccounts under an account
- Delete subaccounts
- Bulk distribute NEAR to multiple subaccounts
- Clean command-line interface
Commands
near-subaccount create <subaccount_name> [master_account]
Create a new subaccount.
Parameters:
subaccount_name- Name of the subaccount (without .master.account)master_account- Master account (optional, uses default)
Example:
near-subaccount create wallet myaccount.near
# Creates: wallet.myaccount.near
near-subaccount list [account_id]
List all subaccounts under an account.
Parameters:
account_id- Account to list subaccounts for (optional, uses default)
Example:
near-subaccount list myaccount.near
near-subaccount delete <subaccount_id> [master_account]
Delete a subaccount.
Parameters:
subaccount_id- Full subaccount ID to deletemaster_account- Master account (optional, uses default)
near-subaccount distribute <file.json> [amount]
Bulk distribute NEAR from master account to subaccounts listed in a JSON file.
Parameters:
file.json- JSON file with subaccount listamount- NEAR amount to send each (default: 0.1)
JSON format:
{
"subaccounts": [
"wallet1.myaccount.near",
"wallet2.myaccount.near",
"wallet3.myaccount.near"
]
}
Configuration
Set your default account:
export NEAR_ACCOUNT="myaccount.near"
Requirements
- NEAR CLI installed and configured
- Master account with sufficient balance for creating subaccounts (~0.1 NEAR each)
References
- NEAR CLI: https://docs.near.org/tools/near-cli
- Subaccount docs: https://docs.near.org/concepts/account/subaccounts
Files
4 totalSelect a file
Select a file to preview.
Comments
Loading comments…
