# Send AutoHeal AI 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "autoheal",
    "name": "AutoHeal AI",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/hankmint/autoheal",
    "canonicalUrl": "https://clawhub.ai/hankmint/autoheal",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/autoheal",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=autoheal",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/check-errors.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "autoheal",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T23:18:23.463Z",
      "expiresAt": "2026-05-06T23:18:23.463Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=autoheal",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=autoheal",
        "contentDisposition": "attachment; filename=\"autoheal-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "autoheal"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/autoheal"
    },
    "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/autoheal",
    "downloadUrl": "https://openagent3.xyz/downloads/autoheal",
    "agentUrl": "https://openagent3.xyz/skills/autoheal/agent",
    "manifestUrl": "https://openagent3.xyz/skills/autoheal/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/autoheal/agent.md"
  }
}
```
## Documentation

### AutoHeal AI Skill

AutoHeal captures production JavaScript/TypeScript errors, analyzes them with AI, and generates platform-specific fix prompts you can paste directly into your AI coding tool.

### Browser Project (React, Next.js, Vue, Svelte, etc.)

Add this snippet to your app's entry point (e.g., main.tsx, layout.tsx, App.vue):

<script>
window.onerror = function(msg, source, line, col, err) {
  fetch("https://autohealai.com/api/errors/ingest", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      key: process.env.AUTOHEAL_API_KEY || "YOUR_API_KEY",
      message: msg,
      stack: err?.stack || "",
      source_url: source,
      browser: navigator.userAgent
    })
  }).catch(() => {});
};

window.onunhandledrejection = function(e) {
  const err = e.reason;
  fetch("https://autohealai.com/api/errors/ingest", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      key: process.env.AUTOHEAL_API_KEY || "YOUR_API_KEY",
      message: err?.message || String(err),
      stack: err?.stack || "",
      source_url: window.location.href,
      browser: navigator.userAgent
    })
  }).catch(() => {});
};
</script>

### Node.js / Server Project

Add this to your server entry point:

process.on('uncaughtException', (err) => {
  fetch("https://autohealai.com/api/errors/ingest", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      key: process.env.AUTOHEAL_API_KEY,
      message: err.message,
      stack: err.stack || ""
    })
  }).catch(() => {});
});

process.on('unhandledRejection', (reason) => {
  const err = reason instanceof Error ? reason : new Error(String(reason));
  fetch("https://autohealai.com/api/errors/ingest", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      key: process.env.AUTOHEAL_API_KEY,
      message: err.message,
      stack: err.stack || ""
    })
  }).catch(() => {});
});

### 2. Check Error Status

After an error is ingested, check its analysis status:

curl -s "https://autohealai.com/api/errors/{ERROR_ID}/status" \\
  -H "Authorization: Bearer $AUTOHEAL_API_KEY"

Response:

{
  "status": "analyzed",
  "message": "Cannot read properties of undefined",
  "has_fix": true,
  "fix_id": "uuid-here",
  "dashboard_url": "https://autohealai.com/dashboard/errors/{ERROR_ID}"
}

Possible statuses: new, analyzing, analyzed, fix_applied, ignored

View the full fix with AI-generated fix prompt at the dashboard_url.

### 3. Report an Error Manually

Send any error directly to AutoHeal:

curl -X POST "https://autohealai.com/api/errors/ingest" \\
  -H "Content-Type: application/json" \\
  -d '{
    "key": "'$AUTOHEAL_API_KEY'",
    "message": "TypeError: Cannot read properties of undefined (reading '\\''map'\\'')",
    "stack": "TypeError: Cannot read properties of undefined\\n    at renderList (src/components/List.tsx:15:23)"
  }'

Response:

{
  "status": "queued",
  "error_id": "uuid-here"
}

The error will be analyzed by AI within seconds. Check status using the error_id from the response.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: hankmint
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T23:18:23.463Z
- Expires at: 2026-05-06T23:18:23.463Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/autoheal)
- [Send to Agent page](https://openagent3.xyz/skills/autoheal/agent)
- [JSON manifest](https://openagent3.xyz/skills/autoheal/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/autoheal/agent.md)
- [Download page](https://openagent3.xyz/downloads/autoheal)