Bundle
@niyongsheng/free-vision-skill
DSH-Plugin for DeepSeek-Harness: fully-local image understanding & OCR powered by macOS Vision Framework
- Source
- niyongsheng
- stars
- 5 stars
- License
- MIT
- Updated
- Updated 7 days ago
Readme
# free-vision-skill
[](LICENSE)
[](https://www.apple.com/macos/)
[](https://developer.apple.com/documentation/vision)
[](https://en.wikipedia.org/wiki/Local_computing)
Fully-local image understanding (OCR / table extraction / description) via macOS Vision. Images never leave your Mac.
## Install (DSH-Plugin)
```bash
dsh plugin add @niyongsheng/free-vision-skill
```
Then add to `cordis.patch.yml`:
```yaml
- 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=true` for 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)
```bash
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](LICENSE) © 2026 Nico
Install
dsh plugin --profile web add github:niyongsheng/free-vision-skill#afcfe088d575fa2287601ed10e22245b7bfabb1b
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install niyongsheng-free-vision-skill from the hub
- This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.