跳到正文
Skillpedia
社交媒体33k · #8704

curviate-engage

它能做什么

这个技能让你的 AI 智能体通过 Curviate 命令行工具处理 LinkedIn 帖子、评论和反应。适合管理 LinkedIn 动态并希望谨慎操作的人。

适用场景

  • ✓当你想从已连接的账号撰写并发布 LinkedIn 帖子时。
  • ✓当你想在 LinkedIn 上回复评论或对帖子做出反应时。
  • ✓当你想阅读 LinkedIn 首页动态或通知时。

技能链接

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/curviate/curviate-engage/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/curviate/curviate-engage/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把这条公告发布到我的 LinkedIn 上,发布前先给我预览。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体使用 Curviate CLI 发送每个操作。在任何公开写入之前,它会先预览请求,让你检查账号和内容;并通过退出代码判断操作是否成功。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Curviate: posts, comments, reactions, feed

Engagement is the cheapest way to be visible, and every write here is public and attributable. Two vocabularies and three identifier forms cause most failures; both are below.

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 posts, comments or reacts. Name it explicitly on every write: a comment from the wrong account is public and permanent.
  • --preview before every write. It renders the resolved request without sending. On a read command it is refused with exit 2.
  • --json on anything you parse; --fields a,b,c to project; --verbose when 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.
  • These are not retrieval-mode commands: --mode/--max-age are refused here with unknown flag, exit 2 (see curviate-profile for the four commands that do accept them).

Text input

Post and comment 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:

cat <<'EOF' | curviate post create - --preview
Line one.

Line two.
EOF

Identifiers

A post id comes in three forms and the commands are not uniformly forgiving:

  • The numeric activity id (7459869580333576193) is the canonical form.
  • urn:li:activity:<N> works.
  • A full share URL is accepted and the id extracted from it. If a command ever rejects one, extract it yourself: POST_ID=$(echo "<share_url>" | grep -oP 'activity[-/]\K\d+').
  • Some builds have rejected the bare numeric id at write time on post react, comment add and comment list while --preview on the same command rendered fine. If you hit that, pass the base64 id from whatever post get, post create or list response you already hold: no extra fetch needed.

In every comment command, <post_id> is the original post's id, never the comment's. <comment_id> comes from comment list <post_id> as items[].id.

post get answers with social_id (a URN); the numeric id you passed is not echoed back.

post

Command What it does Confidence
curviate post get <post_id> One post. Adds is_repost, reposted_by, user_reacted and a richer author (headline, slug) over what a list carries. proven
curviate post create "<text>" Publish a post. --attach is repeatable for images and takes jpg, png, gif, mp4 or pdf; a single PDF produces a document post. proven
curviate post react <post_id> <reaction> React to a post. --as-organization <id> reacts as a company page you administer. Duplicate reactions succeed silently. proven
curviate post unreact <post_id> <reaction> Remove your reaction. proven
curviate post reactions <post_id> Reactions on a post: {value, author: {id, type, name, headline, profile_url, profile_picture_url, network_distance?}}. Page default 20, maximum 50. No timestamp exists. proven
curviate post delete <post_id> Delete a post you own. proven
curviate post save <post_id> Save to your private bookmark list. Never notifies the author, never visible to anyone else. Idempotent. proven
curviate post unsave <post_id> Remove from the bookmark list. Idempotent. proven
curviate post saved Your saved posts, newest first. Each item is a preview with the snippet capped at 140 characters. proven
curviate post user-posts <id|me> A member's own posts. Same data as profile <id> --posts. proven
curviate post user-reactions <id|me> A member's own reactions. Same data as profile <id> --reactions. proven

Reaction vocabularies: write is not read

Write (post react, comment react, lowercase) Read (value, user_reacted)
like LIKE (confirmed p
常见问题

为什么要在发布前预览?

帖子和评论是公开的,且很难撤回,因此预览让你可以先检查。

智能体如何选择账号?

每次写入时它都会指明已连接的 LinkedIn 账号,确保是正确的人在发布。

运行它需要什么?

需要一个 Curviate API 密钥和一个已连接的 LinkedIn 账号。

详情

作者的原始描述

Create and engage with LinkedIn content using the Curviate CLI. Covers `post` (get, create, react, unreact, reactions, delete, save, saved, unsave, user-posts, user-reactions), `comment` (list, add, reply, edit, delete, replies, react, unreact, reactions, user), `feed home` and `notification`. Carries the write-versus-read reaction vocabularies, post-identifier forms, and the pagination trap on reaction lists. Use when posting, commenting, reacting, reading the home feed, or working through notifications.

repo: davila7/claude-code-templates

热度

GitHub 星标
33k
排名
#8704
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能