gws-people
🤖 AI Summary
This skill provides a CLI tool (`gws people`) for managing Google Workspace People API contact groups, enabling CRUD operations like batch fetching, creating, and deleting contact groups for the authenticated user.
How to Install
Claude Code:
git clone --depth 1 https://github.com/googleworkspace/cli.git && cp cli/skills/gws-people ~/.claude/skills/gws-people -r# people (v1)
> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
```bash
gws people [flags]
```
## API Resources
### contactGroups
- `batchGet` — Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names.
- `create` — Create a new contact group owned by the authenticated user. Created contact group names must be unique to the users contact groups. Attempting to create a group with a duplicate name will return a HTTP 409 error. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.
- `delete` — Delete an existing contact group owned by the authenticated user by specifying a contact group resource name. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.
- `get` — Get a specific contact group owned by the authenticated user by specifying a contact group resource name.
- `list` — List all contact groups owned by the authenticated user. Members of the contact groups are not populated.
- `update` — Update the name of an existing contact group owned by the authenticated user. Updated contact group names must be unique to the users contact groups. Attempting to create a group with a duplicate name will return a HTTP 409 error. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.
- `members` — Operations on the 'members' resource
### otherContacts
- `copyOtherContactToMyContactsGroup` — Copies an "Other contact" to a new contact in the user's "myContacts" group Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.
- `list` — List all "Other contacts", that is contacts that are not in a contact group. "Other contacts" are typically auto created contacts from interactions. Sync tokens expire 7 days after the full sync. A request with an expired sync token will get an error with an [google.rpc.ErrorInfo](https://cloud.google.com/apis/design/errors#error_info) with reason "EXPIRED_SYNC_TOKEN". In the case of such an error clients should make a full sync request without a `sync_token`.
- `search` — Provides a list of contacts in the authenticated user's other contacts that matches the search query. The query matches on a contact's `names`, `emailAddresses`, and `phoneNumbers` fields that are from the OTHER_CONTACT source. **IMPORTANT**: Before searching, clients should send a warmup request with an empty query to update the cache. See https://developers.google.com/people/v1/other-contacts#search_the_users_other_contacts
### people
- `batchCreateContacts` — Create a batch of new contacts and return the PersonResponses for the newly Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.
- `batchUpdateContacts` — Update
Details
| Category | Coding → generation |
| Source | googleworkspace/cli |
| SKILL.md | View on GitHub → |
| Repo Stars | ★ 27.3K |
| Est. per Skill | 546 (shared across 50 skills from this repo) |
| Difficulty | Intermediate |
| Risk Level | N/A |
Related Skills
jq
jq — JSON Querying and Transformation Overview jq is the standard CLI tool for querying and reshapin
pubmed-database
PubMed Database Overview PubMed is the U.S. National Library of Medicine's comprehensive database pr
cc-skill-continuous-learning
cc-skill-continuous-learning Development skill skill. When to Use This skill is applicable to execut
git-hooks-automation
Git Hooks Automation Automate code quality enforcement at the Git level. Set up hooks that lint, for
Works Well With
Skills from the same repository — often designed to work together
gws-admin-reports
admin-reports (reportsv1) > PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and se
gws-calendar-agenda
calendar +agenda > PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security ru
gws-calendar-insert
calendar +insert > PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security ru