
sentworth
com.sentworth/sentworth
Schedule posts to your social accounts from an assistant: X, Instagram, TikTok, LinkedIn and more.
Documentation
Sentworth for assistants and programs
Sentworth schedules posts to the social accounts you connected: X, Instagram, TikTok, Facebook, Threads, YouTube, LinkedIn and Bluesky. This repository has what lets an assistant or a program hand posts to it:
npx sentworth, a small command-line tool (this package on npm);skills/sentworth/SKILL.md, a skill that teaches an assistant the tool and each network's rules;- the Claude Code plugin and its marketplace file, a Cursor
mcp.jsonand the Codex line, for the assistant addresshttps://sentworth.com/mcp.
Nothing here connects accounts, approves posts or touches billing: you do that in Sentworth.

The command line
You need a key. In Sentworth, open Assistants and programs, choose Skill and command line, and press Make a key. Then run the tool once and paste it:
npx sentworth
It checks the key, saves it to ~/.config/sentworth/config.json (readable by you only) and copies the skill into Hermes (~/.hermes/skills) and OpenClaw (~/.openclaw/skills) when they are installed. npx sentworth setup --key <key> does the same without asking. Run it again with a key already saved and it says whether that key still works; paste a new one to replace it, or press Return to keep it. SENTWORTH_KEY or --key override the saved key.
npx sentworth accounts
SENTWORTH_URL or --url changes the address (default https://sentworth.com). The key goes with every call, so the address must be https; only localhost and 127.0.0.1 may use http, and anything else is refused before a call is made (exit 2). Node 22 or newer: an older Node gets one line saying so.
# Who can I post to, and when are my usual times?
npx sentworth accounts
# A two-part thread to two accounts, at 9:30 in your time zone
npx sentworth post --part "We shipped the new editor." --part "Here is what changed:" \
--account @sentworth --network bluesky --at 2026-11-20T09:30
# One post with a picture (a file path, an https address or a media id), at your next usual time
npx sentworth post --text "New screenshots" --picture ./shot.png --network x --next-usual-time
# A draft, to look at in Sentworth first
npx sentworth post --text "Not yet" --network linkedin --draft
# What happened to it
npx sentworth get <id>
npx sentworth list --state did_not_arrive --network x
npx sentworth rules instagram
npx sentworth upload ./clip.mp4 # png, jpg, gif, webp, mp4 or mov
npx sentworth upload # the drop page: anyone with its link can add files, so keep it private
npx sentworth cancel <id>
# How did my posts do: views, likes and comments of the last 30 days
npx sentworth results
npx sentworth results --network youtube --limit 20
# A YouTube video only people with the link can watch
npx sentworth post --text "Preview for the team" --picture ./clip.mp4 --network youtube --youtube-privacy unlisted --now
Say where it goes with --account (an id or a name), --network or --group, and when with exactly one of --at <time>, --next-usual-time, --now or --draft. With none, or more than one, the tool refuses and sends nothing.
Retrying. Every post carries a reference. Give --reference <text> and run the same command again after a failure: one post is made, not two, and the second answer says "Already handed in". With no --reference a fresh one is made and printed, so you can reuse it.
Sent, not confirmed. When a network didn't confirm that a post arrived, the tool says so and adds "Don’t hand it over again": it may already be live. Check the network before you retry it.
When a network would refuse a post, the tool prints every reason (each problem's line) and exits 1, so the post can be fixed. Wrong input (a network, tab, state or id that does not exist, a number out of range, an empty or unsupported file, a picture over 50 MB, an unknown command, an address that is not https) is checked on your computer before any call: one plain line and exit 2. Times print as the clock in your own time zone, such as Sat 20 Mar 2027, 10:00 (Tbilisi time). If Sentworth says "slow down" and asks for 5 seconds or less, the tool waits and tries once more by itself.
--json prints JSON for a program: the answer on success and, when a call fails, Sentworth's error body on stdout (times stay as exact instants). Exit codes: 0 done, 1 refused, 2 wrong arguments, 3 key not accepted, 4 slow down, 5 could not reach Sentworth, 6 a post is "Sent, not confirmed".
The calls are typed from openapi.json, the same document Sentworth serves at https://sentworth.com/openapi.json.
Assistants
Assistants that sign in (Claude Code, Cursor, Codex) need no key: you press Allow once in Sentworth.
Claude Code
/plugin marketplace add sentworth/sentworth
/plugin install sentworth@sentworth
The plugin brings the skill and the connector to https://sentworth.com/mcp. Run /mcp, choose sentworth and sign in. Or only the connector: claude mcp add --transport http sentworth https://sentworth.com/mcp.
To use only the skill and a key (no connector), copy skills/sentworth to ~/.claude/skills/sentworth and run npx sentworth once to save the key.
Cursor
Put mcp.json in your project as .cursor/mcp.json, or merge its sentworth entry into ~/.cursor/mcp.json, then sign in when Cursor asks:
{ "mcpServers": { "sentworth": { "url": "https://sentworth.com/mcp" } } }
Codex
codex mcp add sentworth --url https://sentworth.com/mcp
codex mcp login sentworth
Developing
pnpm install
pnpm generate # types from openapi.json, and skills/sentworth/SKILL.md
pnpm check-types && pnpm test && pnpm build
SKILL.md is generated: the rules come from Sentworth's instructions to assistants and each network's rules, copied into data/. Edit scripts/skill-template.md or refresh data/ and openapi.json from Sentworth, then run pnpm generate. pnpm check-skill fails when it is out of date.
Releasing: bump version in package.json and .claude-plugin/plugin.json, tag vX.Y.Z and push the tag. The publish job runs npm publish --provenance through npm's trusted publishing, with no token. The first version was published by hand.
MIT licensed.
No installation packages available.