VOOZH about

URL: https://thenewstack.io/aws-agent-toolkit-rules-file/

⇱ Agent Toolkit for AWS includes 20+ agent skills, but your agent might not load them without this one file - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2026-06-25 10:00:00
Agent Toolkit for AWS includes 20+ agent skills, but your agent might not load them without this one file
sponsor-aws-marketplace,sponsored-post-contributed,
AI Agents / Cloud Services / Developer tools

Agent Toolkit for AWS includes 20+ agent skills, but your agent might not load them without this one file

The Agent Toolkit for AWS ships 20+ skills, but a 17-line rules file decides whether your agent actually uses them. Here's why it matters.
Jun 25th, 2026 10:00am by Esin Saribudak
👁 Featued image for: Agent Toolkit for AWS includes 20+ agent skills, but your agent might not load them without this one file
ghariza mahavira for Unsplash+
AWS Marketplace sponsored this post.

If you’re like me, sometimes you get so excited to try something new that you don’t read the docs all the way through before you start using it. Last week, the Agent Toolkit for AWS had just been released, I had the README open, and two minutes later I was asking my agent to design a serverless backend in my Kiro IDE.

But the agent didn’t touch any of the tools I had just configured. It answered from training data and gave me a reasonable API Gateway + Lambda + DynamoDB architecture, but never reached for the MCP documentation search or the aws-core skills I had installed. I had to prompt it to use the MCP server and skills before it gave them a go.

I had skipped one important file in my rush to try out this new toolkit, and it turned out to be the file that made my agent predictably reach for these tools.

What’s in the toolkit

👁 Diagram showing the three layers within the Agent Toolkit for AWS.

The Agent Toolkit for AWS was released on May 6. It works with Claude Code, Codex, Kiro, and any agent that supports MCP, and it has three layers:

  1. The MCP Server gives your agent access to 300+ AWS APIs through a single endpoint, plus sandboxed Python execution and real-time doc search (no AWS credentials needed to search docs).
  2. Skills are packaged domain expertise, including architecture decision tables, service comparison matrices, deployment workflows, and troubleshooting guides (20+ available today).
  3. A rules file tells the agent to use layers 1 and 2 before answering from memory.

I had layers 1 and 2 set up but skipped layer 3, so the agent had all the tools but none of the instructions for using them.

Setup takes two minutes — follow the README’s quick start for your agent (Kiro, Claude Code, Codex, or other MCP-compatible agents).

The file I skipped

There’s a rules file in the toolkit repo’s rules/ directory that I missed when setting it up. The README’s quick start section doesn’t mention it, and I was already typing prompts by the time I could have noticed. But there’s a difference between “can discover skills” and “will proactively load them before answering.” The rules file bridges that gap. It’s 17 lines and tells the agent to:

  • Prefer the AWS MCP Server for all AWS interactions
  • Before starting a task, check whether a relevant AWS skill is available
  • Load the skill with retrieve_skill and prefer its guidance over general knowledge
  • When uncertain about API parameters, permissions, or limits, verify against documentation rather than guessing

For more information on where to put the rules file for different agents, check out the docs here.

“There’s a difference between ‘can discover skills’ and ‘will proactively load them before answering.’ The rules file bridges that gap.”

Before I added this file, the agent had passive access to skills, but after I dropped it in, skill loading became the agent’s first move on any AWS question, and it started pulling architecture decision tables before writing code.

👁 Diagram showing agent behavior with and without the rules file

For a simple CRUD app like the one I was building, the AWS MCP skills refined the implementation rather than redirected it. The LLMs have gotten so good that their general knowledge already gets you to the right architecture much of the time (in my case, API Gateway + Lambda + DynamoDB + Cognito). 

Where the skills added value was in specificity and confidence. Here’s what I got before and after:

Before (no rules file)After (rules file added)
Architecture adviceThree options presented (serverless, containers, Amplify) with a general “Option 1 is the sweet spot” recommendationOne specific architecture with a decision table explaining why each component was chosen over its alternatives
API Gateway type“API Gateway” (unspecified which type)“HTTP API specifically, because REST API is overkill unless you need WAF or caching”
Auth approach“Cognito or roll your own with Lambda + bcrypt + JWT”“JWT authorizer with Cognito because HTTP API has native JWT support, no Lambda authorizer needed”
Function patternNot mentioned“One function per route” (skill best practice)
Constraints flaggedNone30s hard timeout, 10 MB payload limit, no WAF on HTTP API, silent Forbidden on JWT scope mismatch
Source of guidanceModel training dataAWS documentation + aws-serverless skill’s service selection tables
Level of specificityTold me what to buildTold me which variant to build and why that variant over the alternatives

The skills would be even more useful than general LLM knowledge for more complex architectures involving event processing or multi-pattern designs, where the pattern-selection flowcharts and service-comparison tables would change the agent’s choices rather than validate them.

What this taught me about coding agents and skills

Giving a coding agent access to tools is not the same as telling it when to use them. Skills are designed to be loaded on demand, which means something has to tell the agent when to demand them. 

“Giving a coding agent access to tools is not the same as telling it when to use them.”

Without a rule, the agent treats skills like reference books on a shelf: available if it decides to look for them, but not part of its default workflow. The rules file is what changes “available on request” into “check this before you start.”

Guardrails

If you’re wondering, “Is it safe to let an agent call AWS APIs?” that’s a great question to ask. The good news is that you can scope down what the agent is allowed to do separately from your own permissions, so even if your IAM role can create and delete resources, you can restrict the agent to read-only. 

Every request the agent makes through the MCP server gets logged, so you can trace which agent action caused it. And the skills have been tested as full end-to-end workflows before shipping, so when your agent follows a skill’s steps, those steps are verified to produce the expected result.

AWS Marketplace helps companies of all sizes find, try, buy, deploy, and manage solutions from AWS Partners. Accelerate solution discovery, improve governance, enhance cost transparency, and reduce SaaS sprawl with centralized billing and management on AWS.
Learn More
TRENDING STORIES
Esin is a tech educator and content creator at AWS, based in Austin, Texas. She loves solving problems with code and helping people learn about technology.
Read more from Esin Saribudak
AWS Marketplace sponsored this post.
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.