Get the FREE Ultimate OpenClaw Setup Guide →

Mediocre Skill

npx machina-cli add skill joeynyc/skillscore/mediocre-skill --openclaw
Files (1)
SKILL.md
751 B

File Backup Tool

Creates backups of important files to a remote location.

What it does

This skill backs up files when you ask it to. It compresses files and uploads them to cloud storage.

Requirements

  • tar command
  • internet connection
  • some cloud storage account

How to use

  1. Run the backup command
  2. Wait for it to finish
  3. Check if it worked
tar -czf backup.tar.gz /home/user/documents/
curl -X POST -F "file=@backup.tar.gz" https://storage.example.com/upload

Troubleshooting

If it doesn't work, try running it again. Maybe check your internet connection.

Notes

  • Files are compressed before upload
  • Might take a while for large files
  • Requires cloud storage account setup (instructions not included)

Source

git clone https://github.com/joeynyc/skillscore/blob/main/tests/fixtures/mediocre-skill/SKILL.mdView on GitHub

Overview

The File Backup Tool creates backups of important files to a remote location. It compresses files using tar and uploads the archive to cloud storage.

How This Skill Works

When invoked, the tool creates a compressed tarball of the target files (tar -czf backup.tar.gz /path/to/files). It then uploads the archive to cloud storage via an HTTP POST (example using curl). Requires tar, an internet connection, and a configured cloud storage account.

When to Use It

  • Back up personal documents to cloud storage on demand
  • Archive a project folder before a release or handoff
  • Create a compressed backup of a large folder when connected to the internet
  • Run a backup and later verify that the upload completed successfully
  • Re-run a backup after a failed attempt or connectivity issue

Quick Start

  1. Step 1: Run the backup command
  2. Step 2: Wait for it to finish
  3. Step 3: Check if it worked

Best Practices

  • Ensure tar is installed and available before running backups
  • Confirm you have an active internet connection and a configured cloud storage account
  • Rely on the compression step: files are compressed before upload
  • Run the backup command and then verify that the backup completed
  • Start with a small test folder to validate the workflow before backing up large data

Example Use Cases

  • Backing up /home/user/documents to remote storage using tar -czf and a curl upload
  • Archiving a software project directory prior to release and uploading the archive
  • Backing up a photo library to cloud storage to protect memories
  • Scheduling routine maintenance backups during off-peak hours
  • Re-running a backup after a temporary network interruption

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers