Vai al contenuto
TakoAPI
Torna alle skill

esri-smells-consumer

di danmaps

Productivity & Tasks
1.3kDownload riportati da clawskills.sh
1Stelle
0Visualizzazioni
0 likeAccedi per mettere like a questa skill
—Non ancora valutato
La tua valutazione

Sintesi

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

Descrizione

Cosa fa questa skill

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.

Quando usarla

  • 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

Esempio di workflow

INPUT

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

AGENT
  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

OUTPUT

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

Requisiti

  • 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

Installazione

clawhub install danmaps/esri-smells-consumer

Esegui il comando CLI oppure incolla il prompt in Claude Code, Cursor, Codex o nell'agente di coding che usi.

Link