~ / rigs / aws-samples / sample-aws-genai-ops-demos

aws-samples/sample-aws-genai-ops-demos

Deployable code samples demonstrating how generative AI transforms cloud operations. Deploy as-is with one click, or adapt to your specific environment with minimal customization effort.

↗ GitHub ★ 61 MIT-0 updated 1mo ago project Kiro
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~17.7k tokens
Context hog · median rig: 2.3k · breakdown
GUARDRAILS
1/5
Pre-tool screening hook · details
Quality 17/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ claude mcp add genai-cost-optimizer -- uvx --from . awslabs-genai-cost-optim-mcp-server
$ claude mcp add aws-mcp -- uvx mcp-proxy-for-aws@latest https://aws-mcp.us-east-1.api.aws/mcp --metadata AWS_REGION=us-west-2
$ claude mcp add aws-pricing -e FASTMCP_LOG_LEVEL=YOUR_FASTMCP_LOG_LEVEL -- uvx awslabs.aws-pricing-mcp-server@latest
$ claude mcp add aws-chaos-engineering -- uvx aws-chaos-engineering

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ claude mcp add genai-cost-optimizer -- uvx --from . awslabs-genai-cost-optim-mcp-server
$ claude mcp add aws-mcp -- uvx mcp-proxy-for-aws@latest https://aws-mcp.us-east-1.api.aws/mcp --metadata AWS_REGION=us-west-2
$ claude mcp add aws-pricing -e FASTMCP_LOG_LEVEL=YOUR_FASTMCP_LOG_LEVEL -- uvx awslabs.aws-pricing-mcp-server@latest
$ claude mcp add aws-chaos-engineering -- uvx aws-chaos-engineering

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "^(fs_write|fs_append|str_replace|delete_file|smart_relocate|code)$",
        "hooks": [
          {
            "type": "command",
            "command": "bash .kiro/hooks/scripts/protect-governance.sh"
          }
        ]
      }
    ]
  }
}

MCP servers (4)

serversourceest. tokens
. · "genai-cost-optimizer" pypi 2.5k
mcp-proxy-for-aws · "aws-mcp" pypi 2.5k
awslabs.aws-pricing-mcp-server · "aws-pricing"
env: FASTMCP_LOG_LEVEL
pypi 2.5k
aws-chaos-engineering pypi 2.5k

Hooks (3)

eventmatcherruns
PostTaskExec*Review all changes made in this task against .kiro/steering/ standards. Verify: deployment scripts exist (PS1 + SH), shared prerequisites are used, CDK stack IDs include region suffix, solution adoption tracking is present, README has all r
Stop*Review any code changes made this turn against the standards in .kiro/steering/contributor-guide.md (naming, file location, shared utilities, shared scripts: check-prerequisites and deploy-cdk for every cdk deploy/bootstrap/destroy, platfor
PreToolUse^(fs_write|fs_append|str_replace|delete_file|smart_relocate|code)$bash .kiro/hooks/scripts/protect-governance.sh

Kiro (7 steering · 3 hook files)

How Kiro files are scored: methodology.

Similar rigs

copied ✓