Defect Detector AI Skill for Openclaw

A professional-grade computer vision skill for identifying, classifying, and assessing the severity of defects across various industries.

kumamon2019s
v1.0.0
Mar 31, 2026
0
298
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install defect-detector

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install defect-detector using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Defect Detector AI Skill?

The Defect Detector is a sophisticated computer vision tool built for the Openclaw Skills ecosystem, designed to automate the visual inspection process. It enables AI agents to analyze images for specific anomalies, ranging from agricultural crop diseases to structural cracks in buildings and defects in industrial hardware. By leveraging high-performance detection models, the skill provides a bridge between raw pixels and structured data.

This skill is particularly valuable for developers building automated monitoring systems. It doesn't just identify that a problem exists; it provides spatial localization via bounding boxes and segmentation masks, classifies the issue against an extensive library of over 120 types, and quantifies the severity. This level of detail makes it an essential component for any Openclaw Skills implementation focused on quality assurance or precision agriculture.

Defect Detector AI Skill Use Cases

  • Agricultural monitoring to detect leaf rust, spots, or pest damage in crops.
  • Industrial quality control for identifying surface defects in manufactured parts.
  • Infrastructure inspections to locate cracks or structural degradation in buildings.
  • Automated environmental surveys that require classification of botanical health issues.
  • Smart maintenance systems that trigger repair tickets based on visual severity assessments.

How Defect Detector AI Skill Works

  1. The skill accepts an image path or buffer as input within the Openclaw Skills environment.
  2. It initializes a pre-trained YOLOv8 detection model optimized for disease and defect patterns.
  3. The model scans the image to perform object detection, identifying specific regions of interest.
  4. It calculates the bounding box coordinates and segmentation masks for each localized defect.
  5. The system performs a classification check against its internal database of 120+ defect types.
  6. An area ratio and feature analysis are conducted to assign a severity level (e.g., Mild to Extreme).
  7. A structured JSON object is returned containing all detection metadata, ready for integration into larger workflows.

Defect Detector AI Skill Setup

To utilize this skill, ensure you have the necessary computer vision dependencies installed in your environment:

pip install ultralytics>=8.0 opencv-python>=4.8 numpy>=1.24

You must also ensure the relevant model weights (e.g., yolov8_disease_v2.pt) are accessible to the detector script.

Defect Detector AI Skill Data Schema & Taxonomy

The Defect Detector provides structured output for seamless integration with other Openclaw Skills. The output schema is organized as follows:

Attribute Type Description
has_defect Boolean True if one or more defects are detected.
defect_count Integer The total number of unique anomalies found.
type String The specific name of the disease/defect (e.g., Maize Leaf Spot).
confidence Float The statistical confidence score (0.0 - 1.0).
severity String Categorical ranking: Mild, Moderate, Severe, or Extreme.
bbox Array Spatial coordinates [x1, y1, x2, y2].
area_ratio Float Percentage of total image area affected by the defect.

Defect Detector AI Skill Advanced Features

  • Support for custom YOLOv8 model paths to adapt the skill to specific niche industries.
  • High-precision segmentation masks for complex shape analysis beyond simple rectangles.
  • Automated mapping to knowledge bases for instant generation of remediation solutions.
  • Multi-category support with a built-in library of 120+ common disease and defect classifications.
  • Scalable architecture suitable for multi-agent Openclaw Skills deployments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*