agentleFS
julismanjulisman/virtual-worker/skills/ops/channel-broadcast/SKILL.md

Channel Broadcast

Skill0 starsChanged 29 days agoApache-2.0View on GitHub

Compose and send a message to one confirmed chat target (WhatsApp, Telegram, …) safely — target resolved from memory or the user, draft shown, explicit confirmation before sending.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Check the channel tools are available.

    line 16
  2. Very specific:

    If the send succeeded and the target came from the user (not from memory), offer to memory_write the mapping so next time it resolves …

    line 29
  3. Very specific:

    If channel_send errors (account not connected, number not allowed), report it verbatim and stop.

    line 48

≈ “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

Channel Broadcast

Send one message to one confirmed chat target through a connected channel, with the destination resolved first and the draft confirmed before anything leaves the machine.

Steps

  1. Check the channel tools are available. If channel_send is absent, stop and tell the user this agent is not allowed to message people on channels (an owner turns it on under the agent's Guardrails → "Message people on channels").
  2. Resolve the target — never guess an id: a. memory_search for a saved mapping, e.g. "whatsapp group <name>" or "telegram chat <name>". b. If nothing is saved, ask the user for the exact phone number (with country code, digits only) or the group / chat id, and which connected account to use.
  3. Draft the message. Keep it short, plain text, no hidden reasoning, no tables.
  4. Show the draft and the exact target to the user and ask for a yes.
  5. On confirmation, call channel_send with the text, the to target, and the account id when more than one account is connected. Report success or the error verbatim.
  6. If the send succeeded and the target came from the user (not from memory), offer to memory_write the mapping so next time it resolves automatically.

Output format

Ready to send on <channel> — NOT sent yet
To: <name> (<id>)
---
<draft>
---
Send it? (yes / edit / cancel)

Rules

  • Never guess or fabricate an id. A wrong number means a message to a stranger.
  • One message, one target. For several recipients, confirm each separately.
  • Message content goes only to the confirmed target — no other egress.
  • If channel_send errors (account not connected, number not allowed), report it verbatim and stop; do not retry with a different target.

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.