agentleFS
runxhqrunxhq/runx/skills/slack-notify/SKILL.md

slack-notify

Skill97 starsChanged 32 days agoApache-2.0View on GitHub

Plan a digest-bound Slack notification, then deliver the exact approved channel post through any compatible Slack binding with provider readback.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this for bounded notifications to a known workspace and channel.

    line 13
  2. Distinctive:

    Stop on plan, destination, content-digest, principal, or audience drift.

    line 69
  3. Distinctive:

    Stop when both human approval and standing notification authority are absent or denied.

    line 70
  4. Distinctive:

    Do not call a sealed plan “delivered” and do not manufacture provider readback in a fixture or agent answer.

    line 75

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “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 Notify

Send one deliberate Slack channel notification without exposing a Slack token to the skill or letting approved content drift before delivery. The skill separates safe message planning from the consequential provider mutation and requires Slack readback before it calls the notification delivered.

Use this for bounded notifications to a known workspace and channel. It is not a team inbox, a Slack history reader, or a customer-support workflow. Higher- level operator skills may prepare the message and destination, but this skill owns the final channel-post boundary.

Composes

<!-- Generated from the native execution closure; run pnpm core-skills:composes:generate. -->
  • send-as#plan
  • slack#read_thread

Runners

The default notify runner plans, requests approval only at the live post, delivers once, and requires independent readback. plan validates a channel name, channel id, or exact slack://workspace/channel destination, computes an inline message digest with Runx's native data.digest, and binds that digest, the named principal, and the send intent through the canonical send-as planning model. It does not post and needs no approval. Delivery still requires the exact connector locator.

plan_exact is for an operator that has already selected one exact Slack destination, principal, and text under its own policy. It reuses the same notification validation and native digest, then emits the same undelivered runx.notify.v1 plan without a second model judgment. Its send_plan.origin is slack-notify.exact, not a claim that send-as#plan ran. It does not authorize delivery: deliver still requires a matching native human approval or a configured standing notification authority and independent readback.

deliver accepts only that exact plan, the matching destination and message text, and a stable UUID idempotency key. Runx recomputes the digest and compares the complete delivery binding without echoing message content. It then:

  1. stops unless exact native human approval or a matching standing notification authority is present;
  2. resolves the configured provider binding for channel.post and the follow-up channel.post.read;
  3. asks the selected provider transport to execute that bounded mutation while its credential boundary retains custody; and
  4. reads the returned message locator back from Slack, compares the exact locator, destination, content digest, and occurrence time, then seals only those bounded evidence fields.

The binding may be local, self-hosted, third-party, or Runx-hosted. The skill never receives a Slack token, constructs a raw HTTP request, owns a tenant, or stores connector credentials in its inputs or receipts.

Inputs and result

Generic planning needs the principal, exact Slack locator, message text, purpose, and any audience constraints required by send-as. Exact planning needs only the fixed principal, locator, and content; the caller owns the prior selection. Delivery needs the resulting notify_plan, identical locator and text, and stable idempotency key.

A plan ends as not sent. A delivery is valid only when the sealed runx.provider.operation.v1 packet identifies the Slack operation and carries the provider-returned message locator, conversation locator, content digest, and occurrence time for the posted message. The follow-up channel-post readback must resolve that exact locator. Provider acceptance without those expected fields, the exact destination and content identity, and the stable-id readback is not enough.

Stop conditions

  • Stop on plan, destination, content-digest, principal, or audience drift.
  • Stop when both human approval and standing notification authority are absent or denied.
  • Refuse a missing, ambiguous, wrong-provider, or insufficient-scope Slack binding for either operation rather than falling back to a raw token.
  • Replays may reuse the same idempotency binding only for the exact same post; changed content must not inherit the old approval.
  • Do not call a sealed plan “delivered” and do not manufacture provider readback in a fixture or agent answer.

Example

An operator plans “release 2.4 is verified” for one internal channel. Approval binds that exact text and destination. If the text changes to include another claim, delivery refuses the digest mismatch. With a matching plan and one valid Slack binding, the provider operation posts and returns the Slack message id; the follow-up channel-post readback resolves that id, and those provider observations—not the local plan—prove delivery.

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.