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.
npx skills add majiayu000/claude-skill-registry --skill dit --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.
# 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
- Installation
- CLI Usage
- Library Usage (Go)
- Page Types
- Form Types
- Field Types
- References
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
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.
