Skip to content

Personal AI, On Personal Devices

Python
714 B
Raw Blame
[skill]
name = "file-deduplicator"
description = "Find and report duplicate files in a directory by comparing checksums"
version = "0.1.0"
author = "openjarvis"

[[skill.steps]]
tool_name = "shell_exec"
arguments_template = '{"command": "find {directory} -type f -exec md5sum {} \\; | sort"}'
output_key = "checksums"

[[skill.steps]]
tool_name = "think"
arguments_template = '{"thought": "Identify duplicate files from the checksums. Group files with identical hashes: {checksums}"}'
output_key = "duplicates"

[[skill.steps]]
tool_name = "think"
arguments_template = '{"thought": "Generate a report listing all duplicate file groups and total space that could be reclaimed: {duplicates}"}'
output_key = "report"