@srobroek/pi-aws-guidance0.11.0
AWS working guidance: route AWS tasks through the AWS MCP Server's guided skills, verify against AWS documentation, and price with the AWS Pricing MCP server.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
aws
AWS working guidance as the aws-guidance skill, plus two optional MCP servers
for projects doing AWS work.
| Skill | When |
|---|---|
aws-guidance |
AWS tasks: use AWS MCP when configured and suitable, verify API details against AWS documentation, price with aws-pricing or another approved source, and route secrets through the project-secrets skill (AWS Secrets Manager through the aws-secrets-manager skill from AWS MCP when available). Three references: cdk.md (testing and quality concerns for CDK apps and construct libraries: assertions, cdk-nag, diff, drift, cost), lambda.md (thin handlers, one middleware model per surface, Powertools for AWS Lambda, OpenTelemetry through the ADOT layer, runtime defaults) and service-clients.md (when a library beats the raw SDK for DynamoDB, Valkey, S3, SQS, secrets, Cognito, RDS, OpenSearch, Kinesis, MSK and Bedrock) |
MCP servers
The plugin adds the servers in .mcp.json, with pinned versions:
| Server | Command | Scope |
|---|---|---|
aws-mcp |
uvx mcp-proxy-for-aws-cli@2.0.0 https://aws-mcp.us-east-1.api.aws/mcp --read-only --skip-auth |
AWS documentation search, guided AWS skills, regions and regional availability. --read-only hides every tool that can change AWS resources; --skip-auth lets the documentation and skill tools work without credentials. Queries go to the AWS-hosted endpoint, and authenticated calls appear in CloudTrail for the signing account |
aws-pricing |
uvx --with botocore[crt] awslabs.aws-pricing-mcp-server@1.1.2, with AWS_REGION=us-east-1 by default |
AWS Price List queries in us-east-1 by default and Terraform or CDK cost analysis. Set AWS_REGION to use another supported pricing region. The botocore[crt] extra loads credentials created by aws login |
In OpenCode both run in Code Mode with a 120 s startup timeout, since the first start
downloads the uvx environment, and aws-mcp gets a 100 s execution timeout. aws-pricing speaks MCP 2026-07-28 and
needs no project directory, so it runs from ~ with pool: true: on OpenCode 2.2.6 and
later one process serves every directory. aws-mcp negotiates an older protocol and
stays one per directory.
Prerequisites: uv on PATH, and AWS credentials in the default chain for
authenticated calls (set AWS_PROFILE before starting OpenCode to pick a profile).
OMP and Pi
The shared MCP source is common/.mcp.json; harness-kit generates
the OMP and Pi MCP declarations from it. Both servers are available in OMP and Pi:
the AWS MCP Server is read-only and works without AWS credentials for documentation
and guided skills, while AWS Pricing uses the default AWS credential chain for
authenticated pricing queries. OMP does not substitute credential variables in
plugin MCP configs, so configure any required credentials at user scope.
When OpenCode adds them
By default (mcp: "auto") the plugin adds the servers only where the session's
directory or its project root looks like AWS work, so a globally installed plugin
does not start two uvx processes in every project. It checks, without recursing:
cdk.json,cdk.context.json,samconfig.*,.aws-sam/,serverless.{yml,yaml,ts},amplify/backend.ts,amplify/.config,copilot/.workspace,.chalice/,buildspec.ymlorappspec.yml- a
*.tffile naming the AWS provider, or a CloudFormation or SAM template, at the root or ininfra/,infrastructure/,terraform/,iac/,deploy/,cloudformation/orcfn/ - a Pulumi stack file with
aws:config - an AWS dependency:
aws-cdk-lib,@aws-sdk/*,@pulumi/aws,serverlessorsstinpackage.json;boto3,aws-cdk-liborpulumi-awsinrequirements.txt,pyproject.toml,Pipfileorsetup.py; the AWS SDK or CDK ingo.mod
The check runs when the plugin loads for a directory; run /reload after adding the
first marker to a new project.
{
"plugins": [{
"package": "github:srobroek/harness-plugins::path:plugins/aws/opencode",
"options": {
"mcp": "always", // "auto" (default), "always", or "off" for no servers
"mcpServers": { "aws-pricing": false } // turn single servers off (or on) by name
}
}]
}
A server under the same name in your opencode.json wins: the plugin leaves it as you
configured it. Use that to change flags or versions, for example to add --profile,
or set "disabled": true to keep it configured but off.
Claude Code
The marketplace export ships the same .mcp.json, so installing the plugin there
starts both servers in every project; there is no project check. Disable them in
the harness's MCP settings for projects that do not use AWS, or when either server
is not wanted. Neither file uses ${VAR} substitution.
Changes from omp
aws-guidancewas an always-applied rule. It is now a skill, loaded when the task is about AWS. To make it always on in an AWS project, copy its body into that project'sAGENTS.md.aws-skill-first, a TTSR reminder on the firstaws,cdkorsamshell command, is folded into the first bullet ofaws-guidance.- The skill says to report checks it could not run when a server is missing, and allows approved AWS sources when MCP is unavailable or unsuitable.
- The servers are pinned instead of
@latest; pricing defaults tous-east-1but supportsAWS_REGION. In OpenCode, servers are added only in AWS projects instead of wherever the plugin is installed.
Both omp rules adapted the rules file from Agent Toolkit for AWS (Apache-2.0).
Install
Install the Pi package from npm:
pi install npm:@srobroek/pi-aws-guidance
opencode plugin add 'github:srobroek/harness-plugins::path:plugins/aws/opencode'
Claude Code install the skill and both servers from this repository's marketplace:
claude plugin marketplace add srobroek/harness-plugins
claude plugin install aws@harness-plugins