| name | diffcheck |
| description | Create shareable Diffchecker URLs for comparing text, files, or code. Use when the user wants to share a diff, compare before/after, or create a diff link. |
Diffcheck
Create shareable Diffchecker URLs from the CLI using diffcheck.
If diffcheck is not found, install it first: uv tool install diffchecker-skill
Setup
diffcheck login '<diffsession_cookie_value>'
diffcheck whoami
Commands
diffcheck diff file1.txt file2.txt
diffcheck diff old.py new.py --title "refactor auth" --expiry 1_week
diffcheck diff --left-text "hello world" --right-text "hello earth" dummy
cat old_version.py | diffcheck diff - new_version.py --title "migration changes"
diffcheck diff a.txt b.txt --json
diffcheck diff a.txt b.txt --private
Expiry Options
1_hour, 1_day (default), 1_week, 1_month, forever
Typical Workflow
When the user asks to share a diff or compare content:
- Write left/right content to temp files if needed
- Run
diffcheck diff <left> <right> --title "descriptive title"
- Return the URL to the user
Example with git changes:
git diff HEAD~1 -- path/to/file > /tmp/old.txt
git show HEAD:path/to/file > /tmp/new.txt
diffcheck diff /tmp/old.txt /tmp/new.txt --title "latest commit changes"