{"id":"3d4a7bf8-d42e-4662-a330-549f50ed8df8","shortId":"VSMK9c","kind":"skill","title":"htmlq Command-Line HTML Content Extractor with CSS Selectors","tagline":"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.","description":"# htmlq Command-Line HTML Content Extractor with CSS Selectors\n\nhtmlq 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.\n\n## Prerequisites\n\nRust (cargo) or Homebrew\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- cargo install htmlq\n- brew install htmlq\n\nRequirements and caveats from upstream:\n- ### Remove a node before output\n\nBasic usage or getting-started notes:\n- ### [Cargo](https://crates.io/crates/htmlq)\n- sh\n- ### [FreeBSD pkg](https://www.freshports.org/textproc/htmlq)\n\n- Source: https://github.com/mgdm/htmlq\n- Extracted from upstream docs: https://raw.githubusercontent.com/mgdm/htmlq/HEAD/README.md\n\n## Documentation\n\n- https://github.com/mgdm/htmlq#readme\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/htmlq-command-line-html-content-extractor-css-selectors/)","tags":["htmlq","command","line","html","content","extractor","css","selectors","skills","agentskillexchange","agent-skills","ai-agents"],"capabilities":["skill","source-agentskillexchange","skill-htmlq-command-line-html-content-extractor-css-selectors","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/htmlq-command-line-html-content-extractor-css-selectors","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,056 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:10:52.332Z","embedding":null,"createdAt":"2026-05-18T13:17:05.853Z","updatedAt":"2026-05-18T19:10:52.332Z","lastSeenAt":"2026-05-18T19:10:52.332Z","tsv":"'/crates/htmlq)':152 '/mgdm/htmlq':162 '/mgdm/htmlq#readme':173 '/mgdm/htmlq/head/readme.md':169 '/skills/htmlq-command-line-html-content-extractor-css-selectors/)':180 '/textproc/htmlq)':158 'agent':175 'agentskillexchange.com':179 'agentskillexchange.com/skills/htmlq-command-line-html-content-extractor-css-selectors/)':178 'attribut':47,101 'basic':142 'brew':129 'cargo':111,126,149 'caveat':134 'command':3,15,57,69 'command-lin':2,14,56,68 'content':6,20,50,60,74,104 'crates.io':151 'crates.io/crates/htmlq)':150 'css':9,24,42,63,78,96 'direct':51,105 'doc':166 'document':170 'environ':125 'equival':30,84 'exchang':177 'extract':19,45,73,99,163 'extractor':7,61 'freebsd':154 'function':26,80 'get':146 'getting-start':145 'github.com':161,172 'github.com/mgdm/htmlq':160 'github.com/mgdm/htmlq#readme':171 'homebrew':113 'html':5,22,29,40,59,76,83,94 'htmlq':1,11,55,65,128,131 'instal':114,118,127,130 'jq':32,86 'let':37,91 'line':4,16,58,70 'match':123 'node':139 'note':148 'output':141 'path':121 'pipe':39,93 'pkg':155 'prerequisit':109 'raw.githubusercontent.com':168 'raw.githubusercontent.com/mgdm/htmlq/head/readme.md':167 'remov':137 'requir':132 'rust':35,89,110 'selector':10,25,43,64,79,97 'setup':120 'sh':153 'skill':176 'skill-htmlq-command-line-html-content-extractor-css-selectors' 'sourc':159,174 'source-agentskillexchange' 'start':147 'structur':49,103 'termin':54,108 'text':46,100 'tool':17,71 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'upstream':117,136,165 'usag':143 'use':23,77,115 'written':33,87 'www.freshports.org':157 'www.freshports.org/textproc/htmlq)':156","prices":[{"id":"a4da330a-2292-43a8-a224-3c53085b6ad2","listingId":"3d4a7bf8-d42e-4662-a330-549f50ed8df8","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:17:05.853Z"}],"sources":[{"listingId":"3d4a7bf8-d42e-4662-a330-549f50ed8df8","source":"github","sourceId":"agentskillexchange/skills/htmlq-command-line-html-content-extractor-css-selectors","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/htmlq-command-line-html-content-extractor-css-selectors","isPrimary":false,"firstSeenAt":"2026-05-18T13:17:05.853Z","lastSeenAt":"2026-05-18T19:10:52.332Z"}],"details":{"listingId":"3d4a7bf8-d42e-4662-a330-549f50ed8df8","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"htmlq-command-line-html-content-extractor-css-selectors","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"dd567bbdd147cee37232da34a9dd0daae44e5832","skill_md_path":"skills/htmlq-command-line-html-content-extractor-css-selectors/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/htmlq-command-line-html-content-extractor-css-selectors"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"htmlq Command-Line HTML Content Extractor with 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."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/htmlq-command-line-html-content-extractor-css-selectors"},"updatedAt":"2026-05-18T19:10:52.332Z"}}