Token导航 LogoToken导航

Agent Skill · 研究检索

contacts(contacts 搜索)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

contacts 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 68,654。

总安装 225周安装 9GitHub Stars 4下载 73核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:contacts(contacts 搜索)
来源仓库:https://github.com/arlenagreer/claude_configuration_docs
仓库路径:skills/contacts
安装命令:
npx skills add https://github.com/arlenagreer/claude_configuration_docs --skill contacts
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/arlenagreer/claude_configuration_docs --skill contacts

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于 Google 联系人信息的增删改查与批量管理操作。支持按姓名、邮箱等字段搜索,并可读取完整联系字段信息。基于 Ruby 脚本实现,共享认证机制,便于与其他 Google 服务集成。安装方式:通过 npx skills add 命令从指定 GitHub 仓库添加。

使用前需确认 API 配额与敏感信息处理策略,避免泄露隐私数据。

来源仓库内路径:skills/contacts

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/arlenagreer/claude_configuration_docs --skill…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

contacts 怎么安装?

在终端执行 npx skills add https://github.com/arlenagreer/claude_configuration_docs --skill contacts。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

contacts 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

contacts 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

contacts 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

contacts 用的人多吗?

公开数据是累计安装 225 次,近一周安装 9 次,下载 73 次,GitHub 4 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

contacts 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
contacts

contacts 搜索 · 本页

2254接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Google Contacts Management Skill

Overview

Provide comprehensive Google Contacts management capabilities through Ruby-based scripts with shared authentication. Enable full CRUD operations (Create, Read, Update, Delete) on Google Contacts with support for all standard contact fields.

When to Use This Skill

Use this skill for ANY Google Contacts operations:

  • Search & Lookup: Find contacts by name, email, or other fields
  • View Details: Get complete contact information including all fields
  • Create Contacts: Add new contacts with any combination of fields
  • Update Contacts: Modify existing contact information
  • Delete Contacts: Remove contacts from Google Contacts
  • List & Browse: View all contacts with pagination support
  • Batch Operations: Manage multiple contacts efficiently

Authentication

This skill shares authentication with the calendar skill via ~/.claude/.google/token.json. Both skills use the same OAuth token with scopes:

  • https://www.googleapis.com/auth/calendar (Calendar access)
  • https://www.googleapis.com/auth/contacts (Contacts read/write access)

When either skill refreshes the token, both skills benefit from the updated authentication.

First-Time Setup

If not already configured:

  1. Ensure ~/.claude/.google/client_secret.json exists with OAuth credentials
  2. Run any contacts operation - the script will prompt for authorization
  3. The token will be stored and shared with calendar skill

Re-authorization for New Scope

Since the contacts scope has been updated from readonly to full access, you'll need to re-authorize once:

# Delete the existing token to force re-authorization
rm ~/.claude/.google/token.json

# Run any contacts operation to trigger OAuth flow
~/.claude/skills/contacts/scripts/contacts_manager.rb --list

Follow the authorization URL and enter the code when prompted.

Core Script: contacts_manager.rb

Location: scripts/contacts_manager.rb

Comprehensive Ruby script providing all Google Contacts operations through the People API v1.

Search Contacts

Find contacts by name or other search criteria:

# Search by name
contacts_manager.rb --search "John Smith"

# Search by partial name
contacts_manager.rb --search "John"

Returns JSON with matching contacts including all available fields.

Get Contact Details

Retrieve complete information for a specific contact:

# Get by resource name (from search results)
contacts_manager.rb --get "people/c1234567890"

Returns full contact details including names, emails, phones, addresses, birthdays, organizations, notes, and URLs.

List All Contacts

Browse contacts with pagination support:

# List first 100 contacts
contacts_manager.rb --list

# List with custom page size
contacts_manager.rb --list --page-size 50

# Get next page using token from previous response
contacts_manager.rb --list --page-token "NEXT_PAGE_TOKEN"

Returns array of contacts with next_page_token for pagination.

Create New Contact

Add a new contact with any combination of fields:

# Minimal contact (name and email)
contacts_manager.rb --create '{
  "name": {
    "given_name": "John",
    "family_name": "Doe",
    "display_name": "John Doe"
  },
  "emails": [
    {"value": "john@example.com", "type": "home"}
  ]
}'

# Complete contact with all fields
contacts_manager.rb --create '{
  "name": {
    "given_name": "Jane",
    "family_name": "Smith",
    "display_name": "Jane Smith"
  },
  "emails": [
    {"value": "jane@work.com", "type": "work"},
    {"value": "jane@personal.com", "type": "home"}
  ],
  "phones": [
    {"value": "555-1234", "type": "mobile"},
    {"value": "555-5678", "type": "work"}
  ],
  "organization": {
    "name": "Acme Corp",
    "title": "Senior Engineer"
  },
  "birthday": {
    "year": 1990,
    "month": 5,
    "day": 15
  },
  "addresses": [
    {
      "street": "123 Main St",
      "city": "Springfield",
      "state": "IL",
      "zip": "62701",
      "country": "US",
      "type": "home"
    }
  ],
  "notes": "Met at conference 2024"
}'

Update Existing Contact

Modify contact information using resource name:

# Update phone number
contacts_manager.rb --update "people/c1234567890" \
  --update-data '{"phones":[{"value":"555-9999","type":"mobile"}]}' \
  --update-mask "phoneNumbers"

# Update email addresses
contacts_manager.rb --update "people/c1234567890" \
  --update-data '{"emails":[{"value":"newemail@example.com","type":"work"}]}' \
  --update-mask "emailAddresses"

# Update multiple fields
contacts_manager.rb --update "people/c1234567890" \
  --update-data '{
    "phones":[{"value":"555-1111","type":"mobile"}],
    "organization":{"name":"New Company","title":"Director"}
  }' \
  --update-mask "phoneNumbers,organizations"

Update Mask Fields: Specify which fields to update (comma-separated):

  • names - Name fields
  • emailAddresses - Email addresses
  • phoneNumbers - Phone numbers
  • organizations - Organization/company info
  • birthdays - Birthday information
  • addresses - Physical addresses
  • biographies - Notes/biography

Delete Contact

Remove a contact permanently:

contacts_manager.rb --delete "people/c1234567890"

Warning: This permanently deletes the contact. There is no undo.

Contact Field Reference

See references/contact_fields.md for comprehensive documentation of all available contact fields and their data structures.

Common Fields

  • Names: given_name, family_name, display_name
  • Emails: value, type (home, work, other)
  • Phones: value, type (mobile, home, work, other)
  • Organizations: name, title
  • Birthdays: year, month, day
  • Addresses: street, city, state, zip, country, type
  • Notes: Free-form text for additional information
  • URLs: Website URLs with type classification

Workflow Patterns

Finding Contact Information

# 1. Search for contact
SEARCH_RESULT=$(contacts_manager.rb --search "John Smith")

# 2. Extract resource name from results
RESOURCE_NAME=$(echo $SEARCH_RESULT | jq -r '.contacts[0].resource_name')

# 3. Get full details
contacts_manager.rb --get "$RESOURCE_NAME"

Creating Contact from Name

When user provides just a name, create minimal contact:

contacts_manager.rb --create '{
  "name": {
    "given_name": "FirstName",
    "family_name": "LastName",
    "display_name": "FirstName LastName"
  }
}'

Then update with additional information as provided.

Bulk Updates

For updating multiple contacts, search first, then update each:

# Find all contacts at company
contacts_manager.rb --search "Acme Corp" > contacts.json

# Process each contact (example in shell)
cat contacts.json | jq -r '.contacts[].resource_name' | while read resource; do
  contacts_manager.rb --update "$resource" \
    --update-data '{"organization":{"name":"Acme Corporation"}}' \
    --update-mask "organizations"
done

Integration with Calendar Skill

Since both skills share authentication, they work seamlessly together:

# Use calendar skill to find meeting attendees
calendar_manager.rb --list-events

# Add attendee to contacts
contacts_manager.rb --create '{"name":{...}, "emails":[...]}'

# Update contact with meeting notes
contacts_manager.rb --update "people/c123" \
  --update-data '{"notes":"Met at Q1 planning meeting"}' \
  --update-mask "biographies"

Error Handling

The script returns JSON with status and error details:

{
  "status": "error",
  "code": "AUTH_ERROR|API_ERROR|INVALID_ARGS",
  "message": "Detailed error message"
}

Exit Codes:

  • 0 - Success
  • 1 - Operation failed
  • 2 - Authentication error
  • 3 - API error
  • 4 - Invalid arguments

Common Use Cases

Email Skill Integration

The contacts skill complements the email skill by providing contact lookup:

# Find contact email
EMAIL=$(contacts_manager.rb --search "Rob" | jq -r '.contacts[0].emails[0].value')

# Use with email skill
~/.claude/skills/email/SKILL.md "Send Rob a message about the project"

Contact Deduplication

# List all contacts
contacts_manager.rb --list > all_contacts.json

# Process to find duplicates (requires custom logic)
# Then delete duplicates
contacts_manager.rb --delete "people/c123"

Birthday Reminders

# Search contacts with birthdays
contacts_manager.rb --list | jq '.contacts[] | select(.birthday != null)'

# Add birthday to contact
contacts_manager.rb --update "people/c123" \
  --update-data '{"birthday":{"month":5,"day":15}}' \
  --update-mask "birthdays"

Best Practices

  1. Search Before Create: Always search to avoid duplicates
  2. Use Resource Names: Store resource names for quick access to frequently used contacts
  3. Minimal Creates: Create contacts with minimal info, update with details later
  4. Careful Deletes: Double-check before deleting - it's permanent
  5. Batch Operations: Use pagination for large contact lists
  6. Update Masks: Always specify update mask to avoid overwriting unintended fields
  7. Error Handling: Check JSON status field before processing results

Troubleshooting

Authentication Issues

# Re-authorize if token invalid
rm ~/.claude/.google/token.json
contacts_manager.rb --list

Scope Errors

If you see scope-related errors, ensure the token has the full contacts scope:

# Check current scopes
cat ~/.claude/.google/token.json | jq -r '.default' | jq -r '.scope'

# Should include: https://www.googleapis.com/auth/contacts

API Quota Limits

Google Contacts API has rate limits. If you hit quota:

  • Wait a few minutes before retrying
  • Reduce page size for list operations
  • Batch updates efficiently

Script Version

Current version: 1.0.0

Run contacts_manager.rb --version to check installed version.

平台分布

Codex

35.51%
按下载量换算26

Claude

30.7%
按下载量换算22

Cursor

18.18%
按下载量换算13

Gemini CLI

9.17%
按下载量换算7

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills