ocr
Skill0 starsChanged 2 months agoMITView on GitHub
Extract text from local images, screenshots, scanned PDFs, receipts, forms, and mixed Chinese-English documents with the external Stardust OCR service. Use this skill whenever the user asks to OCR, recognize, transcribe, read, or extract text from image-based files, including when a PDF has no usable text layer.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- ruiwarn/skillstheir own version, first seen Nov 8, 2026
- hosaypeng/claude-skillstheir own version, first seen Nov 1, 2026
- tanod-labs/tanod-mcptheir own version, first seen Oct 17, 2026
- panyw5/skillstheir own version, first seen Oct 9, 2026
- jholhewres/devclaw-skillstheir own version, first seen Oct 9, 2026
- xyzBart/claude-skillstheir own version, first seen Oct 8, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- OpenCoven/coven★ 75same name
- jholhewres/devclaw-skills★ 4same name
- ruiwarn/skills★ 4same name
- hec-ovi/ocr-skill★ 1same name
- panyw5/skills★ 1same name
- tanod-labs/tanod-mcp★ 1same name
- xiaotianxt/skills★ 1same name
- hosaypeng/claude-skills★ 0same name
- Shugar86/my-agent★ 0same name
- xyzBart/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- ai-pr-redteamSkill
- ai-servicesSkill
- build-work-memorySkill
- ceo-calendar-inviteSkill
- ceo-document-reviewSkill
- ceo-email-classifierSkill
- ceo-feedback-iterationSkill
- ceo-feedback-processingSkill
- ceo-mail-reviewSkill
- ceo-meeting-workSkill
- ceo-message-triageSkill
- ceo-minutes-syncSkill
- ceo-personnel-communicationSkill
- ceo-wechatSkill
- ceo-work-trackingSkill
- codex-model-capacity-retrySkill
- daily-frontier-tech-discoverySkill
- dengbao-code-auditSkill
- dingtalk-browser-exportSkill
- dingtalk-knowledge-organizeSkill
- dingtalk-minutes-access-requestSkill
- dingtalk-oa-approvalSkill
- dingtang-okr-reviewSkill
- fundflow-investor-meetingSkill
- fxiaoke-crm-cliSkill
- internal-app-standardsSkill
- pm-data-adaptation-assistantSkill
- project-delivery-document-collectionSkill
- qa-generated-test-caseSkill
- senior-technical-product-evaluationSkill
- spec-intakeSkill
- sso-oidc-onboardingSkill
- stardust-interviewSkill
- production-devops-sreSkill
- stardust-ttsSkill
- startask-io-contract-auditSkill
- task-managementSkill
- transcribeSkill
- veyra-timesheetSkill
- vibe-coding-rescueSkill
- vibe-codingSkill
- video-transcribeSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Use the Access-protected OCR service at https://ocr.preseen.ai/v1.
- Distinctive: line 44
Read the result and answer the user's actual question.
- Distinctive: line 61
Check login state without starting OCR:
- Distinctive: line 67
Remove only the OCR service session:
- Very specific: line 88
If discovery reports missing protected-resource metadata, first rule out a local 198.18.x.x fake-IP/proxy path.
- Distinctive: line 95
Do not fall back to a different OCR engine or upload the file elsewhere without the user's authorization.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OCR
Use the Access-protected OCR service at https://ocr.preseen.ai/v1. It runs RapidOCR for simplified Chinese and English. The service can be cold after a long idle period, so the first request may take longer while its GPU worker starts.
Workflow
- Resolve every requested local file to an absolute path and confirm it exists.
- For an image, screenshot, scanned PDF, receipt, or form, run:
python3 "$HOME/.agents/skills/ocr/scripts/ocr.py" \
"/absolute/path/to/file.png" \
--format markdown- Pass multiple files in one invocation when they belong to the same task. This lets the service batch them:
python3 "$HOME/.agents/skills/ocr/scripts/ocr.py" \
"/absolute/path/to/page-1.png" \
"/absolute/path/to/page-2.jpg" \
--format markdown \
--output "/absolute/path/to/ocr-result.md"- For selected PDF pages, use one-based page numbers:
python3 "$HOME/.agents/skills/ocr/scripts/ocr.py" \
"/absolute/path/to/scanned.pdf" \
--pages 1,3-5 \
--format markdown- Read the result and answer the user's actual question. Preserve page boundaries when they matter. Clearly label uncertain text when confidence is low or the response contains warnings; do not silently repair names, amounts, dates, identifiers, or other consequential fields.
Output modes
--format text: recognized text only, suitable for piping or quick reading.--format markdown: source and page headings plus confidence and warnings. This is the default for agent use.--format json: the service response, suitable for downstream processing.--output PATH: write the selected format to a file. Without it, print to stdout.
Authentication and configuration
The bundled client authenticates through the shared Stardust Cloudflare Access
client. On the first normal request, it opens the browser for company login;
sign in with an authorized @stardust.ai identity. The refresh token is stored
locally in the shared owner-only credential store and isolated by service
origin. It is never printed or copied into the skill.
Check login state without starting OCR:
python3 "$HOME/.agents/skills/ocr/scripts/ocr.py" --auth-statusRemove only the OCR service session:
python3 "$HOME/.agents/skills/ocr/scripts/ocr.py" --logoutApproved headless workloads set both CF_ACCESS_CLIENT_ID and
CF_ACCESS_CLIENT_SECRET from their secret manager. Never set only one, and do
not paste either value into chat, source, logs, or reports.
The selected document_ocr_providers entry in DOCUMENT_OCR_CONFIG, or in
$HOME/Documents/Projects/memory-connector/config/providers.yaml when present,
is used only for model and language defaults. Provider API keys are ignored.
The public base URL defaults to https://ocr.preseen.ai/v1. Override it only when the user explicitly asks by setting DOCUMENT_OCR_PUBLIC_BASE_URL or passing --base-url. Do not use the provider registry's loopback 127.0.0.1 address from this machine; that address is only valid inside the OCR server.
The default model and languages come from the selected provider entry. Override them with --model or --languages only when the service advertises the requested values through /v1/models or /healthz.
The bundled client uses PyYAML to read the existing provider registry. If import yaml fails, install PyYAML into the Python environment used to run the script.
The service hostname must have its own Cloudflare Access application and AUD.
If discovery reports missing protected-resource metadata, first rule out a
local 198.18.x.x fake-IP/proxy path; otherwise the service-side Access
application or AUD still needs configuration.
Failure handling
- A missing file, unsupported MIME type, malformed page range, authentication failure, or service error is a real failure. Report it directly.
- Do not fall back to a different OCR engine or upload the file elsewhere without the user's authorization.
- OCR is probabilistic. For high-impact fields, quote the recognized value with its page and confidence, and recommend checking the source image when evidence is weak.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

