install
source · Clone the upstream repo
git clone https://github.com/ComeOnOliver/skillshub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ComeOnOliver/skillshub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/googleworkspace/cli/gws-people" ~/.claude/skills/comeonoliver-skillshub-gws-people && rm -rf "$T"
manifest:
skills/googleworkspace/cli/gws-people/SKILL.mdsource content
people (v1)
PREREQUISITE: Read
for auth, global flags, and security rules. If missing, run../gws-shared/SKILL.mdto create it.gws generate-skills
gws people <resource> <method> [flags]
API Resources
contactGroups
— Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names.batchGet
— 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.create
— 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.delete
— Get a specific contact group owned by the authenticated user by specifying a contact group resource name.get
— List all contact groups owned by the authenticated user. Members of the contact groups are not populated.list
— 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.update
— Operations on the 'members' resourcemembers
otherContacts
— 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.copyOtherContactToMyContactsGroup
— 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 with reason "EXPIRED_SYNC_TOKEN". In the case of such an error clients should make a full sync request without alist
.sync_token
— Provides a list of contacts in the authenticated user's other contacts that matches the search query. The query matches on a contact'ssearch
,names
, andemailAddresses
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_contactsphoneNumbers
people
— 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.batchCreateContacts
— Update a batch of contacts and return a map of resource names to PersonResponses for the updated contacts. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.batchUpdateContacts
— Create a new contact and return the person resource for that contact. The request returns a 400 error if more than one field is specified on a field that is a singleton for contact sources: * biographies * birthdays * genders * names Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.createContact
— Delete a contact's photo. Mutate requests for the same user should be done sequentially to avoid // lock contention.deleteContactPhoto
— Provides information about a person by specifying a resource name. Useget
to indicate the authenticated user. The request returns a 400 error if 'personFields' is not specified.people/me
— Provides information about a list of specific people by specifying a list of requested resource names. UsegetBatchGet
to indicate the authenticated user. The request returns a 400 error if 'personFields' is not specified.people/me
— Provides a list of domain profiles and domain contacts in the authenticated user's domain directory. When thelistDirectoryPeople
is specified, resources deleted since the last sync will be returned as a person withsync_token
set to true. When thePersonMetadata.deleted
orpage_token
is specified, all other request parameters must match the first call. Writes may have a propagation delay of several minutes for sync requests. Incremental syncs are not intended for read-after-write use cases.sync_token
— Provides a list of contacts in the authenticated user's grouped contacts that matches the search query. The query matches on a contact'ssearchContacts
,names
,nickNames
,emailAddresses
, andphoneNumbers
fields that are from the 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/contacts#search_the_users_contactsorganizations
— Provides a list of domain profiles and domain contacts in the authenticated user's domain directory that match the search query.searchDirectoryPeople
— Update contact data for an existing contact person. Any non-contact data will not be modified. Any non-contact data in the person to update will be ignored. All fields specified in theupdateContact
will be replaced. The server returns a 400 error ifupdate_mask
is not specified for the contact to be updated or if there is no contact source.person.metadata.sources
— Update a contact's photo. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.updateContactPhoto
— Operations on the 'connections' resourceconnections
Discovering Commands
Before calling any API method, inspect it:
# Browse resources and methods gws people --help # Inspect a method's required params, types, and defaults gws schema people.<resource>.<method>
Use
gws schema output to build your --params and --json flags.