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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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
- List contacts:
gws people people listDirectoryPeople --params '{"readMask": "names,emailAddresses,phoneNumbers", "sources": ["DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE"], "pageSize": 100}' --format json - Create a sheet:
gws sheets +append --spreadsheet SHEET_ID --range 'Contacts' --values '["Name", "Email", "Phone"]' - 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
Comments
- …
More skills from this repository
gws-admin-reports
32kHelps your agent get activity reports from Google Workspace. It collects audit and usage data.
gws-calendar-agenda
32kHelps your agent see upcoming events across all calendars. It's useful for organizing your schedule and knowing what's coming up.
gws-calendar-insert
32kLets your agent create new events in Google Calendar. It's useful for scheduling appointments and meetings.
gws-calendar
32kAllows your agent to manage calendars and events. It's useful for organizing your life and work.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.