Skip to content
Skillpedia
Analysis & spreadsheets32k · #9245

recipe-sync-contacts-to-sheet

What it does

This tool copies your Google contacts into a Google Sheet. This gives you an organized list of all your contacts.

When to use it

  • ✓When you want a contact list to use elsewhere.
  • ✓To have a backup of your contacts.
  • ✓To organize work or personal contacts.

Skill link

https://github.com/googleworkspace/cli/blob/main/skills/recipe-sync-contacts-to-sheet/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/googleworkspace/cli/blob/main/skills/recipe-sync-contacts-to-sheet/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Copy my Google contacts to a spreadsheet.”

5 new skills a week. 1 minute to read.

How it works

The tool first retrieves all your contacts from Google. Then, it creates a new spreadsheet or uses an existing one and adds the name, email, and phone number of each contact into separate rows.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Export Google Contacts to Sheets

PREREQUISITE: Load the following skills to execute this recipe: gws-people, gws-sheets

Export Google Contacts directory to a Google Sheets spreadsheet.

Steps

  1. List contacts: gws people people listDirectoryPeople --params '{"readMask": "names,emailAddresses,phoneNumbers", "sources": ["DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE"], "pageSize": 100}' --format json
  2. Create a sheet: gws sheets +append --spreadsheet SHEET_ID --range 'Contacts' --values '["Name", "Email", "Phone"]'
  3. Append each contact row: gws sheets +append --spreadsheet SHEET_ID --range 'Contacts' --values '["Jane Doe", "jane@company.com", "+1-555-0100"]'
FAQ

Do I need any other tools installed?

Yes, you need to have the 'gws-people' and 'gws-sheets' tools loaded for this one to work.

What happens to contacts already in the spreadsheet?

The tool adds the new contacts. If you already have contacts in the sheet, they will remain there.

Can I choose which contact information to export?

Currently, it exports names, email addresses, and phone numbers.

Details

Original description by the author

Export Google Contacts directory to a Google Sheets spreadsheet.

repo: googleworkspace/cli

Popularity

GitHub stars
32k
Ranking position
#9245
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