Skip to content
awsclaw-general logo

Awsclaw General

awsclaw-general

General AWS management in VS Code using awsclaw extension. Covers AWS connectivity, session management, profiles, regions, endpoints, file operations, testing connections, safety model, cross-service discovery, and extension capabilities.

necatiarslan/awsclaw0installs1stars

SKILL.md

Full skill instructions

Awsclaw General

Awsclaw is a VS Code extension that provides AI-assisted AWS management capabilities. It allows users to interact with AWS services using natural language prompts directly within VS Code.

When to Use This Skill

Use this skill when the user:

  • Asks how to connect to AWS or configure credentials
  • Wants to switch AWS profiles, regions, or endpoints
  • Needs to test AWS connectivity
  • Asks about awsclaw extension capabilities or features
  • Wants to perform local file operations (read, write, zip)
  • Needs to understand cross-service relationships (e.g., which services produce CloudWatch logs)
  • Asks about safety, permissions, or readonly mode
  • Wants to manage session settings

Extension Capabilities

Natural Language AWS Management

  • Ask questions about your AWS resources in plain English
  • Execute AWS API calls through chat prompts
  • Automatic pagination handling with "Load More" in chat

UI Features

  • S3 Explorer: Interactive bucket browser via OpenS3Explorer command
  • CloudWatch Log Viewer: Interactive log viewer via OpenCloudWatchLogView command
  • Command History: Panel showing all API calls with responses
  • Service Access View: Enable/​disable individual tools per workspace
  • Status Bar: Quick selectors for AWS profile and region

MCP Support

  • Built-in for VS Code / GitHub Copilot (no setup needed)
  • Stdio MCP bridge for Google Antigravity, Windsurf, Cursor, and other editors
  • Up to 3 concurrent MCP sessions
  • Tool availability controlled via awsclaw.mcp.disabledTools setting

Safety Model

  • Read-only operations (list, describe, get): Execute automatically without confirmation
  • Mutating operations (put, post, upload, delete, create, update, invoke, start, execute): Require user confirmation before execution
  • Readonly mode: Available via SetAwsReadonlyMode to block all write operations

AWS Connectivity & Session Management

How Credentials Work

Awsclaw uses the standard AWS SDK credential provider chain:

  1. Environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
  2. AWS SSO (Single Sign-On) via aws sso login
  3. Shared credentials file (~/​.aws/​credentials)
  4. Shared config file (~/​.aws/​config)

Important: No credentials are ever sent to AI services. All API calls execute locally.

Quick Setup Steps

  1. Install the awsclaw extension in VS Code
  2. Use TestAwsConnectionTool to verify connectivity
  3. Use SessionTool with ListProfiles to see available profiles
  4. Use SessionTool with SetSession to configure profile and region
  5. Start using any AWS service tool via chat

Tool: SessionTool

Get or set AWS session values (AwsProfile, AwsEndPoint, AwsRegion), list available profiles, or refresh cached credentials.

Commands

GetSession

Read current session values (profile, region, endpoint).

{ "command": "GetSession", "params": {} }

Parameters: None required.

SetSession

Update session values. Omit any param to leave it unchanged.

{ "command": "SetSession", "params": { "AwsProfile": "my-profile", "AwsRegion": "us-west-2" } }

Parameters:

ParameterTypeRequiredDescription
AwsProfilestringNoAWS profile name to set
AwsEndPointstringNoCustom AWS/​S3-compatible endpoint to set (e.g., LocalStack)
AwsRegionstringNoAWS region to set (e.g., us-east-1, eu-west-1)
ListProfiles

Return profile names detected from AWS config/​credentials files.

{ "command": "ListProfiles", "params": {} }

Parameters: None required.

RefreshCredentials

Clear and reload cached credentials. Use after aws sso login or credential rotation.

{ "command": "RefreshCredentials", "params": {} }

Parameters: None required.


Tool: FileOperationsTool

Perform local file operations: read, write, append, get metadata, list directories, create zip archives.

Commands

ReadFile

Read file content with optional encoding.

{ "command": "ReadFile", "params": { "filePath": "/​path/​to/​file.txt" } }

Parameters:

ParameterTypeRequiredDescription
filePathstringYesFile path to read
encodingstringNoFile encoding (default: utf-8)
WriteFile

Create or overwrite a file.

{ "command": "WriteFile", "params": { "filePath": "/​path/​to/​file.txt", "content": "Hello World" } }

Parameters:

ParameterTypeRequiredDescription
filePathstringYesFile path to write
contentstringYesContent to write
encodingstringNoFile encoding
overwritebooleanNoAllow overwriting existing files
ensureDirbooleanNoCreate parent directories when missing
AppendFile

Append content to an existing file.

{ "command": "AppendFile", "params": { "filePath": "/​path/​to/​file.txt", "content": "new line" } }

Parameters:

ParameterTypeRequiredDescription
filePathstringYesFile path to append to
contentstringYesContent to append
encodingstringNoFile encoding
ensureDirbooleanNoCreate parent directories when missing
ReadFileStream

Get file metadata (size, type, modified date) without reading content.

{ "command": "ReadFileStream", "params": { "filePath": "/​path/​to/​file.txt" } }

Parameters:

ParameterTypeRequiredDescription
filePathstringYesFile path
ReadFileAsBase64

Read file content as Base64 encoded string.

{ "command": "ReadFileAsBase64", "params": { "filePath": "/​path/​to/​image.png" } }

Parameters:

ParameterTypeRequiredDescription
filePathstringYesFile path to read
GetFileInfo

Get file statistics (size, creation time, modification time, etc.).

{ "command": "GetFileInfo", "params": { "filePath": "/​path/​to/​file.txt" } }

Parameters:

ParameterTypeRequiredDescription
filePathstringYesFile path
ListFiles

List contents of a directory.

{ "command": "ListFiles", "params": { "dirPath": "/​path/​to/​dir", "recursive": true } }

Parameters:

ParameterTypeRequiredDescription
dirPathstringYesDirectory path to list
recursivebooleanNoRecursively list files in subdirectories
ZipTextFile

Create a zip archive of a file or directory.

{ "command": "ZipTextFile", "params": { "filePath": "/​path/​to/​dir" } }

Parameters:

ParameterTypeRequiredDescription
filePathstringYesFile or directory path to zip
outputPathstringNoCustom output path for zip file

Tool: TestAwsConnectionTool

Tests AWS connectivity using STS GetCallerIdentity. Returns true if the connection is successful.

{ "region": "us-east-1" }

Parameters:

ParameterTypeRequiredDescription
regionstringNoAWS region to test (default: us-east-1)

Cross-Service Discovery Guide

Many AWS services produce logs, metrics, and resources that can be found through other services. Use this guide to navigate between related services.

CloudWatch Log Group Naming Conventions

AWS ServiceLog Group PatternHow to Find
Lambda/​aws/​lambda/​{functionName}Use CloudWatchLogTool with DescribeLogGroups prefix /​aws/​lambda/
API GatewayAPI-Gateway-Execution-Logs_{restApiId}/​{stageName}Use CloudWatchLogTool with prefix API-Gateway-Execution-Logs_
Glue/​aws-glue/​jobs/​outputUse CloudWatchLogTool with prefix /​aws-glue/
RDS/​aws/​rds/​instance/​{instanceId}/​{logType}Use CloudWatchLogTool with prefix /​aws/​rds/
ECS/​ecs/​{serviceName} or customUse CloudWatchLogTool with prefix /​ecs/
Step Functions/​aws/​vendedlogs/​states/​{stateMachineName}Use CloudWatchLogTool with prefix /​aws/​vendedlogs/​states/
CloudTrailaws-cloudtrail-logs-{accountId}Use CloudWatchLogTool with prefix aws-cloudtrail-logs-
VPC Flow LogsCustom log group (check EC2 flow log config)Use EC2Tool DescribeFlowLogs to find log group

Service Relationship Map

From ServiceRelated ServiceHow to Navigate
Lambda FunctionCloudWatch LogsLog group: /​aws/​lambda/​{functionName}
Lambda FunctionSQS/​SNS/​DynamoDB/​KinesisUse LambdaTool ListEventSourceMappings to find event sources
Lambda FunctionIAM RoleCheck GetFunctionConfiguration for Role field
EC2 InstanceVPC, Subnet, Security GroupsInstance metadata contains vpcId, subnetId, securityGroups
EC2 InstanceCloudWatchVPC Flow Logs → CloudWatch Log Group
API GatewayLambdaIntegration targets in GetIntegration response
API GatewayCloudWatchExecution logs: API-Gateway-Execution-Logs_{id}/​{stage}
Glue JobCloudWatch LogsOutput logs: /​aws-glue/​jobs/​output
Glue JobS3Job scripts and data stored in S3
Step FunctionsLambda/​ECS/​Glue/​SNS/​SQS/​DynamoDBTask states reference other services by ARN
CloudFormationAll ServicesDescribeStackResources lists all managed resources
CloudFormationTemplatesGetTemplate returns the infrastructure definition
IAM RoleAll ServicesRoles are used by Lambda, EC2, Glue, Step Functions, etc.
RDSRDS Data APIUse RDSDataTool for SQL execution on Aurora Serverless
RDSCloudWatchRDS logs → CloudWatch, Enhanced Monitoring → CloudWatch
S3SNS/​SQS/​LambdaEvent notifications trigger other services
SNSSQS/​Lambda/​HTTPSubscriptions deliver to other service endpoints
SQSLambdaSQS queues as Lambda event sources
SQSDead Letter QueueListDeadLetterSourceQueues finds failed message sources
EMRS3/​EC2/​CloudWatchClusters use S3 for data, EC2 for compute, CW for logs

Tips for Finding Related Resources

  1. Start with CloudFormation: If infrastructure is managed by CloudFormation, use DescribeStackResources to discover all related resources in a stack
  2. Check IAM roles: Use IAMTool GetRole and ListAttachedRolePolicies to understand what services a role can access
  3. Use tags: Many services support tags — use tag-based queries to find related resources across services
  4. Follow ARNs: When a service response includes ARNs to other resources, use the appropriate tool to inspect those resources

More skills from necatiarslan

awsclaw-glue logo
necatiarslan/awsclaw

awsclaw-glue

Manage AWS Glue ETL jobs, triggers, crawlers, databases, tables, workflows, and connections using awsclaw. Create, update, and delete resources, inspect crawl history, and manage tags.

1 0
View
awsclaw-rds logo
necatiarslan/awsclaw

awsclaw-rds

Manage and inspect Amazon RDS instances, clusters, snapshots, parameter groups, logs, proxies, events, engine versions, subnet groups, security groups, certificates, recommendations, and more using awsclaw.

1 0
View
awsclaw-ec2 logo
necatiarslan/awsclaw

awsclaw-ec2

Manage and query AWS EC2 resources including launching/stopping/terminating instances, creating VPCs and subnets, managing security groups, volumes, snapshots, AMIs, and querying all EC2 resource types using awsclaw. Full lifecycle management.

1 0
View
awsclaw-lambda logo
necatiarslan/awsclaw

awsclaw-lambda

Manage AWS Lambda functions using awsclaw. Create, update, invoke, and delete functions, manage aliases/versions, event source mappings, layers, tags, function URLs, concurrency, and code signing.

1 0
View
tracing-downstream-lineage logo
necatiarslan/airflow-vscode-extension

tracing-downstream-lineage

Map downstream lineage and blast radius for Airflow data assets. Use when the user needs to know which DAGs, tables, dashboards, or models depend on a dataset and what could break after a change.

44 0
View
airflow logo
necatiarslan/airflow-vscode-extension

airflow

Manages Apache Airflow operations including listing, running, and debugging DAGs, viewing logs, and checking server status using the VS Code extension tools.

44 0
View
creating-openlineage-extractors logo
necatiarslan/airflow-vscode-extension

creating-openlineage-extractors

Create custom OpenLineage extractors for Airflow operators. Use when the user needs lineage from unsupported or third-party operators, wants column-level lineage, or needs complex extraction logic beyond what inlets/outlets provide.

44 0
View
setting-up-astro-project logo
necatiarslan/airflow-vscode-extension

setting-up-astro-project

Initialize and configure Astro/Airflow projects. Use when the user wants to create a new project, set up dependencies, configure connections/variables, or understand project structure. For running the local environment, see managing-astro-local-env.

44 0
View
tablefaker logo
necatiarslan/table-faker

tablefaker

Generate YAML configs for Tablefaker to create synthetic datasets with tables, relationships, and faker data.

19 0
View
awsclaw-s3-fileops logo
necatiarslan/awsclaw

awsclaw-s3-fileops

Upload and download files and folders to/from Amazon S3 with folder structure preservation using awsclaw. Bulk file transfers, folder uploads, folder downloads.

1 0
View
testing-dags logo
necatiarslan/airflow-vscode-extension

testing-dags

Complex DAG testing workflows with debugging and fixing cycles. Use for multi-step testing requests like "test this dag and fix it if it fails", "test and debug", "run the pipeline and troubleshoot issues".

44 0
View
managing-astro-local-env logo
necatiarslan/airflow-vscode-extension

managing-astro-local-env

Manage local Airflow environment with Astro CLI. Use when the user wants to start, stop, or restart Airflow, view logs, troubleshoot containers, or fix environment issues. For project setup, see setting-up-astro-project.

44 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View