[skill]
name = "backup-files"
description = "Create a timestamped backup archive of specified files or directory"
version = "0.1.0"
author = "openjarvis"

[[skill.steps]]
tool_name = "shell_exec"
arguments_template = '{"command": "date +%Y%m%d_%H%M%S"}'
output_key = "timestamp"

[[skill.steps]]
tool_name = "shell_exec"
arguments_template = '{"command": "tar czf {destination}/backup_{timestamp}.tar.gz -C {source} ."}'
output_key = "archive_result"

[[skill.steps]]
tool_name = "think"
arguments_template = '{"thought": "Verify the backup was created successfully and summarize: {archive_result}"}'
output_key = "report"
