# Send Esri Workflow Smell Detector (Consumer) to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "esri-smells-consumer",
    "name": "Esri Workflow Smell Detector (Consumer)",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/danmaps/esri-smells-consumer",
    "canonicalUrl": "https://clawhub.ai/danmaps/esri-smells-consumer",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/esri-smells-consumer",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=esri-smells-consumer",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "requirements.txt",
      "SKILL.md",
      "scripts/call_smells.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/esri-smells-consumer"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/esri-smells-consumer",
    "downloadUrl": "https://openagent3.xyz/downloads/esri-smells-consumer",
    "agentUrl": "https://openagent3.xyz/skills/esri-smells-consumer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/esri-smells-consumer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/esri-smells-consumer/agent.md"
  }
}
```
## Documentation

### 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-cli to 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)

summary
risk_score (0.0–1.0)
issues[]
flags
version
requestHash

### 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.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: danmaps
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/esri-smells-consumer)
- [Send to Agent page](https://openagent3.xyz/skills/esri-smells-consumer/agent)
- [JSON manifest](https://openagent3.xyz/skills/esri-smells-consumer/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/esri-smells-consumer/agent.md)
- [Download page](https://openagent3.xyz/downloads/esri-smells-consumer)