{"id":"62c906dc-cbde-48be-b5b2-ce4df26e54c1","shortId":"vN7mH4","kind":"skill","title":"xq Command-Line XML and HTML Beautifier and Content Extractor","tagline":"xq is a command-line XML and HTML beautifier and content extractor written in Go. It provides syntax highlighting, automatic formatting, XPath and CSS selector queries, and JSON output conversion for XML and HTML documents.","description":"# xq Command-Line XML and HTML Beautifier and Content Extractor\n\nxq is a command-line XML and HTML beautifier and content extractor written in Go. It provides syntax highlighting, automatic formatting, XPath and CSS selector queries, and JSON output conversion for XML and HTML documents.\n\n## Prerequisites\n\nGo 1.21+ or Homebrew\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- brew install xq\n- go install github.com/sibprogrammer/xq@latest\n- docker compose run --rm xq\n\nRequirements and caveats from upstream:\n- Node content extraction\n- Extract an attribute value instead of node content additional option --attr (-a) can be used:\n- If you have Go toolchain installed, you can use the following command to install xq:\n\nBasic usage or getting-started notes:\n- Format an XML file and highlight the syntax:\n- xq test/data/xml/unformatted.xml\n- xq also accepts input through stdin:\n\n- Source: https://github.com/sibprogrammer/xq\n- Extracted from upstream docs: https://raw.githubusercontent.com/sibprogrammer/xq/HEAD/README.md\n\n## Documentation\n\n- https://github.com/sibprogrammer/xq#readme\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/xq-command-line-xml-html-beautifier-content-extractor/)","tags":["command","line","xml","html","beautifier","content","extractor","skills","agentskillexchange","agent-skills","ai-agents","ai-tools"],"capabilities":["skill","source-agentskillexchange","skill-xq-command-line-xml-html-beautifier-content-extractor","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/xq-command-line-xml-html-beautifier-content-extractor","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,261 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:13:11.154Z","embedding":null,"createdAt":"2026-05-18T13:20:26.734Z","updatedAt":"2026-05-18T19:13:11.154Z","lastSeenAt":"2026-05-18T19:13:11.154Z","tsv":"'/sibprogrammer/xq':189 '/sibprogrammer/xq#readme':200 '/sibprogrammer/xq/head/readme.md':196 '/sibprogrammer/xq@latest':119 '/skills/xq-command-line-xml-html-beautifier-content-extractor/)':207 '1.21':97 'accept':182 'addit':141 'agent':202 'agentskillexchange.com':206 'agentskillexchange.com/skills/xq-command-line-xml-html-beautifier-content-extractor/)':205 'also':181 'attr':143 'attribut':135 'automat':32,79 'basic':163 'beautifi':8,21,55,68 'brew':112 'caveat':127 'command':3,16,50,63,159 'command-lin':2,15,49,62 'compos':121 'content':10,23,57,70,131,140 'convers':42,89 'css':36,83 'doc':193 'docker':120 'document':47,94,197 'environ':111 'exchang':204 'extract':132,133,190 'extractor':11,24,58,71 'file':173 'follow':158 'format':33,80,170 'get':167 'getting-start':166 'github.com':118,188,199 'github.com/sibprogrammer/xq':187 'github.com/sibprogrammer/xq#readme':198 'github.com/sibprogrammer/xq@latest':117 'go':27,74,96,115,151 'highlight':31,78,175 'homebrew':99 'html':7,20,46,54,67,93 'input':183 'instal':100,104,113,116,153,161 'instead':137 'json':40,87 'line':4,17,51,64 'match':109 'node':130,139 'note':169 'option':142 'output':41,88 'path':107 'prerequisit':95 'provid':29,76 'queri':38,85 'raw.githubusercontent.com':195 'raw.githubusercontent.com/sibprogrammer/xq/head/readme.md':194 'requir':125 'rm':123 'run':122 'selector':37,84 'setup':106 'skill':203 'skill-xq-command-line-xml-html-beautifier-content-extractor' 'sourc':186,201 'source-agentskillexchange' 'start':168 'stdin':185 'syntax':30,77,177 'test/data/xml/unformatted.xml':179 'toolchain':152 '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':103,129,192 'usag':164 'use':101,147,156 'valu':136 'written':25,72 'xml':5,18,44,52,65,91,172 'xpath':34,81 'xq':1,12,48,59,114,124,162,178,180","prices":[{"id":"60c143be-75f0-4920-8fda-3ecec4d780c9","listingId":"62c906dc-cbde-48be-b5b2-ce4df26e54c1","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:20:26.734Z"}],"sources":[{"listingId":"62c906dc-cbde-48be-b5b2-ce4df26e54c1","source":"github","sourceId":"agentskillexchange/skills/xq-command-line-xml-html-beautifier-content-extractor","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/xq-command-line-xml-html-beautifier-content-extractor","isPrimary":false,"firstSeenAt":"2026-05-18T13:20:26.734Z","lastSeenAt":"2026-05-18T19:13:11.154Z"}],"details":{"listingId":"62c906dc-cbde-48be-b5b2-ce4df26e54c1","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"xq-command-line-xml-html-beautifier-content-extractor","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":"b41891eb3c74a4d40235de0b4ba35578cb972a2b","skill_md_path":"skills/xq-command-line-xml-html-beautifier-content-extractor/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/xq-command-line-xml-html-beautifier-content-extractor"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"xq Command-Line XML and HTML Beautifier and Content Extractor","description":"xq is a command-line XML and HTML beautifier and content extractor written in Go. It provides syntax highlighting, automatic formatting, XPath and CSS selector queries, and JSON output conversion for XML and HTML documents."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/xq-command-line-xml-html-beautifier-content-extractor"},"updatedAt":"2026-05-18T19:13:11.154Z"}}