macvis

macvis is a skill for Claude Code from junmo-kim/mac-local-vision. It costs 319 tokens per session (1,805 once invoked), scanned A, original, MIT.

A macOS command-line tool for reading and locating information in images, screenshots, and PDFs on your own device.

In plain words
What is it for?
Use it for OCR, finding the screen position of words, scanning or creating QR codes and barcodes, classifying images, grouping photos by face, and straightening or extracting structured content from photographed documents.
Why use it?
It lets an agent inspect visual files without sending them to an online service or using text-generation tokens.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it for OCR, finding the screen position of words, scanning or creating QR codes and barcodes, classifying images, grouping photos by face, and straightening or extracting structured content from photographed documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/junmo-kim/mac-local-vision/macvis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add junmo-kim/mac-local-vision --skill macvis
Clone the repo
git clone --depth 1 https://github.com/junmo-kim/mac-local-vision

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for macvis

README.md
[![agentmods](https://agentmods.dev/badge/skills/junmo-kim/mac-local-vision/macvis/github.svg)](https://agentmods.dev/skills/junmo-kim/mac-local-vision/macvis)
Your own site
<a href="https://agentmods.dev/skills/junmo-kim/mac-local-vision/macvis"><img src="https://agentmods.dev/badge/skills/junmo-kim/mac-local-vision/macvis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for macvis

Your own site · 80×15
<a href="https://agentmods.dev/skills/junmo-kim/mac-local-vision/macvis"><img src="https://agentmods.dev/badge/skills/junmo-kim/mac-local-vision/macvis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 319 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,805 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00319 $0.01805
Opus 5.5 $0.00128 $0.00722
Sonnet 5.5 $0.00064 $0.00361
Haiku 4.5 $0.00032 $0.00180

Measured 17d ago against content hash 3edc872a76cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

macvis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/macvis/SKILL.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

macvis

macvis reads and locates things in images, on-device. Put the binary on your PATH (repo README → Install) and call it. Output is YAML by default; add --format json to parse.

Which command

You need Command
Read all text from an image / screenshot / PDF macvis ocr <path>
The click-point (x,y) of a specific word — E2E / UI targeting macvis find <path> --target "<text>"
Scan a QR code or barcode (any symbology) macvis barcode <path>
Scan for a QR code only (skip other symbologies) macvis qr <path>
Tag/classify what an image contains (labels, not free text) macvis classify <path>
Generate a scannable QR code PNG macvis make-qr "<text>" --out <path>
Find a document's four corners in a photo macvis document-bounds <path>
Flatten/straighten a photographed document into a scan macvis rectify-document <path> --out <path>
Extract a document's title/paragraphs/tables/lists with layout preserved macvis document-ocr <path>
Create an object mask from one point or box — macOS 27 macvis segment <path> --point <x,y> --out <mask.png>
To interpret an image (describe, reason, summarize) — macOS 27 macvis ask <path> --prompt "<question>"
To extract structured JSON fields from an image (schema-constrained) — macOS 27 macvis ask <path> --prompt "<question>" --schema <path|inline-json>
Group photos by person macvis sort-faces <dir>
Find photos matching a given face macvis find-person --target <face.jpg> --dir <dir>
Check what runs on this machine macvis doctor

Rule of thumb: ocr to read everything, find to get one word's pixel to click/assert, document-ocr when the layout (table cells, list items) matters rather than flat lines, ask only when you need interpretation rather than raw text.

Examples

macvis ocr ./receipt.png                          # full text + per-line entries
macvis ocr ./receipt.png --words --format json    # per-word pixel boxes, JSON
macvis find ./screen.png --target "Submit"        # → x,y click center + bounding box
macvis find ./screen.png --target "결제하기"        # non-Latin works (locale-aware)
macvis ocr ./doc.pdf --page 2                      # PDF page (rasterized)
macvis barcode ./ticket.png                        # scan every QR/barcode symbology
macvis qr ./ticket.png                             # scan for a QR code only
macvis classify ./photo.jpg                        # tag against a 1,303-label taxonomy
macvis make-qr "https://example.com" --out ./qr.png  # write a scannable QR PNG
macvis document-bounds ./receipt.jpg                  # find a document's 4 corners
macvis rectify-document ./receipt.jpg --out ./flat.png # flatten a photographed document
macvis document-ocr ./invoice.png                    # title/paragraphs/tables/lists, structured
macvis segment ./photo.jpg --point 640,420 --out ./mask.png # top-left pixel seed → grayscale mask
macvis ask ./receipt.png --prompt "extract the fields" --schema ./receipt-schema.json  # structured JSON answer
macvis sort-faces ./photos --output-dir ./by-person  # cluster a folder of photos by person

Read the full file on GitHub · 100 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 17d ago Changed · +3 lines 3edc872a76cb
  2. 27d ago Changed · +8 lines · +25 tokens per session 1115b91e9405
  3. 1mo ago First seen · 89 lines · 294 tokens per session scan A 8784ebfce8e5

Subscribe to this mod's changes

macvis is a skill published in the GitHub repository junmo-kim/mac-local-vision (61 stars, last pushed 17d ago), licensed MIT. It adds 319 tokens to every session and 1,805 once invoked, about $0.0013 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

report-to-pdf

Narrow conversion skill. Invoke only when the user explicitly asks to convert an existing Data Analytics report, dashboard, or inline chart export into a PDF artifact.

XiaomiMiMo/MiMo-Code · 36 tokens

pdf-official

Use this skill whenever a PDF file is being produced, opened, transformed, filled, or read. That includes: extracting text or tables from an existing PDF; combining, carving, rotating, cropping, or watermarking pages; composing a fresh PDF (report, invoice, certificate); filling AcroForm fields or overlaying text onto…

XiaomiMiMo/MiMo-Code · 135 tokens

pdf

Read, extract, split, merge, rotate, watermark, fill, OCR, or create PDF files with verification of page counts and text extraction.

Hmbown/CodeWhale · 31 tokens

ulw-research

Runs maximum-saturation research with a cooperating team, claim-graph gating, and a cited, QA'd deliverable. Use when the user explicitly asks for research or a deep investigation, including any 'ulw' research wording.

code-yeongyu/lazycodex · 51 tokens

recipe-bulk-download-folder

List and download all files from a Google Drive folder.

googleworkspace/cli · 17 tokens

figures

Makes publication-quality plots from data with matplotlib, learning curves, scaling laws, benchmark and ablation comparisons, Pareto trade-offs, heatmaps and confusion matrices, sized for the page, vector, with uncertainty shown. Use whenever results are plotted, charted or visualized for a paper, report or answer, or…

synthetic-sciences/openscience · 99 tokens