Skip to content
Back to skills

Custom Models

ASecurity

"Load EasyOCR custom recognition bundles, validate the file triad,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolsapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill custom-models --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Custom Models?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Custom Models
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-custom-models-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-custom-models-arex-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: custom-models
description: "Load EasyOCR custom recognition bundles, validate the file triad,
  and configure custom model and user-network directories."
metadata:
  disco-role: operating
disable-model-invocation: true
license: Apache 2.0
---

# EasyOCR Custom Models

Use this sub-skill when the user has a custom recognition bundle and wants to
load it with EasyOCR instead of the built-in recognition models.

## Use when

- The task mentions `recog_network='custom_example'` or another custom stem.
- The user has `.pth`, `.yaml`, and `.py` files for a custom recognizer.
- The task is about `user_network_directory`, `model_storage_directory`, or
  `EASYOCR_MODULE_PATH`.
- The user wants to check whether a bundle is complete before running OCR.

## Do not use when

- The user wants to train the model. That is out of scope here.
- The user wants DBNet or detector compilation. Use `sub-skills/dbnet/`.
- The task is ordinary OCR with built-in models. Use `sub-skills/inference/`.

## Quick workflow

1. Read `references/workflows.md` for the bundle layout and load sequence.
2. Run `scripts/check_bundle.py` against the custom bundle directory or stem.
3. Confirm that the stem is the same across `.pth`, `.yaml`, and `.py`.
4. Load the bundle with `easyocr.Reader(..., recog_network='<stem>')`.
5. Read `references/troubleshooting.md` if the bundle fails to load.

## What this sub-skill owns

- The custom recognition bundle triad.
- Directory layout for user networks and model weights.
- The `Reader` constructor path that loads custom recognition code.
- Fast bundle validation before runtime.

## References and scripts

- `../../references/api-reference.md` for the main `Reader` signature.
- `../../references/configuration.md` for cache directories and environment
  variable precedence.
- `references/workflows.md` for the bundle file layout and load pattern.
- `references/troubleshooting.md` for stem mismatches, YAML errors, and
  import failures.
- `scripts/check_bundle.py` for a safe bundle validator.

## Boundary notes

- Keep training, dataset creation, and maintainer-only language regeneration
  out of this sub-skill.
- If the task needs a different detector backend, route to the DBNet sub-skill.
- If the task only needs built-in languages, route to inference instead.

Files in this skill

  • SKILL.md2.3 KB
  • references/troubleshooting.md1.9 KB
  • references/workflows.md1.9 KB
  • scripts/check_bundle.py2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.