run-on-ec2

Execute code, pytest, or IPython on remote Amazon EC2 instances.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/akshatdalton/skills --skill run-on-ec2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-on-ec2
Source: https://github.com/akshatdalton/skills/tree/main/run-on-ec2
Command: npx skills add https://github.com/akshatdalton/skills --skill run-on-ec2

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python3, pytest, ipython, and includes scripts (resource) components.

What problem does it solve?

This Skill enables code execution, pytest, and IPython on remote EC2 instances, simplifying development and testing workflows.

Core Features & Use Cases

  • Remote Code Execution: Run code, pytest, or IPython on an EC2 instance.
  • pytest Integration: Execute pytest scripts on remote instances.
  • IPython Support: Interact with Python code on remote instances.
  • Use Case: When you need to run a long-running pytest test suite or debug a snippet of code on an EC2 instance.

Quick Start

Run a pytest suite on the remote 'dev' EC2 instance with the following command: python3 ~/.claude/skills/efx/scripts/efx.py exec --target dev -- 'PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 pytest <test_path> -v --noconftest'.

Frequently Asked Questions about run-on-ec2

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

FAQPage Schema
How do I run pytest test suites on remote EC2 instances?

You can run pytest test suites on remote EC2 instances by executing the provided Python script with the exec command, targeting your specific instance and passing the pytest command string to run tests in a deterministic environment.

Can I execute Python code or run IPython on a remote EC2 server?

Yes, you can execute Python code and run IPython on a remote EC2 server using the Skill's remote execution capabilities, which simplifies development and debugging workflows on remote machines.

Do I need python3 and pytest installed to run code on EC2 instances?

Yes, you need python3, pytest, and ipython installed as dependencies to properly execute code, run test suites, and interact with IPython on the remote EC2 instances.

What is the best way to debug long-running Python code on an Amazon EC2 instance?

The best way to debug long-running Python code or test suites on an Amazon EC2 instance is to use a remote execution Skill that provides a deterministic environment and simplifies remote testing workflows.

When should I use remote EC2 execution for my pytest workflows?

You should use remote EC2 execution for pytest workflows when you need to run long-running test suites or debug code snippets on remote servers, benefiting from a deterministic execution environment.