跳到正文
TakoAPI
返回技能列表

esri-smells-consumer

由 danmaps 提供

Productivity & Tasks
1.3k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Paid client skill for Esri Workflow Smell Detector via x402 (Base/USDC)

描述

该技能的功能

Calls a paid REST endpoint that analyzes an ArcGIS Pro project snapshot for automation risks. Uses x402 pay-per-request billing on Base/USDC at $0.001 per call. Designed to run as a preflight check before executing ArcPy, geoprocessing, or AGOL workflows.

Separates the stateless, deterministic risk analysis from your local tooling so the same input always returns the same result and results are safe to cache.

何时使用

  • Checking a project snapshot for automation risks before deploying ArcPy scripts
  • Scoring risk level of an AGOL workflow before a scheduled server run
  • Validating geoprocessing inputs to catch issues before a long batch job
  • Caching risk reports by requestHash to avoid redundant paid calls
  • Integrating preflight risk scoring into a CI pipeline for GIS automation

示例工作流

输入

User asks: run a preflight check on my ArcGIS Pro project before automating with ArcPy

智能体
  1. 1

    Export project snapshot JSON using arcgispro-cli

  2. 2

    Set PRIVATE_KEY and WALLET_ADDRESS environment variables for the consumer wallet

  3. 3

    Call call_smells.py with the snapshot path and target set to arcpy and deployment set to desktop

  4. 4

    Handle the x402 HTTP 402 challenge flow and retry with X-Payment header

  5. 5

    Parse the response and surface risk_score and issues[] to the user

输出

A risk report with a score between 0.0 and 1.0, a list of detected issues, and a requestHash for caching

前置要求

  • PRIVATE_KEY environment variable (Base/USDC consumer wallet private key)
  • WALLET_ADDRESS environment variable (Base wallet address)
  • Base network wallet funded with USDC for pay-per-request calls

安装

clawhub install danmaps/esri-smells-consumer

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接