/install esri-smells-consumer
Esri Workflow Smell Detector (Consumer Skill)
This skill helps an agent call the paid Smell Detector endpoint (x402 pay-per-request) using Base/USDC.
It does not host the service.
How this relates to arcgispro-cli
The expected input, project_snapshot, is the JSON artifact produced by the open-source ArcGIS Pro CLI (arcgispro-cli).
Recommended workflow:
- Use
arcgispro-clito export a project snapshot/context artifact (safe-by-default, no raw data) - Send that JSON to this paid endpoint for a deterministic preflight risk report
- Use the report to decide whether to proceed with automation (ArcPy/GP/AGOL) and what to fix first
This keeps a clean boundary:
- Open core (
arcgispro-cli) answers: what is in the project - Paid layer (this service) answers: how risky is it to automate, and why
Endpoint
POST https://api.x402layer.cc/e/esri-smells
Input
Required JSON body:
{
"project_snapshot": { },
"constraints": {
"target": "arcpy" | "geoprocessing" | "agol",
"deployment": "desktop" | "server",
"max_runtime_sec": 300
}
}
Output (guaranteed fields)
summaryrisk_score(0.0–1.0)issues[]flagsversionrequestHash
Determinism
- Stateless
- No external network calls (beyond the paid endpoint itself)
- Same input produces same output
- Safe to cache by
requestHash
Pricing
- x402 pay-per-request on Base
- Target price: $0.001 per call
How to call (Python helper)
- Install deps:
pip install -r {baseDir}/requirements.txt
- Set wallet env (consumer wallet):
export PRIVATE_KEY="0x..."
export WALLET_ADDRESS="0x..."
- Call the endpoint:
python {baseDir}/scripts/call_smells.py path/to/project_snapshot.json
Notes
- The script implements the x402 HTTP 402 challenge flow and retries with
X-Payment. - If the endpoint is unreachable or the network rejects the payment, surface the error as-is.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install esri-smells-consumer - 安装完成后,直接呼叫该 Skill 的名称或使用
/esri-smells-consumer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Esri Workflow Smell Detector (Consumer) 是什么?
Paid client skill for Esri Workflow Smell Detector via x402 (Base/USDC). Use when you want to run a deterministic automation preflight scan on an ArcGIS Pro project snapshot by calling https://api.x402layer.cc/e/esri-smells (HTTP 402 payment flow). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1602 次。
如何安装 Esri Workflow Smell Detector (Consumer)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install esri-smells-consumer」即可一键安装,无需额外配置。
Esri Workflow Smell Detector (Consumer) 是免费的吗?
是的,Esri Workflow Smell Detector (Consumer) 完全免费(开源免费),可自由下载、安装和使用。
Esri Workflow Smell Detector (Consumer) 支持哪些平台?
Esri Workflow Smell Detector (Consumer) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Esri Workflow Smell Detector (Consumer)?
由 danmaps(@danmaps)开发并维护,当前版本 v1.0.0。