xml-surgeon

Community

Surgical XML edits with XPath precision.

Authoranntnzrb
Version1.0.0
Installs0

System Documentation

What problem does it solve?

xml-surgeon enables precise, surgical edits of XML data across many files using XPath, while minimizing formatting drift and preserving the original structure as much as possible.

Core Features & Use Cases

  • XPath-based reads/edits with minimal formatting change across multiple files
  • Subtree inspection, child-node scanning, and updates to attributes/text, including insert/replace/delete
  • Batch refactors and targeted XML maintenance across large codebases or data stores

Quick Start

Inspect matches with select, preview changes with show or context, then apply surgical edits using set-text, set-attr, insert, replace, or delete after reviewing diffs.

Dependency Matrix

Required Modules

lxml>=5.3.0

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: xml-surgeon
Download link: https://github.com/anntnzrb/agents/archive/main.zip#xml-surgeon

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.