AGENT SKILL
xq
Use this skill when the user wants to extract data from XML/HTML, beautify XML/HTML files, or use XPath queries on structured data.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- xq
- description
- Use this skill when the user wants to extract data from XML/HTML, beautify XML/HTML files, or use XPath queries on structured data.
03 SKILL.md 正文
xq Plugin
Command-line XML and HTML beautifier and content extractor. Extract and format XML/HTML data with XPath queries.
Commands
XML/HTML Processing
xq xml extract— Extract XML/HTML content
Utility
xq _ _— Passthrough to xq CLI
Usage Examples
- "Extract XML content"
- "Beautify HTML file"
- "XPath query on XML"
- "Parse structured data"
Installation
brew install xq
Or via Go:
go install github.com/sibprogrammer/xq@latest
Examples
# Extract content
xq xml extract data.xml
# Use XPath query
xq xml extract data.xml --xpath "//book/title"
# Pretty print
xq xml extract data.xml --pretty
# Colorize output
xq xml extract data.xml --color
# Any xq command with passthrough
xq _ _ data.xml
xq _ _ data.xml --xpath "//item"
Key Features
- XPath - XPath query support
- Beautify - Format XML/HTML
- Extract - Extract specific content
- Colorize - Syntax highlighting
- HTML - HTML processing
- XML - XML processing
- Fast - Quick extraction
- Easy - Simple interface
- Flexible - Multiple output formats
- Parsing - Structured data parsing
Notes
- Great for web scraping
- XPath query support
- Perfect for data extraction
- Handles both XML and HTML
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57