READMESource: main@c47846f9
free-vision-skill
Fully-local image understanding (OCR / table extraction / description) via macOS Vision. Images never leave your Mac.
Install (DSH-Plugin)
dsh plugin add @niyongsheng/free-vision-skill
Then add to cordis.patch.yml:
- insert:
- id: free-vision-skill
name: '@niyongsheng/free-vision-skill'
config:
timeout: 120000
Tools
view_image— describe image content (scene, people, QR, composition)ocr_image— extract text;layout=truefor table structure + coordinates
Input: http(s) URL / base64 / local path.
Paste-to-path (Web UI)
Paste (⌘V) an image in the DSH web input box → its local absolute path is inserted. Loopback-only upload, magic-byte checked: PNG / JPEG / GIF / WebP / HEIC / HEIF.
Usage (Claude Code Skill)
swift scripts/ocr.swift image.png # OCR
swift scripts/ocr.swift --layout image.png # table + coordinates
swift scripts/ocr.swift --describe image.png # describe image
Notes
- Requires macOS 11+ & Xcode Command Line Tools
- First run compiles ~5–10s, cached afterwards
License
MIT © 2026 Nico
No comments yet. Be the first to write one.