curviate-inbox
它能做什么
这个技能让你的 AI 智能体通过 Curviate 命令行工具阅读和回复 LinkedIn 消息。适合处理 LinkedIn 对话并希望它们井井有条的人。
适用场景
- ✓当你想查看 LinkedIn 收件箱中的新消息时。
- ✓当你想向 LinkedIn 联系人发送回复或新消息时。
- ✓当你需要把对话标记为已读,或搜索较早的消息时。
技能链接
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/curviate/curviate-inbox/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请显示我未读的 LinkedIn 消息,并为重要的消息起草回复。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体使用 Curviate CLI 列出并阅读对话。在发送任何内容之前,它会先预览收件人、文本和账号,从而降低消息从错误的人发出的可能性。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Curviate: inbox and messaging
Messaging is the highest-consequence surface here: every send lands in a real person's inbox and cannot be unsent. Preview first, always.
Command surface established against CLI 0.33.0.
Before any command
npm install -g @curviate/cli && curviate --version # needs Node 18 or newer
curviate login --api-key <key> # or export CURVIATE_API_KEY
curviate account list --json # the acc_id for --account
- Credentials resolve flag > environment > stored profile (
CURVIATE_API_KEY,CURVIATE_BASE_URL,CURVIATE_ACCOUNT). --profile <name>picks the stored credential set;--account <acc_id>picks which connected LinkedIn account sends this message. On a multi-account tenant, getting this wrong sends from the wrong person. Name the account explicitly on every write.--previewbefore every send. It renders the resolved request (recipient, text, acting account) without sending. On a read command it is refused with exit2.--jsonon anything you parse;--fields a,b,cto project (a message carries 22 fields);--verbosewhen a slim response looks suspiciously empty.- Put global flags at the end of the command.
- Branch on the exit code, never on prose. See the table at the end.
Text input
Message text is a positional argument, and - reads stdin. Use a quoted heredoc: the quoted
delimiter disables every shell expansion, so apostrophes, accents, $ and backticks survive intact.
An unquoted heredoc has produced an empty message that went out blank.
cat <<'EOF' | curviate message send "<chat_id>" - --preview
Hi Thomas,
thanks for connecting. I saw the work you shared last week.
EOF
Retrieval mode: --mode and --max-age
Exactly four reads decide between a stored copy and a live LinkedIn call: profile me,
profile <id>, inbox get and inbox messages. Two of them are here.
--mode |
Behaviour |
|---|---|
auto (default) |
A stored copy while it is fresh, otherwise fetch. |
live |
Always fetch from LinkedIn. |
refill |
A stored copy at any age; fetch only when nothing is stored. |
cache_only |
Never fetch. A store miss is refused, not fetched. |
--max-age <seconds> (0 to 31536000) overrides those presets in both directions; --max-age 0 is
the same as --mode live. Every response carries source: store | live plus observed_at under
--json, and a provenance: line on stderr in human mode. Read source rather than assuming.
cache_onlywith--max-ageis a usage error, exit2, raised before any network call.cache_onlynever reaches LinkedIn at any age, so a freshness threshold cannot change its answer. Drop--max-age, or use--mode refill.cache_onlyon a store miss is exit14(NOT_STORED): the chat may exist perfectly well on LinkedIn, this API just holds no copy. It is not "not found" (4), so re-checking the chat id is the wrong move, and it is not retryable as sent. Re-read withrefill,autoorlive.inbox messages: one bare--mode livepage restarts the chat walk and leaves it unservable bycache_onlyafterwards. A listing is served from the store only over a closed walk.inbox messages --allwalks tocursor: nulland closes it. When you need a chat to becache_only-servable later, reach for--allrather than a single live page.- Every other command refuses the flags outright rather than ignoring them:
unknown flag --mode, exit2.
Reading: inbox
| Command | What it does | Confidence |
|---|---|---|
curviate inbox list |
Conversations, newest activity first, 20 by default. --unread / --no-unread filter by read state; --inbox <folder> selects primary (default), inmail, archived, spam, jobs or starred. |
proven |
curviate inbox get <chat_id> |
One chat's detail including last_message (full text and sender), the cheap triage read. Accepts --mode/--max-age. |
proven |
curviate inbox messages <chat_id> |
The messages in one chat. Full text per message; is_sender (0 or 1) says who sent each. --before/--after take ISO-8601 UTC with a Z suffix. Accepts --mode/--max-age. |
proven |
curviate inbox search "<query>" |
Free-text search of the account's own inbox: participant names and message content. | proven |
curviate inbox mark-read <chat_id> |
Mark a chat read. | pr |
常见问题
智能体在发送前会检查吗?
会。它会预览每次发送,让你先检查收件人和文本。
它可以以公司主页的身份回复吗?
可以。该技能涵盖从公司主页收件箱进行回复。
它可以发送 InMail 吗?
可以。该技能包括发送 InMail 消息。
详情
作者的原始描述
Read and send LinkedIn messages with the Curviate CLI. Covers `inbox` (list, get, messages, search, mark-read), `inboxes` (personal and company-page discovery), `message` (new, send, get, edit, delete, react, attachment, InMail), replying as a company page, retrieval mode (`--mode`/`--max-age`) on the two inbox reads, and `webhook` for delivery of message events. Use when triaging conversations, reading a thread, sending or replying to a DM or InMail, or wiring event delivery.
热度
- GitHub 星标
- 33k
- 排名
- #8705
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
owasp-security
33k教你的智能体掌握面向网页应用、API、移动端、容器和 AI 智能体的 OWASP 安全指南,以便发现常见弱点并提出修复建议。
agent-management
33k让你的智能体使用 AI Maestro 命令行工具创建、列出、休眠、唤醒、重命名和删除 AI 智能体,管理每个智能体的生命周期。
agent-messaging
33k让你的智能体使用智能体消息协议,在 AI 智能体之间发送、接收和回复带签名的消息,大部分在你自己的电脑上完成。
docs-search
33k让你的智能体搜索自动生成的代码文档,查找函数签名、类定义和注释,从而在修改代码之前核对真实的 API。