# Diffx

> Use this skill when the user wants to perform semantic diffs on structured data files like JSON, YAML, or TOML.

- Skill: `javimosch/diffx` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/diffx`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/diffx/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/diffx

---


# diffx Plugin

Semantic diff tool for structured data. Understands the structure of JSON, YAML, and TOML files and produces meaningful diffs instead of line-based diffs.

## Commands

### File Diffing
- `diffx file diff` — Semantic diff between two structured data files

## Usage Examples
- "Diff these two JSON files semantically"
- "Compare two YAML configurations"
- "Show me the structural differences in these TOML files"

## Installation

```bash
cargo install diffx
```

## Examples

```bash
diffx file-a.json file-b.json
diffx config1.yaml config2.yaml
diffx old.toml new.toml
```

## Key Features
- Semantic (structure-aware) diffing
- Supports JSON, YAML, and TOML formats
- Human-readable output
- Fast Rust implementation

