templates/skills/agent-job-dm/SKILL.md
Send a direct message to a user OR broadcast to all subscribed admins via their default channel (currently Telegram). Also looks up users when a specific person is named. Trigger when the user says "let me know when…", "DM me", "send X to <name>", "tell <name> that…", "notify the admins", "alert everyone", "broadcast this", "let the team know", "tell all admins", or asks "who are the users?", "list users".
npx skillsauth add stephengpope/thepopebot agent-job-dmInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Read the request and route to exactly one of these. Do NOT mix them.
Trigger phrases: "notify the admins", "alert everyone", "broadcast this", "let the team know", "tell all admins", "send to admins".
node skills/agent-job-dm/agent-job-dm.js send "<message>" --broadcast
DO NOT run list first. DO NOT look up any user ids. The --broadcast flag handles fan-out internally — it sends to every admin where subscribed_to_system_messages=true automatically. Calling list and then sending one-at-a-time is wrong and skips the subscription filter.
Trigger phrases: "DM me", "let me know when…", "tell me when…", "ping me", "send me".
node skills/agent-job-dm/agent-job-dm.js send "<message>"
No flags. The skill reads USER_ID from the environment (the originator) and sends to them. Don't look them up — USER_ID is already correct.
Trigger phrases: "tell Alice…", "send this to bob@…", "DM <name>", "message <person>".
node skills/agent-job-dm/agent-job-dm.js list
node skills/agent-job-dm/agent-job-dm.js send --user-id <id> "<message>"
list to get the directory.nickname, first_name, last_name, or email. If multiple match, ask which one.--user-id <id>.# List users (id, email, first/last name, nickname, role, available DM channels)
node skills/agent-job-dm/agent-job-dm.js list
<message> arg is sent verbatim. Don't rewrite it unless the requester asked you to.AGENT_JOB_TOKEN, APP_URL, and USER_ID are injected automatically — no setup required./profile/telegram. If a target user has no verified channel, the message still lands in their inbox.tools
Automate browser interactions, test web pages and work with Playwright tests.
development
Use to list or retrieve agent job secrets, API keys, and OAuth credentials (auto-refreshed). Trigger when the user mentions a secret/credential by name, or asks "what secrets are available", "get the X token", "fetch the Y API key", or when a previously-fetched credential stops working and needs to be re-fetched.
testing
Send a direct message to a user OR broadcast to all subscribed admins via their default channel (currently Telegram). Also looks up users when a specific person is named. Trigger when the user says "let me know when…", "DM me", "send X to <name>", "tell <name> that…", "notify the admins", "alert everyone", "broadcast this", "let the team know", "tell all admins", or asks "who are the users?", "list users".
testing
Use to spawn or check on long-running background agent jobs (each launches a new Docker agent container that opens a PR when done). Trigger when the user says "create a background job", "spawn an agent", "kick off a job", "run this in the background", "check job status", or asks "what's the status of job <id>".