# Compare Text Changes with Similarity Metrics

Manual text comparison makes it difficult to measure both edits and overall similarity. This skill sends two strings to a paid service that returns diffs and several comparison metrics.

## Install

```bash
npx skillstore add requiredtruth/igneos-validate-text-diff-similarity
```

## Metadata

- Status: approved
- Slug: requiredtruth-igneos-validate-text-diff-similarity
- Skillstore revision: r1
- Version status: missing
- Tree hash: ba76ae275f4d951bda58460a488508114bba0b8f1705812922dfd92c516bc04b
- Author: requiredtruth
- GitHub username: requiredtruth
- Repository: https://github.com/requiredtruth/igneos.systems/tree/269e35454f027590f9a407361acedd6815297764/skills/igneos-validate-text-diff-similarity
- Ref: 275d09aed9918ab6b6e6b79d3b40c15b55e6cfd3
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network
- Quality score: 72
- Public page: https://skillstore.pages.dev/skills/requiredtruth-igneos-validate-text-diff-similarity
- Manifest: https://skillstore.pages.dev/api/skills/requiredtruth-igneos-validate-text-diff-similarity/manifest

## Capabilities

- Requests a unified line or word diff for two supplied strings.
- Calculates Levenshtein distance and Jaro-Winkler similarity.
- Calculates Jaccard bigram and word similarity.
- Calculates cosine term-frequency similarity.
- Calculates SequenceMatcher similarity.
- Supports input strings up to 1000 characters through the documented API.

## Use Cases

- Review Document Revisions: Compare two policy or content drafts to identify changed words and quantify their overall similarity.
- Check Generated Text Drift: Measure how closely a generated response matches a reference version before approving or publishing it.
- Validate Text Transformations: Inspect differences and similarity scores after normalization, translation, or formatting changes.

## Prompt Templates

### Basic Text Comparison

```
Compare these two text values and report the diff plus all available similarity scores: original: [TEXT A]; revised: [TEXT B].
```

### Review a Draft Edit

```
Compare the original draft and edited draft. Explain the meaningful changes, then summarize which similarity metrics indicate a close match: original: [TEXT A]; edited: [TEXT B].
```

### Check Output Against a Reference

```
Compare this output with the reference. Highlight additions, removals, and reordered wording, then assess similarity: reference: [TEXT A]; output: [TEXT B].
```

### Analyze Transformation Quality

```
Compare source and transformed text with every available metric. Explain disagreements between edit distance, token overlap, cosine similarity, and SequenceMatcher: source: [TEXT A]; transformed: [TEXT B].
```

## Limitations

- The skill depends on a paid external Igneos Systems service.
- Inputs are limited to 1000 characters per string.
- The documentation does not define local offline processing.
- Users must verify live payment terms before signing a request.

## Best Practices

- Remove confidential information before sending text to the external service.
- Use the same normalization and encoding rules for both input strings.
- Review the diff together with the scores because one metric can hide important wording changes.

## Anti Patterns

- Do not treat a high similarity score as proof that two texts have identical meaning.
- Do not send secrets, personal data, or proprietary text without authorization.
- Do not sign a payment request without verifying its resource, recipient, network, and price.

## Security Audit

- Audited at: 2026-12-05T10:54:31.567\+00:00
- Summary: The skill makes documented requests to an external paid service and includes a shell command that executes curl and jq. The remaining matches are documentation links, inline code formatting, or pricing text; no prompt injection or malicious exfiltration intent was found.

## Stats

- Views: 0
- Downloads: 0
- Favorites: 0
- Popularity score: 0
