Skip to content
Skillpedia
Email & messaging33k · #8705

curviate-inbox

What it does

This skill lets your AI agent read and reply to LinkedIn messages using the Curviate command line tool. It is for people who handle LinkedIn conversations and want them organized.

When to use it

  • ✓When you want to check your LinkedIn inbox for new messages.
  • ✓When you want to send a reply or a new message to a LinkedIn contact.
  • ✓When you need to mark conversations as read or search older messages.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/curviate/curviate-inbox/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Show me my unread LinkedIn messages and draft replies for the important ones.”

5 new skills a week. 1 minute to read.

How it works

The agent uses the Curviate CLI to list and read conversations. Before sending anything, it previews the recipient, text and account, so a message is less likely to go out from the wrong person.

Technical content (original SKILL.md)

Original text by the author, straight from 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.
  • --preview before every send. It renders the resolved request (recipient, text, acting account) without sending. On a read command it is refused with exit 2.
  • --json on anything you parse; --fields a,b,c to project (a message carries 22 fields); --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.

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_only with --max-age is a usage error, exit 2, raised before any network call. cache_only never reaches LinkedIn at any age, so a freshness threshold cannot change its answer. Drop --max-age, or use --mode refill.
  • cache_only on a store miss is exit 14 (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 with refill, auto or live.
  • inbox messages: one bare --mode live page restarts the chat walk and leaves it unservable by cache_only afterwards. A listing is served from the store only over a closed walk. inbox messages --all walks to cursor: null and closes it. When you need a chat to be cache_only-servable later, reach for --all rather than a single live page.
  • Every other command refuses the flags outright rather than ignoring them: unknown flag --mode, exit 2.

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
FAQ

Does the agent check before sending?

Yes, it previews each send, so you can check the recipient and text first.

Can it reply as a company page?

Yes, the skill covers replies from company-page inboxes.

Can it send InMail?

Yes, the skill includes sending InMail messages.

Details

Original description by the author

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.

repo: davila7/claude-code-templates

Popularity

GitHub stars
33k
Ranking position
#8705
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills