Skill: w0yne/aws-knowledge (version 1.0.2)

--- name: AWS Knowledge description: > AWS expert powered by the AWS Knowledge MCP Server (via mcporter). Provides real-time access to AWS documentation, best practices, SOPs, and regional availability. Use when the user asks about AWS services (S3, EC2, Lambda, CDK, CloudFormation, ECS, EKS, RDS, DynamoDB, Bedrock, SageMaker, IAM, VPC, etc.), AWS architecture patterns, deployment guidance, troubleshooting, regional availability, cost optimization, security hardening, or any "how do I do X on AWS" question. Also activates for CDK/CloudFormation infrastructure-as-code questions and AWS Well-Architected guidance. metadata: {"openclaw":{"emoji":"☁️","requires":{"bins":["mcporter"]},"install":[{"id":"npm","kind":"node","package":"mcporter","bins":["mcporter"],"label":"Install mcporter (npm)"}]}} --- # AWS Knowledge Skill Query the AWS Knowledge MCP Server via mcporter for real-time AWS expertise. The MCP server is `aws-knowledge` (must be configured in mcporter). ## Query Routing Route each question to the right tool: | Question Type | Tool | Example | |---|---|---| | General "how to" / best practices | `search_documentation` | "How to secure an S3 bucket" | | Read a specific doc page | `read_documentation` | "Show me the Lambda pricing page" | | Explore related topics | `recommend` | "What else should I know about VPC peering" | | Is a service available in a region | `get_regional_availability` | "Is Bedrock available in ap-southeast-1" | | List all AWS regions | `list_regions` | "What regions does AWS have" | | Step-by-step task walkthrough | `retrieve_agent_sops` | "Walk me through deploying to ECS" | ## Tool Calling All calls go through mcporter: ```bash # Search documentation (most common) mcporter call aws-knowledge.search_documentation query="<search terms>" # Optionally filter by topic mcporter call aws-knowledge.search_documentation query="<search terms>" topic="<topic>" # Read a specific documentation page mcporter call aws-knowledge.read_documentation url="<full doc URL>" # Get recommendations for related content mcporter call aws-knowledge.recommend url="<doc URL>" # List all AWS regions mcporter call aws-knowledge.list_regions # Check regional availability mcporter call aws-knowledge.get_regional_availability service="<service name>" region="<region id>" # Get step-by-step SOPs mcporter call aws-knowledge.retrieve_agent_sops query="<task description>" ``` ## Workflow 1. **Classify the question** — determine which tool to call (see routing table above) 2. **Call the tool** — use mcporter with appropriate parameters 3. **Read deeper if needed** — use `read_documentation` on URLs from search results 4. **Synthesize the answer** — combine findings into a clear response 5. **Include sources** — always cite doc URLs so the user can verify 6. **Offer follow-ups** — suggest related topics or deeper dives ## Tips - **Search first, don't guess.** Even for common topics, search to get the latest guidance. - **Use SOPs for procedures.** If the user wants to DO something (deploy, configure, troubleshoot), check `retrieve_agent_sops` first — these are tested step-by-step workflows. - **Check regional availability before recommending.** Don't assume a service is available everywhere. - **Combine tools.** A typical flow: `search_documentation` → pick best result → `read_documentation` for full content → `recommend` for related reading. - **Topic filtering.** When searching, use the `topic` parameter to narrow results if the query is broad. ## Domain Patterns For common query patterns organized by AWS domain, see `references/query-patterns.md`.

path: references/query-patterns.md
content: # AWS Query Patterns by Domain

Common search queries and tool combinations organized by AWS domain.

## Compute

```bash
# EC2 instance selection
mcporter call aws-knowledge.search_documentation query="EC2 instance type selection guide"

# Lambda optimization
mcporter call aws-knowledge.search_documentation query="Lambda cold start optimization best practices"

# ECS vs EKS decision
mcporter call aws-knowledge.search_documentation query="ECS vs EKS container orchestration comparison"

# Auto Scaling
mcporter call aws-knowledge.retrieve_agent_sops query="configure EC2 Auto Scaling group"
```

## Storage

```bash
# S3 security
mcporter call aws-knowledge.search_documentation query="S3 bucket policy security best practices"

# Storage class selection
mcporter call aws-knowledge.search_documentation query="S3 storage class selection lifecycle"

# EBS volume types
mcporter call aws-knowledge.search_documentation query="EBS volume types gp3 io2 comparison"
```

## Networking

```bash
# VPC design
mcporter call aws-knowledge.search_documentation query="VPC design production multi-AZ"

# Transit Gateway
mcporter call aws-knowledge.search_documentation query="Transit Gateway multi-VPC connectivity"

# PrivateLink
mcporter call aws-knowledge.retrieve_agent_sops query="set up VPC PrivateLink endpoint"
```

## Databases

```bash
# RDS vs Aurora
mcporter call aws-knowledge.search_documentation query="RDS vs Aurora comparison"

# DynamoDB modeling
mcporter call aws-knowledge.search_documentation query="DynamoDB single table design patterns"

# Database migration
mcporter call aws-knowledge.retrieve_agent_sops query="migrate database to RDS using DMS"
```

## Security & IAM

```bash
# IAM best practices
mcporter call aws-knowledge.search_documentation query="IAM least privilege best practices"

# Cross-account access
mcporter call aws-knowledge.search_documentation query="cross-account IAM role assume"

# Security audit
mcporter call aws-knowledge.retrieve_agent_sops query="security audit AWS account"
```

## Infrastructure as Code

```bash
# CDK getting started
mcporter call aws-knowledge.search_documentation query="CDK v2 getting started TypeScript"

# CloudFormation patterns
mcporter call aws-knowledge.search_documentation query="CloudFormation nested stack patterns"

# CDK best practices
mcporter call aws-knowledge.search_documentation query="CDK best practices constructs patterns"
```

## AI/ML

```bash
# Bedrock models
mcporter call aws-knowledge.search_documentation query="Bedrock foundation models comparison"

# SageMaker endpoints
mcporter call aws-knowledge.search_documentation query="SageMaker inference endpoint deployment"

# Bedrock availability
mcporter call aws-knowledge.get_regional_availability service="Amazon Bedrock" region="us-west-2"
```

## Serverless

```bash
# Step Functions
mcporter call aws-knowledge.search_documentation query="Step Functions workflow patterns"

# API Gateway
mcporter call aws-knowledge.search_documentation query="API Gateway REST vs HTTP comparison"

# EventBridge
mcporter call aws-knowledge.search_documentation query="EventBridge event-driven architecture patterns"
```

## Cost Optimization

```bash
# Savings Plans
mcporter call aws-knowledge.search_documentation query="Savings Plans vs Reserved Instances comparison"

# Cost allocation
mcporter call aws-knowledge.search_documentation query="cost allocation tags billing best practices"

# Right-sizing
mcporter call aws-knowledge.retrieve_agent_sops query="right-size EC2 instances Cost Explorer"
```


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: clean (LOW)