TopRank Skills

Home / Claw Skills / Git / GitHub / Near Cli Tools
Official OpenClaw rules 36%

Near Cli Tools

NEAR Tools NEAR CLI Installation & Setup

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Near Cli Tools 技能。 若已安装,则直接安装 Near Cli Tools 技能。

Overview

Skill Key
cuongdcdev/near-cli-tools
Author
cuongdcdev
Source Repo
openclaw/skills
Version
-
Source Path
skills/cuongdcdev/near-cli-tools
Latest Commit SHA
8be1cc5114b55b329c267399beaa40d916423ee4

Extracted Content

SKILL.md excerpt

# NEAR Tools - NEAR CLI Installation & Setup

> **CRITICAL FOR AGENTS:** Before calling any `near` command, you **MUST** find the absolute path of the `near` binary (e.g., using `which near` or `whereis near`) and use that absolute path in your commands. This ensures consistency across different shell environments.

This skill provides comprehensive guidance for installing and setting up the NEAR Protocol CLI (near-cli-rs) on any platform.

## Installation Methods

Choose the installation method that works best for your system:

### Option 1: Shell Script (Linux, macOS, WSL)

**Best for:** Most Linux and macOS users

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

**if not add near to PATH:** 
find the near binary by `whereis near`

**Add to PATH:**

```bash
# Temporary (current session only)
export PATH="$HOME/.cargo/bin:$PATH"

# Permanent (add to your shell config)
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc  # For bash
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.zshrc   # For zsh
```

Reload your shell or run:
```bash
source ~/.bashrc   # or ~/.zshrc
```

### Option 2: npm/npx (Any Platform with Node.js)

**Best for:** JavaScript/TypeScript developers, Windows users

**Run directly without installation:**
```bash
npx near-cli-rs
```

**Install globally:**
```bash
npm install -g near-cli-rs
```

**Or add to package.json:**
```bash
npm install --save-dev near-cli-rs
```

Then use:
```bash
npx near-cli-rs
```

### Option 3: Windows Installer

**Best for:** Windows users without Node.js or Cargo

1. Visit: https://github.com/near/near-cli-rs/releases/latest
2. Download the Windows MSI installer (e.g., `near-cli-rs-installer-x64.msi`)
3. Double-click the installer and follow the wizard
4. The installer automatically adds NEAR CLI to your PATH

### Option 4: Cargo (Rust)

**Best for:** Rust developers, custom builds

**Prerequisites:** Install Rust first fr...

README excerpt

# near-tools — NEAR Protocol CLI Skill

> **Install and use the NEAR Protocol CLI (`near-cli-rs`) with OpenClaw AI agents**

## 🎯 What It Does

Helps AI agents install, configure, and use the NEAR CLI to interact with the NEAR Protocol blockchain:

- ✅ Multi-platform installation (Linux, macOS, Windows, WSL)
- ✅ Account management (view, create, import/export)
- ✅ Token operations (NEAR, FT, NFT)
- ✅ Staking management
- ✅ Smart contract deployment and interaction
- ✅ Transaction operations

## 📦 Installation

### For Users

No installation needed! This is a reference skill that provides installation instructions for the NEAR CLI itself.

### For AI Agents

**Critical**: Before calling any `near` command, agents MUST get the absolute path:

```bash
# Find the absolute path
which near
# or
whereis near

# Use the absolute path in commands
/root/.cargo/bin/near account view-account-summary cuongdcdev.near network-config mainnet now
```

## 🚀 Quick Start

### Install NEAR CLI

**Linux/macOS/WSL (recommended):**
```bash
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/near-cli-rs/releases/latest/download/near-cli-rs-installer.sh | sh
```

**npm/npx (any platform with Node.js):**
```bash
# Run without installing
npx near-cli-rs

# Or install globally
npm install -g near-cli-rs
```

**Windows:**
Download the MSI installer from [GitHub Releases](https://github.com/near/near-cli-rs/releases/latest)

### Verify Installation

```bash
near --version
# Expected: near-cli-rs 0.23.6 or newer
```

### View Account Balance

```bash
near account view-account-summary <account-id> network-config mainnet now

# Example
near account view-account-summary cuongdcdev.near network-config mainnet now
```

## 📖 Common Commands

### Account Operations
```bash
# View account details
near account view-account-summary <account-id> network-config mainnet now

# Import existing account
near account import-account

# Create new account
near account create-account

# Export acc...

Related Claw Skills

heyixuan2

bambu-studio-ai

★ 41

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).

capt-marbles

geo-optimization

★ 1

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.

carlulsoe

parakeet-stt

★ 0

Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, or processing voice recordings locally without cloud APIs.

carlzhao007

feishu-process-feedback

★ 0

飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化。 使用场景:飞书自动化工作流、任务进度追踪、批量任务处理、需要实时反馈的场景。

cartoonitunes

bottyfans

★ 0

BottyFans agent skill for autonomous creator monetization. Lets AI agents register, build a profile, publish posts (public, subscriber-only, or pay-to-unlock), upload media, accept USDC subscriptions and tips on Base, send and receive DMs, track earnings, and appear on the creator leaderboard. Use this skill when an agent needs to monetize content, interact with fans, manage a creator profile, handle payments in USDC, or operate as an autonomous creator on the BottyFans platform.

camopel

arxivkb

★ 0

Local arXiv paper manager with semantic search. Crawls arXiv categories, downloads PDFs, chunks content, and indexes with FAISS + Ollama embeddings. No cloud API keys required — everything runs locally.