Skip to content
Back to skills

Xq Command Line Xml Html Beautifier Content Extractor

ASecurity

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.

  • 36 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 8, 2026
ai-agentsgonodedockergitsecuritydocumentation

Security analysis

A100/100

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill xq-command-line-xml-html-beautifier-content-extractor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Xq Command Line Xml Html Beautifier Content Extractor?

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

Security grade badge for Xq Command Line Xml Html Beautifier Content Extractor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-xq-command-line-xml-html-beautifier-content-extrac/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-xq-command-line-xml-html-beautifier-content-extrac)

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: "xq Command-Line XML and HTML Beautifier and Content Extractor"
slug: "xq-command-line-xml-html-beautifier-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."
github_stars: 1100
verification: "security_reviewed"
source: "https://github.com/sibprogrammer/xq"
author: "sibprogrammer"
publisher_type: "Individual Developer"
category: "Data Extraction & Transformation"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "sibprogrammer/xq"
  github_stars: 1100
---

# xq Command-Line XML and HTML Beautifier and Content Extractor

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.

## Prerequisites

Go 1.21+ or Homebrew

## Installation

Use the upstream install or setup path that matches your environment:
- brew install xq
- go install github.com/sibprogrammer/xq@latest
- docker compose run --rm xq

Requirements and caveats from upstream:
- Node content extraction
- Extract an attribute value instead of node content additional option --attr (-a) can be used:
- If you have Go toolchain installed, you can use the following command to install xq:

Basic usage or getting-started notes:
- Format an XML file and highlight the syntax:
- xq test/data/xml/unformatted.xml
- xq also accepts input through stdin:

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

## Documentation

- https://github.com/sibprogrammer/xq#readme

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/xq-command-line-xml-html-beautifier-content-extractor/)

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.