Skip to content
Skillpedia
Writing32k · #6264

gws-forms

Helps your agent read and write to Google Forms. Useful for collecting or updating information automatically.

What it does

This command lets you create, modify, and manage Google Forms. You can create new forms, change their publishing settings, and get information about existing forms.

When to use it

  • ✓Creating a new form to collect information.
  • ✓Changing who can respond to a form.
  • ✓Getting the details of an already existing form.

Example of what to ask your AI

“Create a form named 'Customer Satisfaction Survey' with the questions 'What is your rating for our service?' and 'Would you recommend our services?'”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/googleworkspace/cli/blob/main/skills/gws-forms/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/googleworkspace/cli/blob/main/skills/gws-forms/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

It connects to Google Forms to perform the actions you request. You specify which form to work with and what you want to do, like create or change it.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add googleworkspace/cli --skill gws-forms

Or download just the file:

curl -L https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-forms/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

forms (v1)

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

gws forms <resource> <method> [flags]

API Resources

forms

  • batchUpdate — Change the form with a batch of updates.
  • create — Create a new form using the title given in the provided form message in the request. Important: Only the form.info.title and form.info.document_title fields are copied to the new form. All other fields including the form description, items and settings are disallowed. To create a new form and add items, you must first call forms.create to create an empty form with a title and (optional) document title, and then call forms.update to add the items.
  • get — Get a form.
  • setPublishSettings — Updates the publish settings of a form. Legacy forms aren't supported because they don't have the publish_settings field.
  • responses — Operations on the 'responses' resource
  • watches — Operations on the 'watches' resource

Discovering Commands

Before calling any API method, inspect it:

# Browse resources and methods
gws forms --help

# Inspect a method's required params, types, and defaults
gws schema forms.<resource>.<method>

Use gws schema output to build your --params and --json flags.

FAQ

How do I create a form?

You use the 'create' command and provide the form's title. To add questions, you need to use another command afterward.

Can I change questions in an existing form?

Yes, you can use the 'batchUpdate' command to make multiple changes, including adding or modifying questions.

What are 'publish settings'?

These are the settings that define how the form is shared and who can respond to it.

Details

Original description by the author

Read and write Google Forms.

repo: googleworkspace/cli

Popularity

GitHub stars
32k
Ranking position
#6264
License
Apache-2.0
Updated
10/6/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills