Agent skill

axiom-vision

subject segmentation, VNGenerateForegroundInstanceMaskRequest, isolate object from hand, VisionKit subject lifting, image foreground detection, instance masks, class-agnostic segmentation, VNRecognizeTextRequest, OCR, VNDetectBarcodesRequest, DataScannerViewController, document scanning, RecognizeDocumentsRequest

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill axiom-vision --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 32 KB
Bundled scripts: none
Version: 1.1.0
Requires: iOS 14+, iPadOS 14+, macOS 11+, tvOS 14+, axiom-visionOS 1+
Path: skills/ai-ml/axiom-vision/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Guides you through implementing computer vision tasks using Vision APIs, including subject segmentation with instance masks, isolating objects from hands, hand/body pose detection, multi-person segmentation, text recognition (OCR), barcode detection, and document scanning. Also covers when to use VisionKit versus the Vision framework, and how to combine with CoreImage for compositing and HDR-like workflows. It presents several usage patterns (subject lifting, programmatic access, per-subject masks, handling multiple people, and gesture-based triggers) and decision trees to select appropriate APIs for given goals.

How it works

  • Recommends the appropriate API paths based on the target task (e.g., VNGenerateForegroundInstanceMaskRequest for subject segmentation, VNDetectHumanHandPoseRequest for hand gestures, VNDetectHumanBodyPoseRequest for body pose, VNRecognizeTextRequest for OCR, VNDetectBarcodesRequest for barcodes, RecognizeDocumentsRequest for structured document data).
  • Advises on setup and threading: never run Vision on the main thread; use a background queue with a VNImageRequestHandler and perform specific requests, then dispatch UI updates on the main thread.
  • Provides concrete usage patterns and code snippets for:
    • Isolating an object from a hand using a subject mask and hand pose to create an exclusion mask.
    • VisionKit-based subject lifting with UI interactions.
    • Programmatic subject access via ImageAnalyzer and analysis.subjects.
    • Using VNGenerateForegroundInstanceMaskRequest for custom compositing with CoreImage (HDR-like workflows).
    • Tap-to-select and per-subject masks for multi-subject scenes.
    • Hand gesture detection (pinch) for custom triggers.
    • Separate masks for multiple people (up to 4) and fallback for crowded scenes.
    • Body pose-based action classification workflows and preparing data for a CreateML model.
  • Contains decision trees and checklists to select APIs depending on needs (e.g., subject isolation, text recognition, document data extraction, whether to use VisionKit or Vision).

When to use it

  • Isolate subjects from backgrounds (subject lifting) and exclude hands from object boxes.
  • Detect and track hand poses or body poses for gestures or activity classification.
  • Segment multiple people separately or apply per-person effects.
  • Recognize text in images (OCR) or detect barcodes/QR codes.
  • Scan documents with perspective correction and extract structured data (iOS 26+).
  • Build live scanning experiences with DataScannerViewController or choose between VisionKit and Vision for processing.
  • Combine Vision with CoreImage for compositing or HDR-like visual effects.

What it can touch

  • Tools and APIs referenced include: VNGenerateForegroundInstanceMaskRequest, VNImageRequestHandler, VNDetectHumanHandPoseRequest, VNRecognizeTextRequest, VNDetectBarcodesRequest, DataScannerViewController, RecognizeDocumentsRequest, VNDocumentCameraViewController, VNGeneratePersonInstanceMaskRequest, VNDetectHumanBodyPoseRequest, ImageAnalyzer, ImageAnalysisInteraction, ImageAnalyzer.Configuration, CreateML preparation (for pose-based models).
  • No file system or external services are specified beyond these VisionKit/Vision APIs; the material shows code snippets and usage patterns rather than file-level actions.

Caveats

  • Platform/version requirements are specified for each API (e.g., iOS 14+, iOS 17+ for subject segmentation, iOS 26+ for RecognizeDocumentsRequest).
  • Emphasizes not running Vision work on the main thread and the need to handle confidence checks and coordinate systems when converting between formats.
  • Includes risk-labeled patterns (e.g., avoid training custom models when Vision APIs exist, avoid processing every frame, avoid enabling all barcode symbologies when unnecessary).
  • License stated as MIT; compatibility notes list the supported OS versions and APIs.
From the SKILL.md

# Vision Framework Computer Vision Guides you through implementing computer vision: subject segmentation, hand/body pose detection, person detection, text recognition, barcode detection, document scanning, and combining Vision APIs to solve complex problems. ## When to Use This Skill Use when you need to: - ☑ Isolate subjects from backgrounds (subject lifting) - ☑ Detect and track hand poses for gestures - ☑ Detect and track body poses for fitness/action classification - ☑ Segment multiple people separately - ☑ Exclude hands from object bounding boxes (combining APIs) - ☑ Choose between VisionKit and Vision framework - ☑ Combine Vision with CoreImage for compositing - ☑ Decide which Vision API solves your problem - ☑ Recognize text in images (OCR) - ☑ Detect barcodes and QR codes - ☑ Scan documents with perspective correction - ☑ Extract structured data from documents (iOS 26+) - ☑ Build live scanning experiences (DataScannerViewController) ## Example Prompts "How do I isolate a subject from the background?" "I need to detect hand gestures like pinch" "How can I get a bounding box around an object **without including the hand holding it**?" "Should I use VisionKit or Vision framewo

What's inside
Steps it walks through
  1. When to Use This Skill
  2. Example Prompts
  3. Red Flags
  4. Mandatory First Steps
  5. 1. Choose the Right API (Decision Tree)
  6. 2. Set Up Background Processing
  7. 3. Verify Platform Availability
  8. Common Patterns
  9. Pattern 1: Isolate Object While Excluding Hand
  10. Pattern 2: VisionKit Simple Subject Lifting
  11. Pattern 3: Programmatic Subject Access (VisionKit)
  12. Pattern 4: Vision Instance Mask for Custom Pipeline
  13. Pattern 5: Tap-to-Select Instance
  14. Pattern 6: Hand Gesture Recognition (Pinch)
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the axiom-vision skill do?

subject segmentation, VNGenerateForegroundInstanceMaskRequest, isolate object from hand, VisionKit subject lifting, image foreground detection, instance masks, class-agnostic segmentation, VNRecognizeTextRequest, OCR, VNDetectBarcodesRequest, DataScannerViewController, document scanning, RecognizeDocumentsRequest

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill axiom-vision --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going