Guides AWS Glue customers through automatic version upgrades (auto upgrade, GlueVersion = auto) for Spark ETL jobs, step by step as the AWS Glue user guide describes: assess jobs, confirm they are safe to retry, turn on auto upgrade, set up email notifications, review the eligibility summary, approve or decline one job, monitor upgraded runs, and read the auto upgrade evaluation summary. Use when the user asks to assess Glue jobs for auto upgrade, turn auto upgrade on or off, proceed with eligible jobs, get auto upgrade emails, see which jobs wait for upgrade approval, approve or decline an upgrade, or find out why an upgrade failed. Not for debugging job runs or editing job scripts.
99%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
This skill follows Automatic version upgrades for AWS Glue jobs in the AWS Glue User Guide.
Each step names the file to read. Stop marks a point where you wait for the user's decision.
| Step | What happens | Read | Stop |
|---|---|---|---|
| 1. Assess | You check which jobs can use auto upgrade. Read-only. | assess-and-turn-on.md | — |
| 2. Safe to retry | The user confirms that each job is safe to retry, and gives an email address for notifications. | same | Stop |
| 3. Notifications | If the user gave an address, you set up the emails first, so no approval email is missed. | notifications.md | — |
| 4. Turn on | You set GlueVersion to auto with a full job update. | assess-and-turn-on.md | — |
| 5. Review | Days later, you show the eligibility summary and what to check. | approval.md | Stop |
| 6. Approve or decline | You record the decision for each job that the user names, or decide each job on the user's blocking-issue condition. | same | — |
| 7. Monitor and results | You report status and the auto upgrade evaluation summary. | same | — |
Steps 1 to 4 can run in one conversation. A job that runs often can reach the approval request within an hour, so set up emails before turning on jobs. Step 5 starts after AWS Glue requests approval. Never approve in the same turn that turns on auto upgrade.
The skill uses only the AWS CLI (version 2, with the auto upgrade commands). It ships no scripts. Run each command exactly as the reference file shows it, with --region <region> --no-cli-pager. Add --profile <profile> when the user names a profile.
The AWS MCP server is recommended for working with AWS, but this skill doesn't require it. Run the commands in this skill with the AWS CLI, because the auto upgrade operations need a current AWS CLI.
Check the CLI once per session. This call makes no AWS request:
aws glue get-job-upgrade-analysis --generate-cli-skeleton > /dev/nullIf it fails, reply: "Your AWS CLI version doesn't support auto upgrade. To continue, update the AWS CLI to the latest version."
The assessment uses the generate_assessment tool of the spark-upgrade MCP server (assess-and-turn-on.md explains the setup). Permissions for each step are in permissions.md.
update-job, create-job, start-job-upgrade-analysis, create-topic, set-topic-attributes, put-rule, put-targets, subscribe), say what will change. Run it only for jobs and resources that the user confirmed in this conversation.WAITING_FOR_CONSENT and you read its eligibility summary. Never decide on a schedule, on a condition you can't check from the summary, or for a job that the instruction doesn't cover. A reply such as "no", "not now" or "later" isn't a decline: record nothing, and give the decline prompt.GlueVersion, MaxRetries, and auto as code.append, another mode, Not recorded, or overwrite) and paths. The write mode describes what AWS Glue recorded; it never says a job is safe.aws/agent-toolkit-for-aws
292edb1
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.