AWS Builder Center
How do you know your skill works?

How do you know your skill works?

Testing AI agent skills in AWS Quick when the answer is a little different every time.

Series: Skills you can trust (3 articles)

  1. 1
    How do you know your skill works? This article
By Mrunal Shridhar and Jed Lechner. Part 1 of 3 in the series "Skills you can trust".
About this series. This series builds on work Jed Lechner started. Jed wrote  How skills and agents work in AWS Quick  and the AWS Quick catalog's guide  Build skills with software engineering practices , and he built the  Skill Architect  skill these articles use. I'm picking up those topics and building on them with my own tests, examples and input. Full credit to Jed for kicking this off. Mrunal

AWS Quick in 30 seconds

AWS Quick is "the AI workspace built only for work". It helps you create, review, and automate work across the tools you and your agents already use ( AWS Quick ). With AWS Quick, teams use AI agents to research, analyze, and act across the data and applications they already use, and anyone can build agents, apps, and automations in plain language that the whole team can share ( AWS What's New ).
A skill is a reusable set of instructions that teaches an agent in AWS Quick how to do a specific task, such as preparing a weekly status update from your template. You capture it once, and AWS Quick applies those instructions whenever the task comes up. You can create your own skills, publish and share them, and install skills that other people share with you ( AWS Quick User Guide ).
Think of a skill as the handover notes you'd leave for a colleague who covers your job while you're away.
You ask AWS Quick a question. AWS Quick looks through its skills and picks the one that matches, here "Weekly team update". It follows that skill's steps, uses your documents, data and tools, and gives you the answer.

AWS Quick picks a skill by its name and description, then follows its steps.
Handover notes are only useful if they work. This article is about how you find out.

Looks right. Three things aren't.

A weekly update AWS Quick wrote with no skill. It looks tidy, with Progress and Risks sections. Three red crosses mark what the marker found: the team offsite is left out of Progress, it's listed as a risk although it's 16 days away, and an unblock step is made up.

A tidy answer can still break your team's rules. You only find out by checking.
We asked AWS Quick to write a team's weekly update from a made-up project tracker, with no skill to guide it. The answer looked tidy: Progress, Risks, owners and dates. Across our test runs, a marker (a separate run of AWS Quick that checks answers) compared each answer with the tracker and found three problems:
  • It listed the team offsite as a risk, although it isn't due for 16 days. The team counts a task as a risk only if it's due within 3 days.
  • It left the same task out of Progress, although it was updated that week.
  • It suggested ways to unblock tasks, such as "agree a new due date", that appear nowhere in the tracker.
With the skill, every task in every run matched the tracker.

Why "it worked when I tried it" isn't proof

Trying a skill once, then sharing it, misses three things.
  • Answers vary. Ask the same thing three times and you get three slightly different answers. One good answer tells you little about the next one.
  • You know the right words. Your colleagues will use their own.
  • You don't know what happens without it. If AWS Quick writes a good update anyway, the skill only adds upkeep.

Test it against "no skill"

One test question goes down two paths: AWS Quick with the skill, and AWS Quick without it. Both answers go to the same marker. With the skill, 100% of the checks passed. Without it, 56%. The skill adds about 44 points, give or take 25.

The gap shows what the skill adds on these questions.
To know whether your handover notes helped, you'd compare your colleague's first week with a week covered by someone with no notes at all.
A test does the same thing. You write test questions, and AWS Quick answers each one twice, with and without the skill. The marker scores both answers against checks: yes-or-no questions such as "Are all four sections there?" The gap between the scores shows what the skill adds. People call these tests evals.
We built a "Weekly team update" skill for that tracker with Skill Architect, a skill in the AWS Quick official catalog that builds, tests and reviews skills. In our first round, with one try per question, 17 of 17 checks passed with the skill (100%) and 9 of 16 without it (56%). That's about 44 points better than AWS Quick on its own, give or take 25. The no-skill side has one check fewer because it skips the question the skill should stay out of.
Without the skill, AWS Quick couldn't know the team's 3-day rule, or that it should only use the tracker. The skill told it. Also try the request once with your key rule typed in. If that does as well, you may not need the skill.

Ask three questions of every answer

Three steps, each higher than the last. Step 1: used the skill? Step 2: right answer? Step 3: right way? Step 2 is outlined, with a note: most people only check this.

Most people only check step 2. Steps 1 and 3 fail just as quietly.
Every check answers one of three questions.
  1. Did AWS Quick use the skill? It should stay out of requests it isn't for, so make one test question a near miss, such as "write the board's monthly report". AWS Quick picks a skill by its name and description ( user guide ), so rewording the description can change when it gets picked.
  1. Is the answer right? All four sections, this week's dates, Risks that follow the team's rule, and nothing made up.
  1. Did it get there the right way? It read the tracker before writing, and asked before sending anything.
Word test questions the way colleagues talk, such as "can you write this week's update?". Don't name the skill, or you never find out whether AWS Quick would pick it.

Let someone else mark it

One check marked by the marker: the Risks list follows the team rule. Result: fail, with a red cross. Underneath is the line the marker quoted from the answer, "T-105, Not started, due 10 Dec", a task due in 16 days.

The marker quotes its proof, so you can check its work.
You shouldn't mark your own homework. Neither should the run of AWS Quick that wrote the answer, or the chat where you built the skill, because both know what you meant.
Skill Architect's marker hasn't seen your chat. For each check it gives a pass or a fail and quotes the line that proves it, so you can decide whether you agree. Read a few passes too: a pass can quote a real line that proves nothing. AI markers can also be swayed by where an answer appears, how long it is, and whether it reads like their own writing ( Zheng et al. 2023 ).
A good marker also marks your test. Ours said several checks passed with or without the skill, so they showed nothing, and it suggested sharper ones. It also flagged something no check covered: the tracker keeps only current statuses, so a past week's update would show today's.

Reading the results

Skill Architect's results table shows these numbers after each round:
  • How much better than AWS Quick on its own, in points, with a "give or take". Ours was 44, give or take 25, so somewhere between 19 and 69. That give-or-take only covers the checks we wrote, so treat it as the least uncertainty there could be. More questions and tries make you surer. More checks on the same answers shrink the give-or-take without making you surer.
  • Got worse since last time. Checks that passed on every try last round and fail now. Look at this before you share a change.
  • Works every time. The share of test questions that passed every check on every try. A perfect score in a small test means you haven't seen it fail yet, not that it never will.

A perfect score is where the questions start

A perfect score of 90 of 90 checks, with four amber notes from the marker: half the checks pass without the skill, one check was too easy, the three tries shared a chat, and 5 of the no-skill fails were checks it could never pass.

Read the marker's notes before you share the skill.
Round 2 had 30 sharper checks and 3 tries per question. With the skill, 90 of 90 checks passed. Without it, 15 of 29: 48 points better, give or take 19. The no-skill side again skipped one question, and ran once, because Skill Architect repeats only the side with the skill.
The marker's notes said:
  • About half the checks passed with or without the skill.
  • One check was too easy to pass. "Shows the exact message before sending" passed when AWS Quick only pointed to "the draft above".
  • The 3 tries shared one chat and reused some work, so the perfect score probably makes the skill look steadier than it is. Ask for each try in its own chat.
  • 5 of the no-skill side's 14 fails were "did it use the skill?" checks, which it can't pass by design, so the gap of 48 is too big. Round 1 may have the same problem.
The marker said that leaves 10 of 24 (42%). That's a wrong sum. Taking out 5 fails leaves all 15 passes, so it's 15 of 24 (63%), and the fair gap is about 38 points, not 48. Even the marker shouldn't do the maths, which is where article 2 picks up.

Compare like with like

A table comparing round 1 and round 2. Tries per question: 1 and 3. With the skill: 17 of 17 and 90 of 90. Without it: 9 of 16 and 15 of 29. What the skill adds: 44 points give or take 25, and 48 points give or take 19.

Two rounds, two different sets of checks. Read each round on its own.
A score only means something next to a score from the same questions and checks, with the same number of tries. Change any of them and you've changed the exam. After an AWS Quick update, rerun the no-skill side too.
Skill Architect gives each version of a skill a version stamp, a short code worked out from its files ( Fingerprint the files you checked ). The test questions get one too, and when that stamp changes, Skill Architect tells you the scores can't be compared ( Skill Architect test guide ). So did the skill get 4 points better from round 1 to round 2? We can't tell: the checks changed, and 4 points is well inside both give-or-takes.

In your work

One thing to test in each job:
  • Finance: does the month-end summary still use the right month after a template change?
  • HR: does the onboarding skill still leave pay questions to someone else?
  • Sales: does the account brief still pull from the CRM, or has it started guessing?
  • Operations: does the incident summary still ask before messaging the team?

How to do it in AWS Quick

The AWS blog post  How skills and agents work in AWS Quick  explains how to build a skill. These steps start once you have one.
1. Install Skill Architect. In AWS Quick on desktop, choose Customize, Skills, Browse all, then Official, search for "skill architect", and choose Install ( Install a skill ).
2. Write your test questions first. Use questions people will really ask. Three will do to try it out. For a real test, write five, plus one near miss. Tests use agent hours ( AWS Quick pricing ), so start small.
3. Ask Skill Architect to test your skill. In a new chat, type this, with your skill's name:
Use Skill Architect to test my Weekly team update skill.
It writes test questions too. Reword any that don't sound like your colleagues, and add one of your own. Then let it run the test ( Test the skill against no skill at all ), with each try in its own chat. In our test, it worked on copies of our files and only noted what it would have posted to the team channel. Before sharing, try it once on your real, messier data.
The test questions Skill Architect wrote for the Weekly team update skill: this week's update, the week ending 20 November, a request to post to a team channel that must ask first, a risks-only request, a tracker file that doesn't exist, and, highlighted, a curry recipe request the skill should ignore.

Our curry recipe was easy to ignore. A near miss tells you more.
4. Read the results. Start with the gap, then anything that got worse, then the marker's notes.
5. Change one thing at a time, and test again. Change three and you won't know which one moved the score. Your edits stay in a draft while you test. Publishing replaces what is live, and everyone you shared the skill with moves to the update ( user guide ), so add a release note saying what changed and why.
The Publish this version? dialog in AWS Quick, with release notes filled in: tested with 30 sharper checks, 3 tries each, 90 of 90 passed, and a note added for past weeks because the tracker only keeps each task's current status. The field has a 500-character limit.

Say what changed, so the people using the skill know.


Try it this week

Pick a skill you use. Write two questions it should handle and one near miss it shouldn't. In a new chat, type "Use Skill Architect to test my [skill name] skill." Ask for three tries per question, each in its own chat.
No time for that? Turn the skill off in its detail panel: a disabled skill "stays in your list but is not loaded until you turn it back on" ( user guide ). Ask your questions in a new chat, turn it back on, ask again in another new chat, and compare. If the answers without the skill are just as good, your skill hasn't earned its place yet.

Copy this

A one-page skill test sheet to print. Spaces for the skill name and version, the test question in your colleague's words, whether the skill should handle it, and why it matters. Then a box for each of the three questions: did AWS Quick use the skill, is the answer right, did it get there the right way, each with lines for checks. At the bottom, a grid to tick three tries with the skill and three without, each in a new chat, and a line for what got worse since last time.

Print one sheet per test question, or copy the text below.
SKILL TEST SHEET
One sheet per test question

Skill: ____________________________
Version or date: __________________

Test question, in your colleague's
words:
___________________________________

Should the skill handle it? Yes / No
Why it matters: ___________________

1. Did AWS Quick use the skill?
(Used it when it should, stayed
out when it shouldn't)
Check: _________________________

2. Is the answer right?
(Every section there, right
dates, nothing made up)
Check: _________________________
Check: _________________________

3. Did it get there the right way?
(Read the right source, asked
before sending)
Check: _________________________

Each try in a new chat:
Try 1 Try 2 Try 3
With skill [ ] [ ] [ ]
Without [ ] [ ] [ ]

Passed every check on every try?
Yes / No
Got worse since last time:
___________________________________

Learn more from Jed

  •  Skill Architect : the skill Jed built to plan, build, test and review skills in AWS Quick.

About the authors

Mrunal Shridhar is a Sr. Worldwide Specialist Solutions Architect at Amazon Web Services specialising in agentic AI with AWS Quick. Prior to his current role, he led Solution Engineering for EMEA at Tableau (part of Salesforce), and has spent close to 20 years in data, analytics and business intelligence.
Jed Lechner is a Sr. Specialist Solutions Architect at Amazon Web Services specializing in agentic AI. Prior to his current role, he was a Software Engineer at AWS and other companies, with a focus on energy and sustainability.

Series: Skills you can trust (3 articles)

  1. 1
    How do you know your skill works? This article
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article