Agent skill · Content & Marketing

dit

Classify HTML pages, forms, and fields using machine learning. Use when the user needs to detect page types (login, error, captcha), identify form types (login, search, registration), or classify form fields (username, password, email) from HTML content or URLs.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill dit --agent claude-code

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

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: none
Path: skills/ai-ml/dit/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

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

From the SKILL.md

# dit - HTML Page, Form & Field Classifier dît (means "found" in Kurdish) classifies HTML pages, forms, and fields using machine learning (LogReg + CRF). Zero external ML dependencies. It classifies pages (login, error, landing, blog, etc.), detects form types (login, search, registration, password recovery, contact, etc.), and classifies each field (username, password, email, search query, etc.). ## Installation ```bash go get github.com/happyhackingspace/dit ``` Or install the CLI: ```bash go install github.com/happyhackingspace/dit/cmd/dit@latest ``` ## CLI Usage ```bash # Classify page type and forms on a URL dit run https://github.com/login # Classify forms in a local file dit run login.html # With probabilities dit run https://github.com/login --proba # Download training data and model from Hugging Face dit data download # Train a model dit train model.json --data-folder data # Evaluate model accuracy dit evaluate --data-folder data # Upload training data and model to Hugging Face dit data upload ``` ## Library Usage (Go) ```go import "github.com/happyhackingspace/dit" // Load classifier c, _ := dit.New() // Classify page type page, _ := c.ExtractPageType(htmlString) fmt.Prin

What's inside
Steps it walks through
  1. Installation
  2. CLI Usage
  3. Library Usage (Go)
  4. Page Types
  5. Form Types
  6. Field Types
  7. References
Ships with 1 file
  • metadata.json
Commands it runs
go get github.com/happyhackingspace/dit
go install github.com/happyhackingspace/dit/cmd/dit@latest
Classify page type and forms on a URL
dit run https://github.com/login
Classify forms in a local file
dit run login.html
With probabilities
dit run https://github.com/login --proba
Download training data and model from Hugging Face
dit data download
More from claude-skill-registry
All skills →
About this skill
What does the dit skill do?

Classify HTML pages, forms, and fields using machine learning. Use when the user needs to detect page types (login, error, captcha), identify form types (login, search, registration), or classify form fields (username, password, email) from HTML content or URLs.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill dit --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 majiayu000/claude-skill-registry, a repository with 534 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