macvis

macvis is a skill for Claude Code from junmo-kim/mac-local-vision. It costs 319 tokens per session (1,871 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,871 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.01871
Opus 5.5 $0.00128 $0.00748
Sonnet 5.5 $0.00064 $0.00374
Haiku 4.5 $0.00032 $0.00187

Measured 1mo ago against content hash a2e324b94ae3, 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 1mo 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 · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 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 · 101 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. 1mo ago Changed · +1 lines a2e324b94ae3
  2. 2mo ago Changed · +3 lines 3edc872a76cb
  3. 2mo ago Changed · +8 lines · +25 tokens per session 1115b91e9405
  4. 3mo 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 (64 stars, last pushed 1mo ago), licensed MIT. It adds 319 tokens to every session and 1,871 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

macvis compared with skills from other repositories

macvis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
macvisjunmo-kim/mac-local-visionSkill641mo agoMITA319Claude Code
report-to-pdfXiaomiMiMo/MiMo-CodeSkill14k3d agoMITA36Codex
pdf-officialXiaomiMiMo/MiMo-CodeSkill14k3d agoMITA135Claude Code, Codex
pdfHmbown/CodeWhaleSkill41k4d agoMITA31Claude Code, Codex
recipe-bulk-download-foldergoogleworkspace/cliSkill33k8d agoApache-2.0A17Claude Code, Codex
ulw-researchcode-yeongyu/lazycodexSkill4.0kyesterdayMITA51Codex
figuressynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A99Claude Code