remote-execution

Route compute tasks to local services or remote hosts via SSH tunnels.

2|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/amdmax/claude_marketplace --skill remote-execution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: remote-execution
Source: https://github.com/amdmax/claude_marketplace/tree/main/.claude/skills/remote-execution
Command: npx skills add https://github.com/amdmax/claude_marketplace --skill remote-execution

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ssh_tunnel.py, and includes scripts (resource) components.

What problem does it solve?

This Skill provides a standardized way to run code either on a local machine or a remote server via SSH, simplifying the management of distributed compute tasks.

Core Features & Use Cases

  • Flexible Compute Routing: Dynamically chooses between local execution and SSH-based remote execution based on environment variables.
  • Idempotent Tunneling: Ensures SSH tunnels are established only when needed and can be safely called multiple times.
  • Use Case: When developing a feature that requires access to a GPU on a remote development server, this skill ensures your code runs seamlessly whether the server is directly accessible or requires an SSH tunnel.

Quick Start

Ensure your code runs locally or via SSH by setting the appropriate environment variable.

Frequently Asked Questions about remote-execution

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

FAQPage Schema
How do I route compute tasks to a remote host via SSH?

Remote execution via SSH tunnels routes compute tasks securely to a remote host. It dynamically selects the execution mode based on specific environment variables, ensuring seamless integration for distributed workflows.

How does environment variable based compute routing work for local and remote execution?

Environment variable based compute routing works by checking for a specific variable before execution. If present, the system routes the task through an SSH tunnel to a remote host; otherwise, it defaults to local execution.

Do I need an SSH tunnel to execute code on a remote development server?

Yes, establishing an SSH tunnel is required to execute code on a remote development server. The routing pattern requires a mechanism to establish and manage SSH tunnels for remote execution when the server is not directly accessible.

Can I run the same code locally and on a remote server without changing the execution logic?

Yes, you can run the same code locally or on a remote server without changing logic. The routing pattern abstracts the execution mode, dynamically switching between local and SSH-based remote execution using environment variables.

What is the best way to manage SSH tunnels for distributed compute tasks?

The best way to manage SSH tunnels for distributed compute is using an idempotent tunneling pattern. This ensures SSH tunnels are established only when needed and can be safely called multiple times without creating duplicate connections.