— No reviews yet
0 installs
2 views
0.0% view→install
Install
$ agentstack add skill-publisher-skill-claude-skill-file-comparator ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Are you the author of File Comparator? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claimAbout
File Comparator Skill
文件对比工具,对比文件和目录差异,查找重复文件。
功能特性
- 文件对比 - 快速/内容/Hash 三种对比方式
- 目录对比 - 递归对比两个目录
- 查找重复 - 找出目录中的重复文件
- 生成报告 - 生成对比报告
使用方法
Python API
from skills.file_comparator import FileComparator
comp = FileComparator()
# 对比两个文件
result = comp.compare_files('file1.txt', 'file2.txt', method='content')
# 对比两个目录
result = comp.compare_directories('dir1/', 'dir2/', recursive=True)
# 查找重复文件
duplicates = comp.find_duplicates('/path/to/folder', by_hash=True)
# 生成报告
report = comp.generate_diff_report(result)
print(report)
API 参考
FileComparator 类
compare_files(file1, file2, method='quick')
对比两个文件
参数:
method: quick/content/hash
compare_directories(dir1, dir2, shallow=True, recursive=True)
对比两个目录
find_duplicates(directory, by_hash=True, recursive=True)
查找重复文件
generate_diff_report(comparison, output_file=None)
生成对比报告
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: publisher-skill
- Source: publisher-skill/claude-skill
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.