python scripts/_core.py is an optional helper whose behavior should be compared with this skill's documented purpose before use. Show what the script does, explain any mismatch with the user-facing description, and run it only when the user explicitly wants that diagnostic path.
General OCR Struct
Use this skill to separate OCR recognition from downstream content整理.
Workflow
Run the local OCR script on the image first.
Return the raw OCR text before making business interpretations when accuracy matters.
If the image is a transaction-detail screenshot, run structuring mode to group rows into fields.
Mark uncertain fields explicitly as 待确认; do not guess missing content.
Only after the user confirms recognition quality, use the result for tables, summaries, or documents.
Commands
Raw OCR
python3 scripts/general_ocr.py raw /path/to/image.jpg
Prefer showing the recognition result first, then the cleaned structure.
Preserve source wording where possible.
For uncertain content, use 待确认 instead of inferring.
Adapt the structure to the source image type. For statement-like screenshots, common fields are: card_last4, date, time, currency, merchant, amount.
Notes
This skill uses RapidOCR locally.
First install may need Python packages; after setup it runs offline.
If OCR quality is weak, request a higher-resolution original screenshot before doing deeper整理.
1---2name: case-008073description: Helper Behavior Review4---5678### Helper Behavior Review910`python scripts/_core.py` is an optional helper whose behavior should be compared with this skill's documented purpose before use. Show what the script does, explain any mismatch with the user-facing description, and run it only when the user explicitly wants that diagnostic path.1112# General OCR Struct1314Use this skill to separate OCR recognition from downstream content整理.1516## Workflow17181. Run the local OCR script on the image first.192. Return the raw OCR text before making business interpretations when accuracy matters.203. If the image is a transaction-detail screenshot, run structuring mode to group rows into fields.214. Mark uncertain fields explicitly as `待确认`; do not guess missing content.225. Only after the user confirms recognition quality, use the result for tables, summaries, or documents.2324## Commands2526### Raw OCR2728```bash29python3 scripts/general_ocr.py raw /path/to/image.jpg30```3132### Structured transaction extraction3334```bash35python3 scripts/general_ocr.py transactions /path/to/image.jpg36```3738### JSON output3940```bash41python3 scripts/general_ocr.py transactions /path/to/image.jpg --json42```4344## Output rules4546- Prefer showing the recognition result first, then the cleaned structure.47- Preserve source wording where possible.48- For uncertain content, use `待确认` instead of inferring.49- Adapt the structure to the source image type. For statement-like screenshots, common fields are: `card_last4`, `date`, `time`, `currency`, `merchant`, `amount`.5051## Notes5253- This skill uses RapidOCR locally.54- First install may need Python packages; after setup it runs offline.55- If OCR quality is weak, request a higher-resolution original screenshot before doing deeper整理.
Run npx skillmds@latest add knownasnaffy/case-00807 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Helper Behavior Review It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: CAUTION, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
knownasnaffy (@knownasnaffy) published this skill. Their other Agent Skills are listed on their SkillMD profile.