deploy

Automates SSH/SCP deployments to remote servers with backups and ownership fixes.

1|1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/zytakeshi/admin-skills --skill deploy-zytakeshi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploy
Source: https://github.com/zytakeshi/admin-skills/tree/main/skills/deploy
Command: npx skills add https://github.com/zytakeshi/admin-skills --skill deploy-zytakeshi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploying local changes to remote servers is error-prone without backups, correct ownership, and verifiable results. This skill automates the end-to-end process, reducing downtime and drift.

Core Features & Use Cases

  • Backup before deploy: Creates dated backups of existing remote files before overwrite.
  • Ownership and permissions: Fixes file ownership and permissions after transfer to ensure correct access.
  • End-to-end workflow: From change detection to smoke testing and rollback readiness.
  • Multi-server support: Deploy to single or multiple servers with validation and safe sequential execution.

Quick Start

To start, specify the local path to deploy and the target remote server, then run the /deploy command.

Frequently Asked Questions about deploy

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

FAQPage Schema
How do I automate remote deployments with safety checks and backups?

Automating remote deployments requires transferring local files via SSH/SCP, creating dated remote backups before overwriting, applying correct ownership and permissions, and running smoke tests to validate integrity. This process ensures verifiable results and provides a rollback path.

Can I deploy to multiple servers sequentially using SCP and SSH?

Yes, you can deploy local file updates to multiple servers via SSH/SCP with safe sequential execution. The deployment includes multi-server validation, transferring only changed files, applying permissions, and clearing caches when applicable across all targeted hosts.

Do I need an SSH connection and hosts.md file to deploy files to a remote server?

You need SSH access and knowledge of the remote path to execute the deployment. Optionally, a hosts.md file can provide host definitions to automatically resolve connection details, while the system avoids sensitive files and prompts for uncertain parameters.

What is the best way to rollback a failed remote deployment?

The best way to rollback a failed deployment is using the dated backups created before the file transfer. The automated workflow provides a rollback path to restore previous remote files if post-deployment smoke tests or integrity validations fail.

How does pre-flight verification handle file ownership and permissions during deployment?

Pre-flight verification identifies changed files and checks parameters before transfer. After the SCP upload completes, the deployment automatically fixes file ownership and applies correct permissions to ensure secure access on the remote server.

Does automated deployment clear caches and run smoke tests after file transfer?

Yes, after transferring updates and applying permissions, the deployment clears caches when applicable and runs smoke tests. This validates the deployment integrity and ensures the remote server operates correctly before finalizing the process.