Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计提醒

near-cli-toolsnear CLI tools 搜索

Agent Skill

near-cli-tools 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

24,448

周安装

989

GitHub Stars

公开资料未说明

下载量

7,675
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:near-cli-tools(near CLI tools 搜索)
来源仓库:https://github.com/cuongdcdev/near-cli-tools
安装命令:
openclaw skills install near-cli-tools
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install near-cli-tools

简介

near-cli-tools 用于在 OpenClaw 中查找、检索和筛选相关信息,适合根据关键词或任务场景快速定位候选结果。

  • 适用于需要从 NEAR Protocol CLI 相关资源中获取路径指引、安装步骤或验证流程的场景。
  • 通过 clawhub 安装后,结合原始 README 可进一步核验具体用法和功能边界。
  • 安装前需确认权限范围、维护状态,以及是否涉及联网、命令执行或文件读写操作。
  • 适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
near-tools
description
NEAR Protocol CLI installation and setup guide. Use when: (1) User asks how to install NEAR CLI, (2) User needs help setting up near-cli-rs, (3) User wants to verify NEAR CLI installation, (4) User needs to install near-cli-rs, (5) user wants to use near cli to perform any action on the blockchain. AGENTS MUST ALWAYS get the absolute path of the 'near' binary before execution.

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

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:

# 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:

source ~/.bashrc   # or ~/.zshrc

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

Best for: JavaScript/TypeScript developers, Windows users

Run directly without installation:

npx near-cli-rs

Install globally:

npm install -g near-cli-rs

Or add to package.json:

npm install --save-dev near-cli-rs

Then use:

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 from https://rustup.rs/

Install:

cargo install near-cli-rs

Or install latest from git:

cargo install --git https://github.com/near/near-cli-rs

Linux users may need:

# Debian/Ubuntu
sudo apt install libudev-dev

# Fedora/Red Hat
sudo dnf install libudev-devel

Verification

After installation, verify it's working:

near --version

Expected output:

near-cli-rs 0.23.6  # or newer version

If the command is not found:

  1. Make sure the installation directory is in your PATH:
   echo $PATH | grep cargo  # Check if cargo/bin is in PATH
  1. If not found, add it manually:
   export PATH="$HOME/.cargo/bin:$PATH"
  1. Test again:
   near --version

Configuration

View Configuration Location

near --help
# Output will show where config is stored, typically:
# "near CLI configuration is stored in ~/.config/near-cli/config.toml"

View Available Commands

near --help

Main command groups:

  • account - Manage accounts (view, create, import, export)
  • tokens - Manage token assets (NEAR, FT, NFT)
  • staking - Manage staking (view, add, withdraw)
  • contract - Manage smart contracts (deploy, call functions)
  • transaction - Operate transactions
  • config - Manage connections in config.toml

First Steps

View Your Account Summary

If you already have a NEAR account:

near account view-account-summary <your-account.near> network-config mainnet now

Example:

near account view-account-summary near network-config mainnet now

Import an Existing Account

If you have a seed phrase or key:

near account import-account

Follow the interactive prompts to sign in.

Create a New Account

If you don't have an account yet:

near account create-account

Follow the prompts to create a new account (requires existing account to fund it).

Troubleshooting

"near: command not found"

Cause: NEAR CLI is not in your PATH

Solution:

# For shell script installation
export PATH="$HOME/.cargo/bin:$PATH"

# For npm global installation
export PATH="$(npm config get prefix)/bin:$PATH"

# Make it permanent by adding to ~/.bashrc or ~/.zshrc

"Permission denied" when running installer

Cause: Lack of execute permissions

Solution:

chmod +x near-cli-rs-installer.sh
./near-cli-rs-installer.sh

"near-cli-rs-installer.sh: No such file"

Cause: Download didn't work or file name changed

Solution:

# Check the releases page manually
curl -s https://api.github.com/repos/near/near-cli-rs/releases/latest | grep "browser_download_url" | grep "installer.sh"

Installation hangs or is slow

Cause: Network issues or slow connection

Solution:

# Use a longer timeout with curl
curl --proto '=https' --tlsv1.2 -LsSf --connect-timeout 30 --max-time 300 https://github.com/near/near-cli-rs/releases/latest/download/near-cli-rs-installer.sh | sh

Version Information

  • Latest stable version: 0.23.6 (as of documentation date)
  • Check for updates: Visit https://github.com/near/near-cli-rs/releases
  • Update: Re-run the installation command with the desired version

Additional Resources

  • Official GitHub: https://github.com/near/near-cli-rs
  • NEAR Protocol Docs: https://docs.near.org/
  • NEAR Stack Overflow: https://stackoverflow.com/questions/tagged/nearprotocol
  • NEAR Discord: https://discord.gg/near

Quick Reference

# Install (Shell script)
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/near-cli-rs/releases/latest/download/near-cli-rs-installer.sh | sh

# Install (npx)
npx near-cli-rs

# Verify installation
near --version

# View account
near account view-account-summary <account-id> network-config mainnet now

# Import account
near account import-account

# Help
near --help
near account --help
near tokens --help

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

70.25%
按下载量换算5,392

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills