pose-form-analysis

Analyze exercise form using in-browser pose landmarks and joint-angle computations.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/AmjadShakhshir/gaurdform --skill pose-form-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pose-form-analysis
Source: https://github.com/AmjadShakhshir/gaurdform/tree/main
Command: npx skills add https://github.com/AmjadShakhshir/gaurdform --skill pose-form-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @mediapipe/tasks-vision, @supabase/supabase-js, idb.

What problem does it solve?

This Skill enables real-time exercise form analysis in the browser by leveraging MediaPipe Pose Landmarking to compute joint angles, smoothing, and a rule-based evaluation for common exercises like squats and bicep curls.

Core Features & Use Cases

  • Pose detection, joint-angle math, and smoothing to produce reliable biomechanical feedback.
  • Rule-engine patterns for squat and bicep curl with rep counting via state machines.
  • Multi-modal feedback: visual chips, speech, and haptic cues, with an optional Gemini 2.0 Flash "coach review" layer.

Quick Start

Run the Pose Landmarker setup, feed landmarks into the rule engine, and render live feedback in real time.

Frequently Asked Questions about pose-form-analysis

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

FAQPage Schema
How do I implement real-time pose detection for exercise form feedback in a PWA?

Real-time exercise form feedback in a PWA is achieved by running MediaPipe Tasks Vision PoseLandmarker in-browser, computing joint angles from landmarks, and applying a rule engine for smoothing and evaluation.

How does MediaPipe pose landmarker handle squat and bicep curl rep counting?

Squat and bicep curl rep counting uses state machines driven by computed joint angles from MediaPipe pose landmarks, tracking movement phases to increment repetitions accurately during live analysis.

Can I use Gemini for fitness coaching feedback alongside browser-based pose detection?

Yes, an optional Gemini 2.0 Flash coach review layer can be integrated alongside browser-based pose detection, adding multimodal feedback including visual chips, speech, and haptic cues to the rule-based evaluations.

Does MediaPipe Tasks Vision support on-device exercise form analysis without backend servers?

MediaPipe Tasks Vision supports deterministic front-end integration for on-device exercise form analysis, running pose landmarker computations directly in the browser for fitness PWAs without requiring backend processing.

What is the best way to smooth noisy joint angle data during live pose tracking?

The best way to smooth noisy joint angle data during live pose tracking is to apply mathematical smoothing algorithms to raw MediaPipe pose landmarks before evaluating them in the exercise rule engine.