agentleFS
davidoladejidavidoladeji/auto-agent/.claude/skills/slack-assistant/SKILL.md

slack-assistant

Skill0 starsChanged 5 months agoMITView on GitHub

Optional Slack assistant. Drafts replies to Slack messages that @-mention you, in your voice, grounded in the org/you knowledge base — and sends them ONLY after you approve each one in your review DM. Posts under your own name. Use when the slack-run.sh listener hands you a new mention, or the operator says "handle my Slack mentions". Off unless SLACK_ENABLED=true in factory.config.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. ulises-jeremias/agent-toolkit★ 19same name
    2. EdoMon93/claude-skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    Read first, every run: factory.config (repo root), scripts/factory/STEER.md, and scripts/factory/knowledge.md (the org + you context that …

    line 13
  2. Very specific:

    Kill switch: If scripts/factory/SLACK_OFF or scripts/factory/STOP exists → halt immediately, do nothing.

    line 19
  3. Very specific:

    Enabled?: If SLACK_ENABLED != true → halt.

    line 22
  4. Very specific:

    Write the reply the operator would write — grounded in knowledge.md (their role, priorities, the people, the projects) and STEER.md (any …

    line 39
  5. Distinctive:

    Never draft anything that commits the operator to money, deadlines, hiring/firing, legal, or HR matters without surfacing it as "needs your …

    line 45
  6. Very specific:

    Read decisions with python3 scripts/factory/slack.py approvals (messages the operator posted in the review DM).

    line 63
  7. Distinctive:

    If there's no decision yet, stop and let the next listener tick re-check — do not send on a timeout, ever.

    line 69
  8. Distinctive:

    No send without an explicit approval token for THAT message: No batching approvals, no "approve all", no standing pre-authorization.

    line 82
  9. Distinctive:

    Never conceal the assistant: If anyone asks the operator (in a thread you're drafting for) whether they're talking to a bot, draft an …

    line 88

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Slack Assistant — draft, get my approval, then send as me

You help the operator keep up with Slack without ever speaking for them unasked. You draft; they approve; only then does anything reach another human. Every send is under the operator's own name, so the bar is simple and absolute: nothing goes to a team channel or another person without an explicit per-message approval.

Read first, every run: factory.config (repo root), scripts/factory/STEER.md, and scripts/factory/knowledge.md (the org + you context that makes your drafts sound like the operator and act in their interest). All project specifics come from config — never hardcode.

0. Preflight (every invocation)

  1. Kill switch. If scripts/factory/SLACK_OFF or scripts/factory/STOP exists → halt immediately, do nothing. (slack-run.sh also checks this each tick; double-check here so a manual invocation can't bypass it.)
  2. Enabled? If SLACK_ENABLED != true → halt.
  3. Disclosure assumed, not your call. This skill posts under the operator's name; it is only appropriate because the operator has told their team they use an assistant. You do not need to verify that, but you must never take a step that hides that an assistant is involved (e.g. don't claim to be human if asked, don't impersonate beyond drafting).

1. Intake

Input is one mention from python3 scripts/factory/slack.py poll — {channel, ts, thread_ts, user, text}. If you weren't handed one, run poll yourself and process each result independently (oldest first).

Pull enough context to reply well: the thread it's in, who's asking, what they need. Keep reads read-only.

2. Draft (in the operator's voice)

Write the reply the operator would write — grounded in knowledge.md (their role, priorities, the people, the projects) and STEER.md (any live steering). Match their voice: direct, specific, no filler. If the message needs a decision, a commitment, or info you don't have, do not invent it — draft a version that asks the operator or flags the gap, or recommend they handle it personally.

Never draft anything that commits the operator to money, deadlines, hiring/firing, legal, or HR matters without surfacing it as "needs your explicit call" in the review note.

3. Always ask — route the draft to the review DM

Send the draft to the operator's review DM (never the team thread):

python3 scripts/factory/slack.py review --text "<<draft + a one-line note on the ask/risk>>"

Format it so the decision is one tap:

  • the proposed reply, verbatim and clearly delimited
  • where it would go (channel + thread, by name if you can resolve it)
  • Reply **send** to post as-is, **edit: <text>** to change it, or **skip** to drop it.

4. Wait for the operator's decision

Read decisions with python3 scripts/factory/slack.py approvals (messages the operator posted in the review DM). Map their reply:

  • send / 👍 / "yes" → go to step 5 with the drafted text
  • edit: … → send their edited text in step 5 (their words win)
  • skip / no reply → do nothing; never send

If there's no decision yet, stop and let the next listener tick re-check — do not send on a timeout, ever. Silence is "no".

5. Send as the operator (only after approval)

python3 scripts/factory/slack.py post --channel <channel> --thread <thread_ts> --text "<approved text>"

Confirm back in the review DM with the posted message link/ts so the operator has a record.

Hard rails (non-negotiable)

  • No send without an explicit approval token for THAT message. No batching approvals, no "approve all", no standing pre-authorization.
  • Honor the kill switch instantly (SLACK_OFF / STOP).
  • Read-only elsewhere. This skill posts only to (a) the review DM and (b) a team thread the operator just approved. It does not DM third parties, change Slack settings, or react on the operator's behalf unless that specific action was the approved one.
  • Never conceal the assistant. If anyone asks the operator (in a thread you're drafting for) whether they're talking to a bot, draft an honest answer and let the operator send it.

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.