document-evolution-tracker
Skill4 starsChanged 24 days agoMITView on GitHub
Document evolution tracker. Use when the user has a family of document versions (timestamped or sequentially named files) and wants to see how the document changed over time -- which paragraphs / lines / sentences were added, removed, or modified between consecutive versions, and how a set of named concepts (or auto-detected headings) evolved (introduced / retained / modified / dropped). Triggers on "track document changes", "version history", "what changed between drafts", "concept lineage", "document evolution". Emits a Markdown + JSON timeline.
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- JiamingShi-JsPhys/chelate-shelltheir own version, first seen Oct 25, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- JiamingShi-JsPhys/chelate-shell★ 10same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- conflict-detectorSkill
- formula-validatorSkill
- longitudinal-analysisSkill
- multi-dim-managerSkill
- task-organizerSkill
- video-trackerSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 61
Before the first run, probe the runtime deps for this skill:
- Very specific: line 67
If PyYAML is missing and the config is YAML, tell the user and ask whether to pip install pyyaml.
- Very specific: line 82
Verify versions_dir contains at least two versioned files.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
document-evolution-tracker
A self-contained skill that tracks how a document **evolves across
versions**. Given a version family (a directory of v1.md, v2.md, ... or
timestamped files), it computes paragraph-level diffs between consecutive
versions and tracks a concept lineage (introduced / retained / modified /
dropped).
MANDATORY WORKFLOW
Dependency bootstrap (run on first use)
Before the first run, probe the runtime deps for this skill:
- Core: pure standard library — no install required.
- Optional:
PyYAML(only when the config is a.yaml; JSON configs work with the standard library alone).
If PyYAML is missing and the config is YAML, tell the user and ask
whether to pip install pyyaml; install only after they confirm. Never
install into the global environment without explicit consent.
- Load a config (
config/examples/family.jsonas reference; YAML configs are also supported when PyYAML is installed). - Verify
versions_dircontains at least two versioned files. python -m src.cli run --config <path> [--concepts "A,B"].Report the transition count and point the user at
./evolution/evolution_<tracking_id>.{md,json}.
When to use
A family of document versions (timestamped or sequentially named) must
be compared over time.
The user asks "track document changes", "version history", "what
changed between drafts", or "concept lineage".
A named concept (a term, a heading, a definition) must be traced across
drafts to see when it was introduced, modified, or dropped.
The evolution of a draft must be reported as a timeline rather than a
single end-to-end diff.
Usage examples
# Validate a config and see the discovered version files.
python -m src.cli validate --config config/examples/family.json
python -m src.cli versions --config config/examples/family.json
# Run the tracker; optionally name the concepts to follow.
python -m src.cli run --config config/examples/family.json --concepts "entropy,partition function"
Reports are written to ./evolution/evolution_<tracking_id>.{md,json};
the Markdown timeline is for readers, the JSON for programmatic use.
Failure handling
Config invalid (
validateexits non-zero) - fix the reported fieldand re-validate; the naming scheme and
versions_dirare the usualculprits.
Fewer than two versions discovered - the run aborts; check the
version_namingrule against the actual filenames and retry.A concept never appears - it is reported as absent across all
versions, which is a valid result, not an error.
Unexpected exit code - report the message verbatim; do not fall back
to diffing the files by hand.
Diff granularity
| Granularity | Split rule |
| --- | --- |
| line | Non-empty lines |
| paragraph (default) | Blank-line separated blocks |
| sentence | Punctuation-delimited sentences |
Limitations
Diffing is structural (block alignment via
difflib), not semantic.A concept is "present" only when its exact phrase (case-insensitive)
appears in the version's text.
Custom naming schemes beyond
sequential/timestampare notsupported.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

