# aws-harness

aws-harness — a skill for Claude Code that creates a new AI agent or wraps an existing one and deploys it to AWS Bedrock AgentCore, with tools, cross-session memory, and sandboxed execution.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 301 repo stars
- Author: hoodini
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/hoodini/ai-agents-skills/tree/HEAD/skills/aws-harness/SKILL.md
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/aws-harness

## What it does

The skill explains what an agent harness is (the runtime around a model: agent loop, tool execution, memory, identity, observability), then shows two fully-working approaches. Path A uses the CLI (`agentcore create/dev/deploy/invoke`) to build a new agent and deploy it immediately. Path B wraps an agent you already built—using Strands, LangGraph, or custom code—via SDK or FastAPI + Docker, then ships it to ECR.

Every command and import in the skill is verified against AWS and framework docs. You need an AWS account with configured credentials, Bedrock model access, and Python 3.10+. Path A also requires Node.js 20+ and AWS CDK. Docker with `buildx` support is needed for containerization.

## Requirements
- Works with: AWS, Docker

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add hoodini/ai-agents-skills --skill aws-harness -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/aws-harness/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/aws-harness/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add hoodini/ai-agents-skills --skill aws-harness -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/aws-harness/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add hoodini/ai-agents-skills --skill aws-harness -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/aws-harness/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install hoodini/ai-agents-skills skills/aws-harness
```

2. **Manually: put the files in place**
- File: `.github/skills/aws-harness/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add hoodini/ai-agents-skills --skill aws-harness -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/hoodini/ai-agents-skills --path skills/aws-harness
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/aws-harness/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/hoodini/ai-agents-skills/tree/HEAD/skills/aws-harness/SKILL.md

## When to use it
- scaffold and deploy a new AI agent on AWS with AgentCore CLI
- wrap an existing agent (Strands, LangGraph, custom) and ship it to Bedrock
- add tools, cross-session memory, and user identity to an agent
- run an agent locally before deploying
- package an agent in a Docker container and push to ECR

## Example prompts
- Create a new Strands agent on AgentCore: `agentcore create --name MyBot --framework Strands --defaults`
- Deploy an existing agent to AWS: `agentcore deploy`
- Run your agent locally before shipping: `agentcore dev`

## Similar
- [agents-deploy](https://affpapa.org/en/nevibecode/skills/agents-deploy.md) — skill · 2100 installs
- [aws-agentic-ai](https://affpapa.org/en/nevibecode/skills/aws-agentic-ai.md) — skill · 702 installs
- [AWS Bedrock AgentCore](https://affpapa.org/en/nevibecode/mcp/aws-bedrock-agentcore.md) — MCP server · ★ 9939 repo stars
- [aws-agents](https://affpapa.org/en/nevibecode/plugins/aws-agents.md) — plugin · ★ 3536 repo stars
- [autonomous-cloud-orchestration](https://affpapa.org/en/nevibecode/skills/autonomous-cloud-orchestration.md) — skill · 131 installs
- [aws-sdk-java-v2-bedrock](https://affpapa.org/en/nevibecode/skills/aws-sdk-java-v2-bedrock.md) — skill · 3900 installs

From the same set: [hoodini/ai-agents-skills](https://affpapa.org/en/nevibecode/by/hoodini/ai-agents-skills.md) — 34 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
