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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/mastrophot/near-agent-skillsWhat 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
- "Estimate the gas cost for calling the transfer function on this contract and suggest ways to optimize the payload size."
- "What are the top 3 trending DeFi smart contracts on NEAR based on volume over the last 24 hours?"
- "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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-mastrophot-near-agent-skills": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: network-access, external-api
Related Skills
Zerion Api Skill
Skill by abishekdharshan
Spreadsheet & Data Wrangling Master
Complete spreadsheet methodology — data cleanup, transformation, analysis, dashboards, automation, and reporting. Works with CSV, Excel, Google Sheets, or any tabular data. Use when the user needs to clean messy data, build reports, create dashboards, automate recurring spreadsheet tasks, or transform data between formats.
metric-definition-catalog
把散落指标统一整理成口径、公式、归属、例外情况与常见误用。;use for metrics, catalog, analytics workflows;do not use for 编造指标来源, 替代 BI 平台配置.
Zerion Api
Skill by abishekdharshan
WalletPilot-7715
Execute on-chain transactions with user-granted permissions. Built on MetaMask ERC-7715. No private keys, full guardrails.