ocr
SKILL.md
IMPORTANT - Path Resolution:
This skill can be installed in different locations (plugin system, manual installation, global, or project-specific). Before executing any commands, determine the skill directory based on where you loaded this SKILL.md file, and use that path in all commands below. Replace $SKILL_DIR with the actual discovered path.
OCR
Run the OCR CLI directly via Node.js:
Setup (First Time)
cd $SKILL_DIR/scripts
npm run setup
Execution Pattern
cd $SKILL_DIR/scripts
# OCR from file
node cli.js <image-path>
# OCR from file with language
node cli.js <image-path> --lang <lang>
# OCR from clipboard (macOS)
node cli.js --clipboard
# OCR from clipboard with language
node cli.js --clipboard --lang <lang>
Examples
cd $SKILL_DIR
node cli.js ./screenshot.png
node cli.js /path/to/image.jpg --lang chi_tra
node cli.js --clipboard --lang jpn
Supported Languages
eng- Englishchi_sim- Simplified Chinesechi_tra- Traditional Chinesejpn- Japanesekor- Korean- Combine with
+:eng+chi_sim+jpn
Supported Formats
PNG, JPG, JPEG, GIF, BMP, WebP, TIFF
Weekly Installs
6
Repository
xyuanbuilds/my_skillsFirst Seen
Feb 24, 2026
Security Audits
Installed on
opencode6
claude-code6
github-copilot6
codex6
kimi-cli6
gemini-cli6