ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 3/5

polygon-agent-cli

Complete Polygon agent toolkit. Session-based smart contract wallets (Sequence), token ops (send/swap/bridge/deposit via Trails), ERC-8004 on-chain identity + reputation, x402 micropayments. Single CLI entry point, AES-256-GCM encrypted storage.

Why use this skill?

Manage Polygon smart contract wallets, ERC-8004 identities, and x402 micropayments with the Polygon Agent CLI toolkit for OpenClaw.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/jameslawton/polygon-agents-cli
Or

What This Skill Does

The polygon-agent-cli skill provides a comprehensive toolkit for managing on-chain identities and financial operations within the Polygon ecosystem. It serves as a unified command-line interface for the Sequence smart contract wallet architecture, enabling seamless token transactions, including sending, swapping, bridging, and deposits via Trails. Beyond simple wallet management, it implements ERC-8004 standards for on-chain agent identity and reputation, facilitating x402 micropayments. All sensitive data is secured using AES-256-GCM encryption within the user's local directory, ensuring that private keys and session-based wallet configurations remain protected from unauthorized access.

Installation

To install this skill, run the following command in your OpenClaw environment: clawhub install openclaw/skills/skills/jameslawton/polygon-agents-cli

Ensure you have Node.js 22 or higher installed on your system. Once the skill is installed, the global command polygon-agent becomes available. Configuration requires setting the SEQUENCE_PROJECT_ACCESS_KEY environment variable, which handles project access, indexer queries, and Trails API integration concurrently.

Use Cases

  • Agent Autonomy: Provisioning autonomous agents with unique on-chain identities using ERC-8004.
  • Micropayment Handling: Utilizing x402 micropayments for automated resource allocation and service monetization.
  • Portfolio Management: Managing cross-chain assets through a secure, encrypted CLI interface.
  • Smart Contract Interactions: Executing complex transactions like token swaps and cross-chain bridging without manual raw transaction signing.

Example Prompts

  1. "Setup a new agent identity named 'FinanceBot' and provide me the initial setup configuration."
  2. "Check the current balances for my ecosystem wallet and list all available tokens."
  3. "Register my agent 'FinanceBot' on the Polygon mainnet to establish its on-chain reputation."

Tips & Limitations

  • Always use the polygon-agent fund command to generate your funding URL rather than manually constructing one; this ensures the address is correctly bound to your session.
  • Your SEQUENCE_PROJECT_ACCESS_KEY is highly sensitive; treat it with the same security level as a private key.
  • The tool is designed for programmatic agents; while human-readable, the CLI outputs are optimized for integration into agentic workflows.
  • Ensure your environment variables are correctly exported in your shell profile to maintain session continuity across reboots.

Metadata

Stars2032
Views0
Updated2026-03-05
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-jameslawton-polygon-agents-cli": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#polygon#web3#blockchain#agent-infrastructure#defi
Safety Score: 3/5

Flags: network-access, file-write, file-read, external-api