Skip to content
Back to skills

Recipe Sync Contacts To Sheet

ASecurity

Export Google Contacts directory to a Google Sheets spreadsheet.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 28, 2026
ai-agentsgobash

Security analysis

A100/100

Scanned May 28, 2026

npx -y skills add fakoli/fakoli-plugins --skill recipe-sync-contacts-to-sheet --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Recipe Sync Contacts To Sheet?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Recipe Sync Contacts To Sheet
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fakoli-recipe-sync-contacts-to-sheet/badge)](https://www.skillsdirectory.com/skills/fakoli-recipe-sync-contacts-to-sheet)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: recipe-sync-contacts-to-sheet
description: "Export Google Contacts directory to a Google Sheets spreadsheet."
trigger:
  - keyword: sync contacts
  - keyword: export contacts
  - keyword: contacts to sheet
version: 1.0.0
---

# Export Google Contacts to Sheets

Export Google Contacts directory to a Google Sheets spreadsheet.

## When to Use

Use this workflow when the user wants to export their organization's contact directory to a spreadsheet for reporting, mail merge, or backup.

## Workflow

### 1. List contacts from the directory

```bash
gws people people listDirectoryPeople \
  --params '{"readMask": "names,emailAddresses,phoneNumbers", "sources": ["DIRECTORY_SOURCE_TYPE_DOMAIN_PROFILE"], "pageSize": 100}' \
  --format json
```

### 2. Prepare the spreadsheet

Find an existing sheet or create headers in a new one:

```bash
gws sheets +append --spreadsheet SHEET_ID --range 'Contacts' \
  --values '["Name", "Email", "Phone"]'
```

### 3. Append each contact

For each contact from the directory response:

```bash
gws sheets +append --spreadsheet SHEET_ID --range 'Contacts' \
  --values '["DISPLAY_NAME", "EMAIL", "PHONE"]'
```

### 4. Report results

Tell the user how many contacts were exported and provide the spreadsheet link.

## Tips

- Use `--page-all` on the contacts list if there are more than 100 contacts
- The `readMask` controls which fields are returned — add `organizations`, `titles`, etc. as needed
- For personal contacts (not directory), use `people connections list` instead

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.