copy_file

Copy a file from a source path to a destination path while preserving the source.

8|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/OpenAuthority/clawthority --skill copy-file
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: copy_file
Source: https://github.com/OpenAuthority/clawthority/tree/main/examples/skills/copy_file
Command: npx skills add https://github.com/OpenAuthority/clawthority --skill copy-file

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Copy File Skill lets you duplicate a file by copying from a source path to a destination path, ensuring the source remains unchanged, which reduces manual copy errors.

Core Features & Use Cases

  • Copies a file from a source path to a destination path, preserving the source.
  • Creates or overwrites the destination file as needed.
  • Validates that the source exists and is a regular file before copying.
  • Use Case: Safely back up configuration files before making changes, or duplicate templates to new locations.

Quick Start

Copy the file from /path/to/source to /path/to/destination to perform a safe duplication.

Frequently Asked Questions about copy_file

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I copy a file to a new location without losing the original?▼

To copy a file to a new location without losing the original, this Skill duplicates the file from a source path to a destination path. It preserves the source file while creating or overwriting the destination file as needed.

What is the safest way to back up configuration files before modifying them?▼

The safest way to back up configuration files is to copy them to a new destination path. This Skill validates that the source exists and is a regular file before duplicating, reducing manual copy errors.

Can I use this to duplicate template files to a different path?▼

Yes, you can use this to duplicate template files to a different path. It copies a file from a source path to a destination path across local or mounted file systems, making it suitable for templating tasks.

Does the copy process verify if the source file exists?▼

Yes, the copy process verifies if the source file exists. It implements input validation to ensure the source exists and is a regular file before copying, handling error conditions with clear codes.

What happens if the destination file already exists when copying?▼

When copying a file and the destination already exists, the Skill creates or overwrites the destination file. This ensures your duplicated file reflects the latest source content at the target path.