focus-analysis

Analyze video to quantify focus versus distraction using gaze and head pose.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps quantify human focus versus distraction or mind-wandering from video evidence, turning subjective observation into consistent attention scores and trend reports.

Core Features & Use Cases

  • Real-time gaze & head-pose analysis: Detects gaze direction and facial/head pose cues to infer attention state.
  • Attention scoring and trend curves: Produces structured overall focus scores plus time-based statistics and trend-like outputs.
  • History report querying (cloud API): Lists and links past analysis reports using cloud endpoints for traceability.
  • Use Cases: Classroom monitoring, office meeting attention tracking, and driving attention/safety oversight for teachers, managers, and safety operators.

Quick Start

Ask the Skill to analyze the uploaded or provided video for focus, providing your open-id (username/phone) so the analysis can be saved and queried later.

Frequently Asked Questions about focus-analysis

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

FAQPage Schema
How do I analyze video for attention and focus tracking?▼

To perform attention tracking, provide a local video file or public URL along with your open-id. The Skill analyzes gaze direction, facial landmarks, and head pose to quantify focus versus distraction and generate structured reports.

Can I use video analytics to monitor driving attention and safety?▼

Yes, video analytics can monitor driving attention by evaluating head pose and gaze direction from video input. It produces attention scores and trend reports suitable for safety oversight and distraction detection.

What is gaze tracking and how does it score mind-wandering?▼

Gaze tracking detects eye direction and facial landmarks from video to infer attention states. It scores mind-wandering by contrasting focused gaze and head pose stability against distraction patterns, outputting structured focus metrics.

Do I need an open-id to generate focus analysis reports from video?▼

Yes, an open-id such as a username or phone number is required before making API calls. This validates your access and ensures the generated focus analysis reports are saved to your account for later querying.

How do I retrieve historical video analysis reports?▼

You retrieve historical reports by querying the cloud API endpoints using your validated open-id. The Skill fetches past analysis report lists from the cloud rather than reading local memory, ensuring report traceability.

Does gaze tracking work with any video file format for classroom monitoring?▼

Gaze tracking for classroom monitoring accepts input via a local video file or a public video URL. It analyzes facial landmarks and head pose to generate focus scores, provided the video clearly captures the subject's face.