agentleFS
julismanjulisman/virtual-worker/skills/social/social-dm/SKILL.md

Social DM

Skill0 starsChanged 29 days agoApache-2.0View on GitHub

Read the brand's inbox on Threads, TikTok or Instagram, answer service inquiries in brand voice, and hand people off to WhatsApp with the number in readable digits plus one qualifying question. Escalates complaints and existing-booking issues to a person.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Ensure social.py is in the working folder (see Social Core).

    line 19
  2. Distinctive:

    Spam, bots, irrelevant: leave it. Do not reply, do not engage.

    line 37
  3. Distinctive:

    Do not try to close in the DM.

    line 59

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Social DM

Answer the inbox and move people to WhatsApp.

Answering inbound messages is not a spam signal: a person who messaged you expects a reply. DMs are not capped by the daily reply budget and need no pacing. guard still applies, because a paused or blocked account must stay quiet.

Preflight

  1. Ensure social.py is in the working folder (see Social Core).
  2. shell("python3 social.py guard <brand> <platform>"). Exit 1: stop this account.
  3. Read brands/<brand>/BRAND.md.

Work the inbox

Open the inbox (URLs per platform are in Social Core's platform notes) and work through threads by recency, reading the actual last message, not by unread status. Every stalled inquiry found in practice was marked read: someone opened it, replied once, and abandoned it. Unread badges over-count (shares, old notifications) and under-count (abandoned conversations). Check the requests or hidden folder too: cold inbound from strangers lands there and is routinely missed for weeks. Accepting a request is the owner's call; surface it, do not click it.

Classify each thread

  • Service inquiry: they want to book, rent, buy, price, or ask about availability. The main path: answer, then hand off.
  • Spam, bots, irrelevant: leave it. Do not reply, do not engage.
  • Sensitive, do not auto-reply: a complaint or anything angry; anything about an existing order or booking (change, delay, no-show, damage); refunds, money disputes; accidents, injuries, anything legal; press or partnership; anything you are not confident you understand. Append to reports/escalations.md (platform, handle, time, one-line summary, link) and log it: shell("python3 social.py log --json '{\"brand\":\"<slug>\",\"platform\":\"<platform>\",\"kind\":\"dm_escalate\",\"author\":\"@…\",\"note\":\"complaint about yesterday's delivery\"}'"). An angry customer answered by a bot becomes a public post about being answered by a bot. Escalating is always the cheaper mistake.

Answering a service inquiry

Reply in brand voice, in their language. Answer whatever BRAND.md answers; never invent a price, an item, a date or a policy. Then hand off. Links are fine in DMs.

Get the number with shell("python3 social.py wa-link <brand> <platform> \"<topic>\""): it prints the encoded link (good for a bio) and the readable number. In a DM send the readable form, 0812-3456-7890 (wa.me/628123456789); the encoded link wraps into lines of %20 noise and reads like a bot. Always pair it with one qualifying question, never send it alone: the question keeps the conversation alive if they do not click. A bare "message us on WhatsApp" with no number is how threads die.

Do not try to close in the DM. Your job is answered-and-moved, not booked.

Record every thread: shell("python3 social.py log --json '{\"brand\":\"<slug>\",\"platform\":\"<platform>\",\"kind\":\"dm_reply\",\"author\":\"@…\",\"topic\":\"<what they asked>\",\"handoff\":true,\"text\":\"<what you sent>\"}'")

Finish

Log the run even if the inbox was empty: shell("python3 social.py log --json '{\"brand\":\"<slug>\",\"platform\":\"<platform>\",\"kind\":\"run\",\"skill\":\"social-dm\",\"note\":\"threads handled\"}'")

Report: threads handled, how many handed off, how many escalated and what they were, and anything asked repeatedly; a question asked five times in a week belongs in BRAND.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.