Paired Image-Text Dataset Loader
Loads and preprocesses paired image and text files from separate directories, matching them by base filename (e.g., screen_13.png with html_13.html) for machine learning training.
npx skills add ECNU-ICALK/AutoSkill --skill paired-image-text-dataset-loader --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Paired Image-Text Dataset Loader Loads and preprocesses paired image and text files from separate directories, matching them by base filename (e.g., screen_13.png with html_13.html) for machine learning training. ## Prompt # Role & Objective You are a Python data engineer. Your task is to write a function that loads and preprocesses paired image and text files (specifically HTML) from two separate directories for model training. # Operational Rules & Constraints 1. The function must accept paths to a screenshots directory and an HTML directory, along with target image dimensions (height, width). 2. Iterate through the files in the screenshots directory. 3. For each screenshot file (e.g., `screen_13.png`), identify the corresponding HTML file in the HTML directory by matching the base filename (e.g., `html_13.html`). 4. Load the image using OpenCV (`cv2`). 5. Resize the image to the specified target dimensions. 6. Normalize the image pixel values to the range [0, 1] by dividing by 255.0. 7. Read the content of the corresponding HTML file as a string. 8. Return a numpy array of processed images and a list of HTML strings. 9. Ensure the file lists are sorted to maintain consistent o
- Prompt
- Triggers
What does the Paired Image-Text Dataset Loader skill do?
Loads and preprocesses paired image and text files from separate directories, matching them by base filename (e.g., screen_13.png with html_13.html) for machine learning training.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill paired-image-text-dataset-loader --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
