Guide · Agent skill
How to use the Gmail Vacation Responder agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The Gmail Vacation Responder skill teaches an AI agent how to turn on an out-of-office auto-reply in a Gmail account, check that it is active, and turn it off again. It works through the gws command-line tool, so it suits people who already use gws or want an agent to handle the vacation reply for them. By the end of this guide you will know what the skill does, how to install it, how to ask for it in plain language, and what to check before you use it.
Quick start
- 1Install the gws tool. Install the gws command-line tool and authenticate it with the Google account whose Gmail you want to use.
- 2Load the gws-gmail skill. Make sure the gws-gmail skill is available, because this recipe requires it.
- 3Download and unzip the skill. Download the ZIP from this page and unzip it to ~/.claude/skills/ or a project's .claude/skills/ folder.
- 4Describe the reply you want. Ask the agent in plain language for an out-of-office reply, including the message and the return date.
- 5Verify the settings. Ask the agent to read back the vacation settings and confirm the message and on state.
- 6Turn the reply off. When you return, ask the agent to disable the vacation responder.
What does the Gmail Vacation Responder skill make the agent do?
The skill is a recipe, a short set of instructions that tells an AI agent how to perform one task. Its task is to set up an automatic out-of-office reply in a Gmail account. The recipe is built on the gws command-line tool and relies on the gws-gmail skill for Gmail access.
The recipe has three steps: enable the vacation responder with a message you choose, verify that the settings took effect, and disable the responder when you return.
- Enable the vacation responder with a custom subject and body text.
- Read back the current vacation settings to confirm them.
- Turn the auto-reply off when you are back.
What do you need before installing?
The skill needs three things. Without them, the commands will fail.
- The gws command-line tool installed and authenticated with a Google account.
- The gws-gmail skill loaded, because this recipe depends on it.
- A Gmail account with permission to change vacation responder settings.
How do you install the skill?
Download the ZIP file for the skill from this page and unzip it. The skill is delivered as a folder containing SKILL.md. Put that folder in one of these locations:
- Your personal skills folder: ~/.claude/skills/
- A project-specific folder: .claude/skills/ inside your project.
- Or, in the Claude apps, go to Settings → Capabilities → Skills and upload the ZIP.
How do you trigger the skill with a natural request?
You do not need to type commands yourself. Describe what you want in plain language and the agent will pick up the skill when the request matches its purpose. Include the message, and the dates if you want them handled. Examples of requests that match this skill:
- Set up an out-of-office reply saying I am away until Jan 20 and to contact backup@company.com for urgent matters.
- Check whether my Gmail vacation responder is on and show me the current message.
- Turn off my Gmail out-of-office reply, I am back at work.
What commands does the skill run?
The recipe uses three gws commands. This is the enable step from the skill, shown so you can see exactly what will run:
- Enable: gws gmail users settings updateVacation with the userId set to me and a JSON body containing enableAutoReply true, a responseSubject, a responseBodyPlainText, and restrictToContacts and restrictToDomain set to false.
- Verify: gws gmail users settings getVacation with the userId set to me.
- Disable: gws gmail users settings updateVacation with enableAutoReply set to false.
gws gmail users settings updateVacation --params '{"userId": "me"}' --json '{"enableAutoReply": true, "responseSubject": "Out of Office", "responseBodyPlainText": "I am out of the office until Jan 20. For urgent matters, contact backup@company.com.", "restrictToContacts": false, "restrictToDomain": false}'What should you check before you use it?
The skill runs scripts and uses the network, because it sends commands to Gmail through gws. Read the message text before the agent sends it, and check the contact details it will reveal to outside senders.
The example sets restrictToContacts and restrictToDomain to false, so the reply goes to anyone who emails the account. If you need to limit replies to specific senders or domains, the agent must edit the command to change those settings. Do not use this skill on a shared or team inbox without a review of the reply text.
- Confirm the message contains only details you are willing to share with outsiders.
- Use the verify step to confirm the reply is on and the text is correct.
- Make sure the disable step runs when you return, so the reply does not continue.
What tips help the skill work well?
Be specific about the message and the dates. The example message in the skill includes a return date and a backup contact, which is a useful pattern to copy. Ask the agent to verify after enabling, so you can see the saved settings rather than assume they took effect.
- Give the return date and a backup contact in your request.
- Ask for a verification step every time you enable the responder.
- Keep a note to turn it off, or ask the agent to do it when you return.
What people use it for
- Setting an out-of-office message with a return date and a backup contact before a holiday.
- Checking whether the vacation responder is currently on and what text it sends.
- Turning off the auto-reply automatically when you return to work.
- Scripting vacation settings for a developer or admin who already uses the gws CLI.
Frequently asked questions
How do I install the Gmail Vacation Responder skill?
Download the ZIP file from this page and unzip it into ~/.claude/skills/ for your personal use, or into .claude/skills/ inside a project. In the Claude apps, you can instead upload the ZIP under Settings → Capabilities → Skills.
What do I need before the skill works?
You need the gws command-line tool installed and authenticated with a Google account, the gws-gmail skill loaded, and a Gmail account with permission to change vacation responder settings. Without the gws tool, the commands will fail.
Is the Gmail Vacation Responder skill free?
The skill is licensed under Apache-2.0. This page does not state any price, so check the source repository for licence terms.
Can the skill send replies only to my contacts?
The example in the skill sets restrictToContacts and restrictToDomain to false, so it does not limit replies. The agent must edit the command to restrict replies to specific senders or domains.
How do I turn the auto-reply off?
Ask the agent to disable the vacation responder. The skill runs the updateVacation command with enableAutoReply set to false.
Can I use this skill on a shared team inbox?
It is not recommended without review. An auto-reply can expose internal contact details to outside senders, so check the reply text first.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
This skill suits professionals who want an out-of-office reply set up quickly, and developers or admins who already use the gws CLI and want to script Gmail vacation settings. It is not a good fit if you do not have gws installed and authenticated, or if you need replies limited to specific senders or on a shared inbox without review.
Download the skill