技能标识:Clay
Search, manage, and organize your contact network via the Clay CLI.
使用 clay 从命令行搜索、创建、更新和管理您的个人联系人网络。
登录(打开浏览器进行 OAuth 认证):
bash
clay login
检查身份验证状态:
bash
clay status
退出登录:
bash
clay logout
凭据存储在 ~/.config/clay.json 中。
所有数据命令均支持 --format 参数来控制输出格式:
bash
clay contacts:search --name Alice --format csv
clay emails:recent --format tsv
通过 ID 获取联系人:
bash
clay contact --contact-id 12345
搜索联系人:
bash
clay contacts:search --name Jane Smith
clay contacts:search --work-history-company Acme --work-history-active true
clay contacts:search --education-history-school MIT
clay contacts:search --location-latitude 37.7749 --location-longitude -122.4194 --location-distance 50
clay contacts:search --last-email-date-gte 2025-01-01 --sort-field lastemaildate --sort-direction desc
clay contacts:search --group-ids starred --limit 10
clay contacts:search --keywords investor --include-fields name,email,title
创建联系人:
bash
clay contacts:create --first-name Jane --last-name Doe --email jane@example.com
clay contacts:create --first-name Bob --title CEO --organization Acme Inc --birthday 1990-05-15
更新联系人:
bash
clay contacts:update --contact-id 12345 --title CTO --organization NewCo
clay contacts:update --contact-id 12345 --email new@example.com --phone +1234567890
归档/恢复联系人:
bash
clay contacts:archive --contact-ids 12345
clay contacts:restore --contact-ids 12345
合并重复联系人:
bash
clay contacts:merge --contact-ids 12345 --contact-ids 67890
列出指定日期范围内的备注:
bash
clay notes --start 2025-01-01 --end 2025-12-31
clay notes --contact-ids 12345
在联系人上创建备注:
bash
clay notes:create --contact-id 12345 --content 在会议上认识,对合作非常感兴趣。
clay notes:create --contact-id 12345 --content 下周跟进 --reminder-date 2026-03-01T09:00:00Z
备注内容支持联系人引用:[contact:123:John Doe]。
列出所有分组:
bash
clay groups
clay groups --limit 50
创建分组:
bash
clay groups:create --title 投资者
更新分组(重命名、添加/移除成员):
bash
clay groups:update --group-id 42 --title 天使投资者
clay groups:update --group-id 42 --add-contact-ids 12345 --add-contact-ids 67890
clay groups:update --group-id 42 --remove-contact-ids 11111
列出指定日期范围内的活动:
bash
clay events --start 2025-01-01 --end 2025-03-01
clay events --contact-ids 12345
列出即将到来的活动:
bash
clay events:upcoming
clay events:upcoming --limit 20 --page 2
列出指定日期范围内的邮件:
bash
clay emails --start 2025-01-01 --end 2025-02-01
clay emails --contact-ids 12345
列出最近的邮件:
bash
clay emails:recent
clay emails:recent --limit 25 --contact-ids 12345
列出最近的提醒:
bash
clay reminders:recent
clay reminders:recent --limit 5
列出即将到来的提醒:
bash
clay reminders:upcoming
clay reminders:upcoming --limit 20 --page 2
contacts:search 命令支持以下筛选条件:
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 clay-1776017832 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 clay-1776017832 技能
skillhub install clay-1776017832
文件大小: 2.36 KB | 发布时间: 2026-4-13 09:46