Skip to content
Back to skills

Near Subaccount

ASecurity

Create, list, delete, and manage NEAR subaccounts with bulk distribution operations.

  • 7 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 7, 2026
toolsbash

Works with

  • cli

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned June 7, 2026

npx -y skills add modbender/skill-library-mcp --skill near-subaccount --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Near Subaccount?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Near Subaccount
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-near-subaccount/badge)](https://www.skillsdirectory.com/skills/modbender-near-subaccount)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: near-subaccount
description: Create, list, delete, and manage NEAR subaccounts with bulk distribution operations.
---

# 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:**
```bash
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:**
```bash
near-subaccount list myaccount.near
```

### `near-subaccount delete <subaccount_id> [master_account]`
Delete a subaccount.

**Parameters:**
- `subaccount_id` - Full subaccount ID to delete
- `master_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 list
- `amount` - NEAR amount to send each (default: 0.1)

**JSON format:**
```json
{
  "subaccounts": [
    "wallet1.myaccount.near",
    "wallet2.myaccount.near",
    "wallet3.myaccount.near"
  ]
}
```

## Configuration

Set your default account:
```bash
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 in this skill

  • README.md1 KB
  • SKILL.md2.2 KB
  • package.json168 B
  • scripts/subaccount.js5.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…