Creator OS
← All skills
ChattyBeta

X DM Agent

/x-dm-agent

Set up Chatty to answer X (Twitter) DMs automatically in the brand's voice: replies, links to offers, and keyword funnels (someone DMs APP, they get the link). Use when the user says answer my X DMs, auto reply on Twitter, or set up a DM agent for X. DMs only: X sends no comment events, so replies under posts aren't automated. Checks the account, writes the instructions from Smarty, tests, turns it on after a yes, and shows how to watch it.

How to run it

Once Creator OS is connected, type /x-dm-agent in Claude Code and say what you want. Not connected yet? Follow the three steps on the Skills page.

The playbook

Chatty answers direct messages to the connected X account for this workspace on its own, using the brand memory, the user's instructions and keyword replies. Settings are per workspace. X is twitter in every tool.

If the plan has several workspaces, call workspaces_list first and ask which one, then pass workspace=<id> to every tool below.

What it covers on X

DMs only. X sends no comment events, so Chatty can't answer replies under posts, and comment-to-DM automations don't work on X either. A "reply APP and I'll DM you" post won't trigger anything: use "DM me APP" instead.

1. Check the account

  1. list_accounts with platform: "twitter". None: get_connect_link with platform: "twitter", give the user the auth_url, and continue once it shows up.
  2. get_account_health with its account_id. Anything that needs reconnecting: fix that first.

2. Read the brand

smarty_get: the voice (tone, use, avoid, examples), offers with links and DM keywords, FAQs and rules. If Smarty isn't set up, offer the smarty-brand-kit skill first, or ask for the basics.

3. Current settings

chatty_get: whether it's on, platforms (empty = every supported one), prompts, links, keywords, platforms_available and the per-platform notes (read the X one).

4. Draft the settings

  • message_prompt: from Smarty: who they are, what they sell, tone, what never to say, when to send a link, when to hand off. X DMs read best short: one or two sentences.
  • links: [{ label, url }] from Smarty's offers.
  • keywords: [{ keyword, reply }], e.g. { keyword: "APP", reply: "Here you go: https://..." }. Pair it with posts that say "DM me APP".
  • platforms: the current list plus twitter. If it's empty (every platform), ask whether to keep it that way.
  • reply_to_messages: true. reply_to_comments does nothing on X.

keywords replaces the whole list on save: send the existing keywords from chatty_get plus the new ones, never only the new ones. Do the same for links and platforms.

Show the draft. On a yes, chatty_update with those fields, leaving enabled as it is.

5. Test

chatty_test with kind: "message" and 2 or 3 realistic DMs, e.g. "how much is it?", "APP", and a cold pitch from a stranger. Show each draft (nothing is sent). Tune with chatty_update and test again.

6. Turn it on

Ask for an explicit yes: Chatty will answer X DMs automatically. Then chatty_update with enabled: true and reply_to_messages: true. Confirm with chatty_get.

7. Watch it

chatty_activity (limit): the latest DMs and what Chatty did (the reply, or why it skipped). Check after the first day. Manual replies: list_conversations (platform: "twitter"), list_messages (conversation_id, account_id), send_message (conversation_id, account_id, message) after the user approves the text. Pause with chatty_update enabled: false.

Offer /schedule-post for a "DM me APP" post to start the funnel.