py-deploy-remote

Deploy Flask server updates to a remote Mac mini via SSH.

1|Updated Jul 31, 2025
One-click install
npx skills add https://github.com/asnar00/miso --skill py-deploy-remote
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: py-deploy-remote
Source: https://github.com/asnar00/miso/tree/main/.claude/skills/py-deploy-remote
Command: npx skills add https://github.com/asnar00/miso --skill py-deploy-remote

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the entire process of deploying a Flask server to a remote machine, from stopping the old instance to copying new files and restarting. It eliminates manual SSH and SCP commands, ensuring consistent, fast, and verified deployments of Python server updates.

Core Features & Use Cases

  • Full Deployment Lifecycle: Handles remote server shutdown, secure file transfer via scp, server restart, and health verification via a ping endpoint.
  • Fast & Reliable: Completes deployments in 3-5 seconds, minimizing downtime for updates and ensuring a smooth transition.
  • Use Case: After developing and testing a new API endpoint locally, use this skill to push the updated Flask server code to your remote Mac mini, making the changes live for connected clients.

Quick Start

Deploy the Python Flask server to the remote Mac mini.

Frequently Asked Questions about py-deploy-remote

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

FAQPage Schema
How do I deploy a Flask server to a remote machine via SSH?

Deploy a Flask server to a remote machine by automating the entire process: stop the running instance, transfer updated files securely using SCP, restart the server, and verify it's live. This Skill handles all steps in 3-5 seconds, requiring only SSH access with a configured host alias and Flask installed on the remote Mac mini.

Can I automate Flask server updates without manual SSH and SCP commands?

Yes. This Skill automates the complete deployment lifecycle for Flask servers, eliminating manual SSH and SCP commands. It stops the old instance, copies files securely, restarts the server, and pings the endpoint to verify the deployment succeeded on your remote machine.

What do I need to deploy Python Flask code to a remote Mac mini?

Deploy Python Flask code to a remote Mac mini by ensuring SSH access with a configured host alias, Python and Flask installed on the remote machine, the server directory at ~/firefly-server, and the remote server accessible at the deployment endpoint. This Skill automates the rest.

How fast can I push Flask server changes to production?

Push Flask server changes to production in 3-5 seconds. This Skill automates stopping the old server, transferring updated files via SCP, restarting Flask, and verifying the deployment through a health-check ping, minimizing downtime for live updates.

Does this work with Python servers on remote machines other than Mac mini?

This Skill is configured for remote Mac mini deployment with SSH access and a specific directory structure (~/firefly-server). It requires a configured SSH host alias and the remote server accessible at a known endpoint; compatibility with other remote machines depends on matching these prerequisites.