Cp
Cp combines staging, committing, and pushing into a single streamlined action. It auto-generates conventional commit messages based on your changes, protects against accidental pushes to main branches, and scans for leaked secrets before committing.
Cp stages, commits, and pushes your git changes in one command with built-in safety checks.
AI-generated summary based on this skill's SKILL.md
Install
october-academy/agent-plugins/cp · repository language: HTML
generated, unverified - the skill's exact subdirectory could not be determined; check the repository on GitHub
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What is the cp command and how do you use it to copy files?
Cp is a command-line utility for copying files and directories in terminal environments. The basic syntax is `cp source destination`, where source is the file you want to copy and destination is where it should go. Cp handles both single files and multiple files, making it essential for file management in Unix and Linux systems.
What are the main cp command options and flags?
Cp supports several important flags: `-r` or `-R` for recursive copying of directories and their contents, `-i` for interactive mode (prompts before overwriting), `-v` for verbose output showing each file copied, and `-p` to preserve file permissions and timestamps. These options let you customize cp's behavior for different copying scenarios.
How do you copy a file to a directory using cp?
To copy a file to a directory with cp, use `cp filename directory_name`. The file will be copied into that directory with its original name. If you want to rename it during the copy, use `cp filename directory_name/newname`. Cp automatically handles placing the file in the target directory.
How do you copy files in terminal with recursive copying?
Cp's recursive option `-r` enables copying entire directory structures. Use `cp -r source_directory destination_directory` to copy a directory and all its contents, including subdirectories and files. This is essential for backing up or duplicating complex folder hierarchies in command-line environments.
What are practical examples of cp command usage?
Common cp examples include: `cp file.txt backup.txt` (copy single file), `cp *.txt /backup/` (copy all text files), `cp -r /home/user/docs /backup/docs` (copy directory recursively), and `cp -v file1 file2 file3 /destination/` (copy multiple files with verbose output). These cover typical file copying scenarios.
What is the cp command syntax for copying multiple files?
Cp syntax for multiple files is `cp file1 file2 file3 ... destination`. List all source files before the final destination argument. You can also use wildcards like `cp *.log /archive/` to copy all files matching a pattern. The last argument is always treated as the destination.
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Learn how to use the cp command to copy files and directories”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Smart Commit examines your uncommitted changes, organizes them into logically cohesive groups, and generates commit messages that match your project's style conventions. By default it outputs git commands for manual review; use the `--execute` flag to run commits directly after confirmation.
This skill guides you through building GitHub Actions workflows with emphasis on security, proper versioning, and avoiding common pitfalls. It covers workflow structure, permissions, events, and recommended actions while highlighting anti-patterns like hardcoded secrets and injection vulnerabilities.
Create git commits that follow Conventional Commits conventions, enabling automatic changelog and release note generation. The skill stages your changes, validates them through pre-commit hooks, and ensures commit messages match your project's standards before recording them to history.
Commit stages files based on scope, intent, or both—parsing file paths, folders, and free-text descriptions to guide commit messages. Supports amending the last commit and integrates with sequenced workflows where the caller owns the final commit step.
This skill commits your WooCommerce work with clear, convention-compliant messages. It analyzes your changes, groups related edits into separate commits when warranted, and stages only the files you intend—never blanket-adding everything.
This skill analyzes your repository's commit history to detect its message style, then generates a subject line and optional body that fit the established pattern. It stages unstaged changes when needed, respects pre-commit hooks and signing requirements, and confirms the commit with a log preview.
More skills Woocommerce Git Draft Pr (unlicensed) · chinese-commit-conventions (MIT)