# EC2 (agent skill)

> EC2 is an agent skill (a SKILL.md file) from itsmostafa/aws-agent-skills. AWS EC2 virtual machine management — instances, security groups, key pairs, AMIs, EBS volumes, Auto Scaling Groups, Spot Instances, Session Manager, placement groups, and instance lifecycle. It works with Claude Code and Codex and has 1,160 GitHub stars across a repository of 2 listed skills.

AWS EC2 virtual machine management — instances, security groups, key pairs, AMIs, EBS volumes, Auto Scaling Groups, Spot Instances, Session Manager, placement groups, and instance lifecycle automation. Trigger on ANY of these, even when EC2 isn't named explicitly: - Launching or provisioning: "spin up a server", "create a VM", "new instance", "run-instances", mention of instance types (t3, m5, c5, r6, g5, p4d, t4g, c7g, etc.) - SSH / connectivity problems: "connection refused", "connection…

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/itsmostafa/aws-agent-skills |
| Skill path | skills/ec2/SKILL.md |
| Skill name | ec2 |
| GitHub stars | 1,160 |
| Installs on skills.sh | not listed |
| License | MIT |
| Skills in repo | 2 |
| Plugin marketplace | aws-agent-skills |
| Official | no |
| Works with | Claude Code, Codex |
| Category | Security |
| Last commit | Sep 15, 2026 |

## When it triggers

- Trigger on ANY of these, even when EC2 isn't named explicitly: - Launching or provisioning: "spin up a server", "create a VM", "new instance", "run-instances", mention of instance types (t3, m5, c5, r6, g5, p4d, t4g, c7g, etc.
- "spin up a server"
- "create a VM"
- "new instance"
- "run-instances"
- "connection refused"
- "connection timed out"
- "permission denied publickey"

## Add this skill

### Claude Code

```sh
/plugin marketplace add itsmostafa/aws-agent-skills
/plugin install aws-agent-skills@aws-agent-skills
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/itsmostafa/aws-agent-skills.git
cp -r aws-agent-skills/skills/ec2 .agents/skills/ec2   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/itsmostafa/aws-agent-skills.git
cp -r aws-agent-skills/skills/ec2 .cursor/skills/ec2   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/itsmostafa-ec2
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
