ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 4/5

near-agent-skills

Comprehensive agentic skills for NEAR Protocol, including gas optimization and on-chain analytics.

Why use this skill?

Enhance your AI agents with NEAR Protocol skills. Real-time gas optimization, DeFi analytics, and network monitoring for autonomous blockchain interactions.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/mastrophot/near-agent-skills
Or

What This Skill Does

The near-agent-skills package provides a robust suite of tools designed to empower autonomous agents interacting with the NEAR Protocol. This toolkit acts as a bridge between high-level agent logic and low-level blockchain data, specializing in two key domains: gas optimization and deep on-chain analytics. By integrating these tools, agents can make informed decisions regarding transaction cost efficiency and gain real-time visibility into the NEAR ecosystem's health, liquidity, and activity.

Installation

To integrate this skill into your OpenClaw environment, execute the following installation command in your terminal:

clawhub install openclaw/skills/skills/mastrophot/near-agent-skills

Ensure you have the latest version of OpenClaw installed. After running the install command, the tools will be automatically registered and available for your agent to invoke during execution loops.

Use Cases

  • Automated Cost Management: Agents can use gas estimation tools before finalizing transactions to ensure optimal cost management, especially during periods of network congestion.
  • Portfolio Monitoring: The analytics tools allow agents to track whale activity and DeFi trends, helping them pivot investment strategies based on real-time on-chain data.
  • Market Analysis: Developers and traders can utilize network throughput data to identify underutilized contracts or emerging DeFi protocols with high growth potential.
  • Cross-Chain Strategy: Use the gas comparison tool to determine if executing an operation on NEAR is more cost-effective compared to Ethereum for a specific set of logic.

Example Prompts

  1. "Estimate the gas cost for calling the transfer function on this contract and suggest ways to optimize the payload size."
  2. "What are the top 3 trending DeFi smart contracts on NEAR based on volume over the last 24 hours?"
  3. "Compare the current transaction fees on NEAR versus Ethereum for a standard swap and execute the cheapest path."

Tips & Limitations

  • Rate Limiting: When performing bulk analytics queries, be mindful of public RPC rate limits. It is recommended to use a private RPC endpoint if your agent performs frequent deep-data scans.
  • Gas Estimates: Gas estimates are predictive; always set a reasonable buffer when submitting transactions to account for minor fluctuations during block propagation.
  • Accuracy: While on-chain data is immutable, analytics regarding 'whales' or 'trending' contracts rely on indexer latency. Always verify critical financial data against multiple sources if possible.

Metadata

Stars1401
Views1
Updated2026-02-24
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-mastrophot-near-agent-skills": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags

#near#blockchain#analytics#gas-optimizer#agent-skills
Safety Score: 4/5

Flags: network-access, external-api