/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.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install esri-smells-consumer - After installation, invoke the skill by name or use
/esri-smells-consumer - Provide required inputs per the skill's parameter spec and get structured output
What is 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). It is an AI Agent Skill for Claude Code / OpenClaw, with 1602 downloads so far.
How do I install Esri Workflow Smell Detector (Consumer)?
Run "/install esri-smells-consumer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Esri Workflow Smell Detector (Consumer) free?
Yes, Esri Workflow Smell Detector (Consumer) is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Esri Workflow Smell Detector (Consumer) support?
Esri Workflow Smell Detector (Consumer) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Esri Workflow Smell Detector (Consumer)?
It is built and maintained by danmaps (@danmaps); the current version is v1.0.0.