ASD

Gws People

Google People: gestiona contactos y perfiles.

Oficial
Estrellas
30.4k

en todo el repo

Actividad
38

0–100, la ruta de este skill

Actualizado
hace 4 meses

último commit aquí

Commits
0

últimos 90 días

Contexto
1.6k tok

11 tok en reposo

Paquete
1 archivo

6 KB

Instalar

Funciona con cualquier agente que lea SKILL.md

npx -y skills add googleworkspace/cli --skill gws-people --agent claude-code

Se instala solo en este repositorio.

Qué hace

  • Gestiona contactos, grupos de contactos y perfiles del directorio mediante el CLI `gws people`
  • Crea, actualiza, elimina y busca contactos y 'Other contacts' con métodos como `createContact`, `searchContacts`, `updateContactPhoto`
  • Permite operaciones batch (`batchCreateContacts`, `batchUpdateContacts`) y sincronización con `sync_token`
  • Consulta perfiles del directorio con `listDirectoryPeople` y `searchDirectoryPeople`

Úsalo cuando

  • Necesitas administrar contactos, grupos de contactos u 'Other contacts' de Google People desde la CLI
  • Quieres buscar o listar perfiles del directorio del dominio del usuario autenticado

No lo uses cuando

    Qué lo activa

    Di cualquiera de estas frases y el agente debería cargar este skill.

    • Crea un nuevo contacto con nombre y correo usando gws people
    • Busca contactos cuyo nombre contenga 'García'
    • Lista todos los grupos de contactos del usuario autenticado
    • Actualiza la foto de un contacto existente

    SKILL.md

    En inglés

    people (v1)

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

    gws people <resource> <method> [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 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 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.
    • createContact — 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.
    • deleteContactPhoto — Delete a contact's photo. Mutate requests for the same user should be done sequentially to avoid // lock contention.
    • get — Provides information about a person by specifying a resource name. Use people/me to indicate the authenticated user. The request returns a 400 error if 'personFields' is not specified.
    • getBatchGet — Provides information about a list of specific people by specifying a list of requested resource names. Use people/me to indicate the authenticated user. The request returns a 400 error if 'personFields' is not specified.
    • listDirectoryPeople — Provides a list of domain profiles and domain contacts in the authenticated user's domain directory. When the sync_token is specified, resources deleted since the last sync will be returned as a person with PersonMetadata.deleted set to true. When the page_token or sync_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.
    • searchContacts — Provides a list of contacts in the authenticated user's grouped contacts that matches the search query. The query matches on a contact's names, nickNames, emailAddresses, phoneNumbers, and organizations 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_contacts
    • searchDirectoryPeople — Provides a list of domain profiles and domain contacts in the authenticated user's domain directory that match the search query.
    • updateContact — 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 the update_mask will be replaced. The server returns a 400 error if person.metadata.sources is not specified for the contact to be updated or if there is no contact source.
    • updateContactPhoto — Update a contact's photo. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.
    • connections — Operations on the 'connections' resource

    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.

    Reproducido de googleworkspace/cli bajo licencia Apache-2.0. Leer esta página en markdown.

    Archivos

    1 archivo en el paquete. Solo se lee SKILL.md al activarse — las referencias se cargan si el skill decide que las necesita.

    Antes de instalar

    Requiere el binario `gws` y haber leído ../gws-shared/SKILL.md para autenticación, flags globales y reglas de seguridad.

    Detalles

    Categoría
    Productividad
    Licencia
    Apache-2.0
    Recursos incluidos
    Solo SKILL.md
    Código fuente
    Ver SKILL.md

    Etiquetas

    Más de googleworkspace/cli

    Este repo incluye 95 skills. Si instalas uno, normalmente ya tienes los demás.

    Leer y escribir Google Forms.

    Costo de contexto al activarse
    394 tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 meses
    Oficialproductividad

    Google Calendar: gestiona calendarios y eventos.

    Costo de contexto al activarse
    1.1k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 meses
    Oficialproductividad

    Gmail: lee un mensaje y extrae su cuerpo o sus headers.

    Costo de contexto al activarse
    350 tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 meses
    Oficialproductividad

    Gmail: enviar, leer y gestionar correo electrónico.

    Costo de contexto al activarse
    505 tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 meses
    Oficialproductividad

    Gmail: muestra un resumen de la bandeja de entrada no leída (remitente, asunto y fecha).

    Costo de contexto al activarse
    305 tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 meses
    Oficialproductividad

    Google Workspace Events: renueva/reactiva suscripciones de eventos de Workspace.

    Costo de contexto al activarse
    315 tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 meses
    Oficialproductividad

    Skills relacionados

    Leer y escribir Google Forms.

    Costo de contexto al activarse
    394 tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 meses
    Oficialproductividad

    Descompón tareas complejas, diseña grafos de dependencias y coordina trabajo multi-agente con descripciones de tareas y balanceo de carga adecuados.

    Costo de contexto al activarse
    1.2k tok
    Tamaño del paquete
    3 archivos
    Última actualización
    hace 6 meses
    productividad

    Crea y mantiene artefactos de contexto del proyecto (product.md, tech-stack.md, workflow.md, tracks.md) en un directorio conductor/, scaffolding, extracción y validación incluidos.

    Costo de contexto al activarse
    533 tok
    Tamaño del paquete
    3 archivos
    Última actualización
    hace 2 meses
    productividad