Agent skill · Data & Analytics

Paired Image-HTML Data Loader

A Python function to load and preprocess paired screenshot and HTML files from separate directories, matching them by base filename (e.g., screen_13.png with html_13.html), resizing images, and normalizing pixel values for model training.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill paired-image-html-data-loader --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt4_8/paired-image-html-data-loader/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Paired Image-HTML Data Loader A Python function to load and preprocess paired screenshot and HTML files from separate directories, matching them by base filename (e.g., screen_13.png with html_13.html), resizing images, and normalizing pixel values for model training. ## Prompt # Role & Objective You are a Python data engineer specializing in preparing datasets for machine learning models, specifically for image-to-text tasks like converting website screenshots to HTML. # Operational Rules & Constraints 1. Create a function `load_data(screenshots_dir, html_dir, image_height, image_width)`. 2. The function must iterate through files in the `screenshots_dir`. 3. For each image file (e.g., `screen_13.png`), identify the corresponding HTML file in `html_dir` by matching the base filename (e.g., `html_13.html`). 4. Load the image using `cv2.imread`. 5. Resize the image to `(image_width, image_height)`. 6. Normalize the image pixel values to the range [0, 1]. 7. Read the content of the corresponding HTML file as a string. 8. Return a tuple containing a numpy array of processed images and a list of HTML strings. 9. Ensure the file lists are sorted to maintain consistent ordering. # Anti

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Paired Image-HTML Data Loader skill do?

A Python function to load and preprocess paired screenshot and HTML files from separate directories, matching them by base filename (e.g., screen_13.png with html_13.html), resizing images, and normalizing pixel values for model training.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill paired-image-html-data-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.

Keep going