Skip to content
Back to skills

Htmlq Command Line Html Content Extractor Css Selectors

ASecurity

htmlq is a command-line tool for extracting content from HTML using CSS selectors, functioning as the HTML equivalent of jq. Written in Rust, it lets you pipe HTML through CSS selectors to extract text, attributes, and structured content directly from the terminal.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentsrustgonodegitsecuritydocumentation

Works with

  • terminal

Security analysis

A100/100

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill htmlq-command-line-html-content-extractor-css-selectors --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Htmlq Command Line Html Content Extractor Css Selectors?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Htmlq Command Line Html Content Extractor Css Selectors
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-htmlq-command-line-html-content-extractor-css-sele/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-htmlq-command-line-html-content-extractor-css-sele)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "htmlq Command-Line HTML Content Extractor with CSS Selectors"
slug: "htmlq-command-line-html-content-extractor-css-selectors"
description: "htmlq is a command-line tool for extracting content from HTML using CSS selectors, functioning as the HTML equivalent of jq. Written in Rust, it lets you pipe HTML through CSS selectors to extract text, attributes, and structured content directly from the terminal."
github_stars: 7514
verification: "security_reviewed"
source: "https://github.com/mgdm/htmlq"
author: "Michael Maclean"
publisher_type: "Individual Developer"
category: "Data Extraction & Transformation"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "mgdm/htmlq"
  github_stars: 7514
---

# htmlq Command-Line HTML Content Extractor with CSS Selectors

htmlq is a command-line tool for extracting content from HTML using CSS selectors, functioning as the HTML equivalent of jq. Written in Rust, it lets you pipe HTML through CSS selectors to extract text, attributes, and structured content directly from the terminal.

## Prerequisites

Rust (cargo) or Homebrew

## Installation

Use the upstream install or setup path that matches your environment:
- cargo install htmlq
- brew install htmlq

Requirements and caveats from upstream:
- ### Remove a node before output

Basic usage or getting-started notes:
- ### [Cargo](https://crates.io/crates/htmlq)
- sh
- ### [FreeBSD pkg](https://www.freshports.org/textproc/htmlq)

- Source: https://github.com/mgdm/htmlq
- Extracted from upstream docs: https://raw.githubusercontent.com/mgdm/htmlq/HEAD/README.md

## Documentation

- https://github.com/mgdm/htmlq#readme

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/htmlq-command-line-html-content-extractor-css-selectors/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.