smoking-detection-analysis

Detect smoking violations in public-area video and images with structured reports.

Updated May 18, 2026
One-click install
npx skills add https://github.com/smyx-sunjinhui/smyx-open-claw-skills --skill smoking-detection-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smoking-detection-analysis
Source: https://github.com/smyx-sunjinhui/smyx-open-claw-skills/tree/main/skills/smoking-detection-analysis
Command: npx skills add https://github.com/smyx-sunjinhui/smyx-open-claw-skills --skill smoking-detection-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps security and safety teams automatically identify smoking behavior in public areas from video or images, reducing reliance on manual observation and improving the speed of violation alerts.

Core Features & Use Cases

  • Real-time / batch smoking detection: Analyzes target-area media (video streams, still images, or local video files) to determine whether smoking occurs and whether it is a violation.
  • Structured violation analysis & alerts: Produces structured detection reports including detection regions, smoking counts, confidence, and alert messages for immediate action.
  • Historical report lookup: Retrieves and displays past smoking detection reports via a cloud API, then outputs them as a Markdown table with clickable report links.

Quick Start

Ask the Skill to analyze an uploaded video for public smoking detection and return a detailed structured report, for example: 请对我上传的园区监控视频进行吸烟检测分析并输出标准结构化结果,同时提供该用户的违规历史报告清单(如需要则触发历史查询)。

Frequently Asked Questions about smoking-detection-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does video analytics detect smoking violations in public areas?

Video analytics detects smoking violations by analyzing cigarette and smoke visual cues alongside hand-to-mouth motion patterns in public area media. It processes real-time streams, images, or local video files to identify smoking behavior automatically.

How do I generate a structured violation alert for smoking detection from an uploaded video?

To generate a structured violation alert, provide the target media for analysis and the system outputs a report containing detection regions, smoking counts, confidence scores, and alert messages. This structured output enables immediate downstream safety management action.

Can I retrieve historical smoking detection reports through a cloud API?

Yes, you can retrieve historical smoking detection reports through a cloud-based history API. The system lists past reports and formats the output as a Markdown table with clickable links for easy review of previous violation records.

Does smoking detection analysis support both real-time video streams and local video files?

Yes, smoking detection analysis supports real-time video streams, still images, and local video files as input media. It processes these formats to identify smoking behavior and generate structured violation reports for public safety management.

Do I need an open-id to retrieve past smoking violation reports?

Yes, the system enforces mandatory open-id acquisition to authenticate and retrieve past smoking violation reports. This open-id is required for accessing the cloud-based history APIs to list and display previous detection records.

What is the best way to automate public safety smoking detection for security teams?

The best way to automate public safety smoking detection is using computer vision to analyze media for cigarette, smoke, and hand-to-mouth motion cues. This reduces manual observation reliance and speeds up structured violation alerting for security teams.