gws-forms
Google Forms CLI operations via gws. Use when users need to get form metadata, retrieve form responses, create forms, or update forms. Triggers: google forms, form responses, survey, form data, create form, update form.
Best use case
gws-forms is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Google Forms CLI operations via gws. Use when users need to get form metadata, retrieve form responses, create forms, or update forms. Triggers: google forms, form responses, survey, form data, create form, update form.
Teams using gws-forms should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/forms/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How gws-forms Compares
| Feature / Agent | gws-forms | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Google Forms CLI operations via gws. Use when users need to get form metadata, retrieve form responses, create forms, or update forms. Triggers: google forms, form responses, survey, form data, create form, update form.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Google Forms (gws forms) `gws forms` provides CLI access to Google Forms with structured JSON output. > **Disclaimer:** `gws` is not the official Google CLI. This is an independent, open-source project not endorsed by or affiliated with Google. ## Dependency Check **Before executing any `gws` command**, verify the CLI is installed: ```bash gws version ``` If not found, install: `go install github.com/omriariav/workspace-cli/cmd/gws@latest` ## Authentication Requires OAuth2 credentials. Run `gws auth status` to check. If not authenticated: `gws auth login` (opens browser for OAuth consent). For initial setup, see the `gws-auth` skill. ## Quick Command Reference | Task | Command | |------|---------| | Get form info | `gws forms info <form-id>` | | Get form details (alias) | `gws forms get <form-id>` | | Get all form responses | `gws forms responses <form-id>` | | Get a single response | `gws forms response <form-id> --response-id <id>` | | Create a new form | `gws forms create --title "My Form"` | | Update a form | `gws forms update <form-id> --title "New Title"` | ## Detailed Usage ### info — Get form info ```bash gws forms info <form-id> ``` Gets metadata about a Google Form including title, description, and question structure. ### get — Get form details ```bash gws forms get <form-id> ``` Alias for `info`. Gets metadata about a Google Form including title, description, and question structure. ### responses — Get all form responses ```bash gws forms responses <form-id> ``` Gets all responses submitted to a form, with question titles mapped to answers. ### response — Get a single form response ```bash gws forms response <form-id> --response-id <response-id> ``` Gets a specific response by ID from a form. **Flags:** - `--response-id string` — Response ID to retrieve (required) ### create — Create a new form ```bash gws forms create --title "Feedback Survey" gws forms create --title "Team Poll" --description "Weekly team feedback" ``` Creates a new blank Google Form with a title and optional description. **Flags:** - `--title string` — Form title (required) - `--description string` — Form description (optional) ### update — Update a form ```bash gws forms update <form-id> --title "New Title" gws forms update <form-id> --description "Updated description" gws forms update <form-id> --file batch-update.json ``` Updates a Google Form. For simple changes use `--title` or `--description` flags. For advanced updates (adding questions, etc.), provide a JSON file with a batchUpdate request body. **Flags:** - `--title string` — New form title - `--description string` — New form description - `--file string` — Path to JSON file with batchUpdate request body ## Output Modes ```bash gws forms info <form-id> --format json # Structured JSON (default) gws forms info <form-id> --format yaml # YAML format gws forms info <form-id> --format text # Human-readable text ``` ## Tips for AI Agents - Always use `--format json` (the default) for programmatic parsing - Form IDs can be extracted from Google Forms URLs: `docs.google.com/forms/d/<ID>/edit` - Use `info` to understand the form structure before fetching responses - Use `create` to make a new blank form, then `update --file` to add questions via batchUpdate - The `get` command is an alias for `info` — both return the same output - Use `--quiet` on any command to suppress JSON output (useful for scripted actions)
Related Skills
gws-tasks
Google Tasks CLI operations via gws. Use when users need to manage task lists, view/create/update/delete tasks, move tasks, or clear completed. Triggers: google tasks, task list, todo, task management.
gws-slides
Google Slides CLI operations via gws. Use when users need to create, read, or edit Google Slides presentations. Triggers: slides, presentation, google slides, deck.
gws-sheets
Google Sheets CLI operations via gws. Use when users need to read, write, or manage Google Sheets spreadsheets including cell values, rows, columns, sheets, sorting, merging, formatting, and find-replace. Triggers: sheets, spreadsheet, google sheets, cells, rows, columns, formulas, formatting.
gws-search
Google Custom Search CLI operations via gws. Use when users need to perform web searches using Google Programmable Search Engine. Triggers: google search, custom search, web search.
gws-keep
Google Keep CLI operations via gws. Use when users need to list, view, or create Google Keep notes. Triggers: keep, google keep, notes, sticky notes.
gws-groups
Google Groups CLI operations via gws. Use when users need to list groups or view group members. Triggers: groups, google groups, admin directory, group members.
gws-gmail
Google Gmail CLI operations via gws. Use when users need to list emails, read messages, send email, manage labels, drafts, attachments, batch operations, or trash messages. Triggers: gmail, email, inbox, send email, mail, labels, archive, trash, drafts, attachments.
gws-drive
Google Drive CLI operations via gws. Use when users need to list, search, upload, download, manage files/folders, permissions, revisions, comments, shared drives, and more. Triggers: drive, files, upload, download, folders, google drive, file management, permissions, share, shared drives.
gws-docs
Google Docs CLI operations via gws. Use when users need to read, create, or edit Google Docs documents. Triggers: google docs, document, gdoc, word processing.
gws-contacts
Google Contacts CLI operations via gws. Use when users need to list, search, view, create, or delete contacts. Triggers: contacts, google contacts, people api, contact management.
gws-chat
Google Chat CLI operations via gws. Use when users need to list/create/manage chat spaces, read/send messages, manage members, track read state, handle attachments, or monitor space events. Triggers: google chat, gchat, chat spaces, chat messages.
gws-calendar
Google Calendar CLI operations via gws. Use when users need to list calendars, view events, create/update/delete events, RSVP to invitations, manage calendar CRUD, subscriptions, ACL, free/busy queries, colors, and settings. Triggers: calendar, events, meetings, schedule, rsvp, invite, share, freebusy.