Skip to content
Agentmart
Submit a tool

easy12306

Routes easy12306 12306 captcha recognition tasks across pretrained inference, data preparation, text-model training, and image-model training workflows.

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-easy12306

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Routes easy12306 12306 captcha recognition tasks across pretrained inference, data preparation, text-model training, and image-model training workflows.

Use cases: data, ml

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/easy12306

What's inside

Skill name
easy12306
Description
Routes easy12306 12306 captcha recognition tasks across pretrained inference, data preparation, text-model training, and image-model training workflows.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
74 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (31)

  • SKILL.md
  • label-vocabulary.md · references/
  • model-artifacts.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • check_environment.py · scripts/
  • SKILL.md · sub-skills/data-preparation/
  • baidu-ocr-labeling.md · sub-skills/data-preparation/references/
  • data-formats.md · sub-skills/data-preparation/references/
  • hash-reference.md · sub-skills/data-preparation/references/
  • troubleshooting.md · sub-skills/data-preparation/references/
  • workflows.md · sub-skills/data-preparation/references/
  • captcha_preprocess_diagnostic.py · sub-skills/data-preparation/scripts/
  • hash_image_tiles.py · sub-skills/data-preparation/scripts/
  • SKILL.md · sub-skills/image-modeling/
  • api-reference.md · sub-skills/image-modeling/references/
  • troubleshooting.md · sub-skills/image-modeling/references/
  • workflows.md · sub-skills/image-modeling/references/
  • inspect_image_training_assets.py · sub-skills/image-modeling/scripts/
  • SKILL.md · sub-skills/inference/
  • api-reference.md · sub-skills/inference/references/
  • troubleshooting.md · sub-skills/inference/references/
  • workflows.md · sub-skills/inference/references/
  • check_inference_assets.py · sub-skills/inference/scripts/
  • run_inference.py · sub-skills/inference/scripts/
  • SKILL.md · sub-skills/text-modeling/
  • api-reference.md · sub-skills/text-modeling/references/
  • troubleshooting.md · sub-skills/text-modeling/references/
  • workflows.md · sub-skills/text-modeling/references/
  • inspect_text_training_assets.py · sub-skills/text-modeling/scripts/

SKILL.md (first lines)

# easy12306 repo skill

Use this repo skill when a task involves **easy12306**, the legacy Python/OpenCV/Keras project for recognizing 12306 captcha prompts and image tiles. It is a router: load the focused sub-skill that matches the user's goal, then use that sub-skill's bundled references and scripts instead of reopening source files from an original checkout.

## Quick fit

Read this skill when the user asks about:

- Running or adapting 12306 captcha recognition from `model.h5`, `12306.image.model.h5`, `texts.txt`, and a captcha image.
- Validating easy12306 image/model/label/data artifacts before running legacy Keras code.
- Recreating prompt-text crops, eight image tiles, perceptual hashes, `.npz` datasets, or OCR-assisted labels.
- Training or diagnosing the text prompt classifier or image-tile classifier.
- Troubleshooting Keras/TensorFlow, OpenCV, missing model/data files, Baidu OCR credentials, or geometry/label mismatches for this repo.

Avoid this skill when the request is only generic CAPTCHA solving, modern object detection/OCR unrelated to easy12306 artifacts, or editing a different repository.

## Compatibility baseline

The repository is a flat script collection rather than an installable Python package. The verified inspection baseline was:

```text
Python 3.11 + TensorFlow/Keras 2.15-compatible APIs + OpenCV + NumPy + SciPy + scikit-learn + matplotlib + requests
```

## Setup

Create a Python 3.11 environment, then install the legacy-compatible runtime dependencies explicitly:

```bash
python3 -m pip install \
  "tensorflow-cpu==2.15.1" "keras==2.15.0" \
  opencv-python-headless numpy scipy scikit-learn matplotlib requests
```

Use `opencv-python` instead of `opencv-python-headless` only when the task needs GUI/image-window features. The source dependency list used the deprecated `sklearn` package name; use `scikit-learn` in new environments.

Minimal verification command:

```bash
python scripts/check_environment.py
```

Keras 3 can break legacy imports because the image-model script imports `keras.preprocessing.image.ImageDataGenerator`. Use [references/troubleshooting.md](references/troubleshooting.md) and `scripts/check_environment.py` before running model code in a new environment.

## Route map

| User task | Load |
| --- | --- |
| Use pretrained artifacts for a full captcha or single image-tile prediction; validate image/model/label prerequisites; interpret row/column output. | [sub-skills/inference/SKILL.md](sub-skills/inference/SKILL.md) |
| Prepare captcha data, prompt-text crops, eight object tiles, perceptual hashes, label vocabulary files, Baidu OCR labeling notes, or `.npz` data schemas. | [sub-skills/data-preparation/SKILL.md](sub-skills/data-preparation/SKILL.md) |
| Train, fine-tune, inspect, or troubleshoot the cropped prompt-text classifier and `model.h5`/`model.v*.h5` artifacts. | [sub-skills/text-modeling/SKILL.md](sub-skills/text-modeling/SKILL.md) |
| Train, inspect, or troubleshoot the VGG16-based image-tile classifier and `12306.image.model.h5` artifact. | [sub-skills/image-modeling/SKILL.md](sub-skills/image-modeling/SKILL.md) |

## Shared references

- [references/model-artifacts.md](references/model-artifacts.md) explains required and generated model/data files across all sub-skills.
- [references/label-vocabulary.md](references/label-vocabulary.md) preserves the exact 80-class Chinese label order from `texts.txt`.
- [references/troubleshooting.md](references/troubleshooting.md) covers cross-cutting install/import, artifact, credential, and safety failures.
- [references/repo-provenance.md](references/repo-provenance.md) records the source snapshot and evidence paths for refresh decisions.
- [references/repo-routing-metadata.json](references/repo-routing-metadata.json) is structured metadata for managed repo-skill routing.

## Shared script

- `python scripts/check_environment.py` checks that the active Python environment has the dependency imports and legacy Keras surface expected by easy12306. It does not read user model/data files.

## Operating rules

1. Start with validation scripts before model loading or training. Model files and datasets are not bundled with this skill.
2. Treat network, credential, and long-training workflows as explicit user actions, not smoke tests. The 12306 download loop, Baidu OCR calls, VGG16 weight downloads, and 100/400-epoch training runs should not run automatically.
3. Preserve OpenCV BGR assumptions, the 80-row label order, the `19x57` text crop, and eight `67x67` tile geometry unless the user explicitly asks to adapt the repo to a new captcha layout.
4. Do not import credentialed OCR code during diagnostics; use the data-preparation reference for a safe credential pattern.
5. Keep generated skill use self-contained. When source filenames are mentioned, treat them as provenance and artifact-name evidence; use the bundled scripts/references for actionable operations.

From VectorSpaceLab/AREX-Skill, Apache-2.0.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Cite this page

easy12306 skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-easy12306 (last updated 2026-10-24)