Sample Agent Skills for Builders is a collection of reusable skills that extend AI coding agents with AWS, CDK, security, testing, and engineering workflows. Developers can install the skills for practical AWS development tasks or use the repository as a model for creating their own agent skills. The catalogue entries are skills and instructions from this collection.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add aws-samples/sample-agent-skills-for-builders --skill agentcore-mcp-oauth-facadegit clone --depth 1 https://github.com/aws-samples/sample-agent-skills-for-buildersWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/aws-samples/sample-agent-skills-for-builders/agentcore-mcp-oauth-facade)<a href="https://agentmods.dev/skills/aws-samples/sample-agent-skills-for-builders/agentcore-mcp-oauth-facade"><img src="https://agentmods.dev/badge/skills/aws-samples/sample-agent-skills-for-builders/agentcore-mcp-oauth-facade/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/aws-samples/sample-agent-skills-for-builders/agentcore-mcp-oauth-facade"><img src="https://agentmods.dev/badge/skills/aws-samples/sample-agent-skills-for-builders/agentcore-mcp-oauth-facade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00122 | $0.02175 |
| Opus 5.5 | $0.00049 | $0.00870 |
| Sonnet 5.5 | $0.00024 | $0.00435 |
| Haiku 4.5 | $0.00012 | $0.00217 |
Grade A, and why
agentcore-mcp-oauth-facade scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
5. **Test with a real strict MCP client, not curl.** curl doesn't demand How it starts
The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AgentCore MCP OAuth Facade
Bedrock AgentCore Gateway and Runtime expose MCP endpoints, but real-world MCP
clients expect a complete OAuth 2.0 + MCP implementation: RFC 9728 protected
resource metadata, RFC 8414 authorization server metadata, Dynamic Client
Registration, arbitrary loopback redirect URIs, Mcp-Session-Id continuity,
SSE responses, and un-paginated tool lists. Neither Cognito nor AgentCore
Gateway provides all of that out of the box.
This skill captures a production-tested pattern: a small stateless Lambda facade (CloudFront → HTTP API → Lambda) that bridges every gap while never issuing tokens itself — Cognito remains the issuer, and the Gateway's JWT authorizer validates tokens unchanged.
MCP client (Claude Code / Cursor / Quick / mcp-remote)
│ OAuth discovery, /oauth/authorize, /oauth/token, /register, /mcp
▼
OAuth Facade (CloudFront → HTTP API $default stage → Lambda)
│ injects routing session-id, rewrites tool names, aggregates pages,
│ re-wraps JSON as SSE, synthesizes Mcp-Session-Id
▼
AgentCore Gateway (CUSTOM_JWT authorizer) ──► Lambda target ──► tools
When to Apply
Reference this skill when:
- Putting Bedrock AgentCore Gateway or Runtime behind OAuth for third-party
MCP clients (Claude Code, Cursor, Amazon Quick, anything built on
mcp-remote). - An MCP client's connect wizard fails with a manual-credentials form (e.g. Quick's "Fix highlighted fields") — almost always a broken discovery chain.
- Tools past the first 30 are missing from
tools/list— Gateway pagination that the client never follows. - Tool calls intermittently return 404 "no valid session" or
-32602 Unknown toolafter migrating from an MCP Runtime to AgentCore Gateway. - Cognito must serve clients that expect DCR (RFC 7591) or arbitrary
redirect_urivalues.
Not for: general AgentCore service setup (Gateway targets, Runtime
deployment, IAM) — see the aws-agentic-ai skill for that.
How It Works
The facade solves three groups of problems. Each has a deep-dive reference:
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 167 lines · 122 tokens per session scan A 2c8f220eec03
agentcore-mcp-oauth-facade is a skill published in the GitHub repository aws-samples/sample-agent-skills-for-builders (53 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 122 tokens to every session and 2,175 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
mem0-oss-to-platform
Plan, then execute, a migration of a project from the mem0 open-source / self-hosted SDK (local Memory class) to the mem0 Platform / hosted SDK (MemoryClient). TRIGGER when: the developer wants to move, switch, or migrate mem0 off OSS/self-hosted to the hosted API, e.g. "migrate my mem0 setup to the platform", "switch…
agui-dotnet-protobuf
Use the protobuf wire transport (instead of the default Server-Sent Events) for an AG-UI connection with the AG-UI .NET SDK — a compact binary event stream negotiated via the Accept header. USE FOR: making an AGUIChatClient prefer protobuf by wiring an AGUIEventStreamHandler with ProtobufEventStreamFormatter (then…
azure-mgmt-botservice-dotnet
Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".
fastapi-router-py
Create FastAPI routers with CRUD operations, authentication dependencies, and proper response models. Use when building REST API endpoints, creating new routes, implementing CRUD operations, or adding authenticated endpoints in FastAPI applications.
migrate-segw-to-rap
Reverse-engineer a SEGW-built OData V2 service (MPC/DPC/MPCEXT/DPCEXT) into a modern RAP V4 service — tables, CDS views (interface + projection), behavior definitions, draft entities, service definition + binding. Use when asked to "migrate this SEGW service to RAP", "convert OData V2 to V4 RAP", "modernize this…
api-design
Use when settling the contract of an API you expose, before implementation: resources/URLs, REST vs GraphQL, versioning, one RFC 9457 error envelope, pagination, idempotency — emitted as OpenAPI 3.1. NOT implementing the endpoints (that is fastapi/nestjs/go/nodejs), NOT auth hardening (that is secure-coding), NOT…