recipe-sync-contacts-to-sheet
Helps your agent export Google contacts to a spreadsheet. It's useful for organizing contact lists and using them elsewhere.
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.
Example of what to ask your AI
“Copy my Google contacts to a spreadsheet.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
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.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add googleworkspace/cli --skill recipe-sync-contacts-to-sheetOr download just the file:
curl -L https://raw.githubusercontent.com/googleworkspace/cli/main/skills/recipe-sync-contacts-to-sheet/SKILL.md -o SKILL.mdTechnical 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
- #6343
- License
- Apache-2.0
- Updated
- 10/6/2026
Comments
- …
More skills from this repository
gws-admin-reports
Helps your agent get activity reports from Google Workspace. It collects audit and usage data.
googleworkspace/cli
gws-calendar-agenda
Helps your agent see upcoming events across all calendars. It's useful for organizing your schedule and knowing what's coming up.
googleworkspace/cli
gws-calendar-insert
Lets your agent create new events in Google Calendar. It's useful for scheduling appointments and meetings.
googleworkspace/cli
gws-calendar
Allows your agent to manage calendars and events. It's useful for organizing your life and work.
googleworkspace/cli
Similar skills
data-throughput-accelerator
Makes your agent speed up the movement of large data volumes. It finds bottlenecks and ensures data is transferred quickly and correctly.
affaan-m/ECC
inventory-demand-planning
Helps your agent predict product demand in stores. It optimizes stock and plans when to run promotions to sell more.
affaan-m/ECC
market-research
Helps your agent conduct market research and competitive analysis. Provides summaries with source attribution.
affaan-m/ECC