Skip to content
Back to skills

Document Evolution Tracker

ASecurity

Compares a family of document versions over time: paragraph changes and concept lineage.

  • 11 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 12, 2026
ai-agentspythonbash

Works with

  • terminal
  • cli

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 18, 2026

npx -y skills add JiamingShi-JsPhys/chelate-shell --skill document-evolution-tracker --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Document Evolution Tracker?

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

Security grade badge for Document Evolution Tracker
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jiamingshi-jsphys-document-evolution-tracker/badge)](https://www.skillsdirectory.com/skills/jiamingshi-jsphys-document-evolution-tracker)

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: document-evolution-tracker
version: 1.4.0
description: >
  Compares a family of document versions over time: paragraph changes and
  concept lineage.
metadata:
  version: 1.4.0
  author: Jiaming Shi
  license: MIT
  entry_point: python run.py
  python_requires: '>=3.10'
---

# document-evolution-tracker

Diffs a whole family of document versions and traces named concepts through
them. It reports **structural** change — block alignment via `difflib` — not
semantic meaning.

- **Stage:** `workspace` · **Sandbox:** no · **Dependencies:** stdlib only (`PyYAML` only for `.yaml` configs)

## Quick Execution

Run this exact form — do not read the source tree:

```bash
python run.py --root <WS> --action versions -- --config config/examples/family.json
```

- `validate` first: it reports config errors and the discovered version files.
- `--concepts "a,b"` names the concepts to trace; unnamed ones are not followed.
- The gate lands in `<WS>/process/gates/document-evolution-tracker_<ts>.json`.

## When to use

- A family of versions (timestamped or sequentially named) must be compared as a whole.
- A named concept — a term, a heading, a definition — must be traced across versions.
- The evolution of a draft must be reported as a timeline, not a single diff.

## When NOT to use

- Only two files need a diff — any diff tool is cheaper.
- You need semantic equivalence, not a structural comparison.

## Actions

| `--action` | Does | Extra arguments |
| --- | --- | --- |
| `validate` | Check the config and report the discovered versions | `--config <cfg>` |
| `versions` | List the discovered version files | `--config <cfg>` |
| `run` | Compare the family and produce the timeline | `--config <cfg> [--concepts "a,b"]` |

## Hard constraints

- **Structural only.** A concept counts as present on a literal match, never on a paraphrase.
- **Never reformat the sources.** Inputs are read, never written.

## Outputs

- `<WS>/process/gates/document-evolution-tracker_<ts>.json` — the gate result.
- A Markdown timeline plus a JSON change record under `process/`.

## Failure handling

- An invalid config exits non-zero and names the offending field.
- Fewer than two discovered versions aborts the run.
- A concept that never appears is reported as absent across all versions.

## Limitations

- Diffing is structural (block alignment), not semantic.
- Only `sequential` and `timestamp` naming schemes are recognised.

## Delivering results

This skill writes intermediates to `process/`. `results/` is filled only by
`python cli.py pipeline` after a human approved that exact plan.

- Do not copy a skill's output into `results/` yourself, and do not do it
  because the user asked for a shortcut: say that only `cli.py pipeline`
  writes there, offer to run the pipeline instead, and if they still insist,
  tell them `cli.py audit` will report the file as unapproved.
- Never set `CHELATE_UNSAFE_AUTO_APPROVE=1` (formerly `CHELATE_HUMAN`) and never run `cli.py approve` on the user's
  behalf. If an approval is needed, ask the human to issue it in their own
  terminal.
- Before telling the user a deliverable is ready — and after any write you
  make under `results/` — run `python cli.py audit --root <ws>`. Exit 1 means
  files there have no approval behind them: report that and name them, do not
  describe the state as delivered.

Files in this skill

  • .gitignore208 B
  • AUTHORS.md98 B
  • CHANGELOG.md2 KB
  • CITATION.cff730 B
  • LICENSE1 KB
  • README.md1 KB
  • SKILL.md2.6 KB
  • config/examples/family.json190 B
  • config/examples/family/v1.md189 B
  • config/examples/family/v2.md233 B
  • config/schema.yaml411 B
  • manifest.json442 B
  • pyproject.toml404 B
  • requirements.txt249 B
  • run.py1.3 KB
  • src/__init__.py369 B
  • src/align.py1.2 KB
  • src/cli.py2.4 KB
  • src/config.py2.2 KB
  • src/diff_blocks.py4 KB

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.