NEAR Tools for Openclaw

A comprehensive toolkit for installing and managing the NEAR Protocol CLI across all platforms.

cuongdcdev
v1.0.0
Feb 16, 2026
0
1.8k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install near-cli-tools

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install near-cli-tools using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is NEAR Tools?

NEAR Tools provides a robust framework for developers to interact with the NEAR Protocol blockchain directly from their terminal. This skill focuses on the installation and initial setup of near-cli-rs, the official Rust-based command-line interface. By integrating this into your Openclaw Skills library, you ensure that your AI agents can seamlessly perform blockchain operations, manage accounts, and deploy smart contracts.

It covers everything from shell script installations for Unix-like systems to npm-based setups for Windows environments, making it an essential utility for any decentralized application developer. This skill emphasizes the importance of environment consistency, particularly for automated workflows where locating the absolute binary path is critical for execution reliability.

NEAR Tools Use Cases

  • Setting up a new development environment for NEAR Protocol blockchain projects.
  • Automating NEAR account management and token transfers via AI agents.
  • Verifying CLI installation and resolving PATH environment variable issues.
  • Deploying and interacting with smart contracts on NEAR mainnet or testnet.
  • Troubleshooting common installation errors and permission denials in Openclaw Skills workflows.

How NEAR Tools Works

  1. Select the preferred installation method based on the operating system and existing toolchains (e.g., Shell script, npm, Windows MSI, or Cargo).
  2. Execute the installation command to download and set up the near-cli-rs binary.
  3. Configure the system PATH to ensure the near command is accessible from any terminal session.
  4. Verify the installation using the version check command to confirm the CLI is responsive.
  5. Use the CLI to connect to the NEAR network, import accounts, or view account summaries using Openclaw Skills standards.

NEAR Tools Setup

Quick Installation

For Linux, macOS, or WSL, use the official shell script:

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/near-cli-rs/releases/latest/download/near-cli-rs-installer.sh | sh

Node.js Installation

For environments with Node.js installed:

npm install -g near-cli-rs

Path Configuration

To make the installation permanent, add the following to your shell configuration file (e.g., .bashrc or .zshrc):

export PATH="$HOME/.cargo/bin:$PATH"

Reload your shell with source ~/.bashrc to apply changes.

NEAR Tools Data Schema & Taxonomy

NEAR Tools organizes configuration and account data within the user's home directory to maintain secure access to blockchain assets. The primary data structures include:

Item Location Description
Config File ~/.config/near-cli/config.toml Stores network connections, default accounts, and CLI preferences.
Credentials ~/.near-credentials/ Directory containing JSON files for account private keys and access keys.
Binary Path /usr/local/bin or ~/.cargo/bin The location of the executable used by Openclaw Skills for automation.
Versioning near --version Tracks the specific release of near-cli-rs currently in use.

NEAR Tools Advanced Features

  • Multi-network support for switching between mainnet, testnet, and localnet via config.toml.
  • Automated account creation and funding through interactive CLI prompts.
  • Comprehensive management for NEAR tokens, Fungible Tokens (FT), and Non-Fungible Tokens (NFT).
  • Integration-ready outputs for AI agents using absolute binary paths to avoid shell environment discrepancies.
  • Support for hardware wallet integration and secure key management within the Openclaw Skills framework.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*