Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add pekral/cursor-rules --skill slack-messaginggit clone --depth 1 https://github.com/pekral/cursor-rulesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pekral/cursor-rules/slack-messaging)<a href="https://agentmods.dev/skills/pekral/cursor-rules/slack-messaging"><img src="https://agentmods.dev/badge/skills/pekral/cursor-rules/slack-messaging/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pekral/cursor-rules/slack-messaging"><img src="https://agentmods.dev/badge/skills/pekral/cursor-rules/slack-messaging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00028 | $0.01438 |
| Opus 5.5 | $0.00011 | $0.00575 |
| Sonnet 5.5 | $0.00006 | $0.00288 |
| Haiku 4.5 | $0.00003 | $0.00144 |
Grade C, and why
slack-messaging scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
- No silent download-and-execute (`curl … | sh`). Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- TLS is never disabled — no `curl -k`, no `--insecure`, no `verify=false`. How it starts
The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Slack Messaging
Purpose
Send and read Slack messages programmatically via the Slack Web API. Two deterministic shell scripts backed by a shared helper library:
send.sh— post a message to a channel viachat.postMessageread.sh— fetch recent messages from a channel viaconversations.historyand emit them as stable JSON
Credentials are read exclusively from the SLACK_BOT_TOKEN environment
variable. The token is never written to a file, never appears in script output
or logs, and is never committed to the repository.
Constraints
- Token only from env var
SLACK_BOT_TOKEN. Never from a file, never echoed. - TLS is never disabled — no
curl -k, no--insecure, noverify=false. - No silent download-and-execute (
curl … | sh). - Errors on network/security operations are always surfaced — no
2>/dev/nullon calls whose result matters, no emptycatch. set -euo pipefailin every script.- Exit-code contract: 0 success; 1 usage/argument error; 2 missing
tool (
curl/jq) or missingSLACK_BOT_TOKEN; 3 API failure (HTTP non-2xx, network error, or Slackok:false).
Setup — co a kam vložit
1. Vytvoř Slack App
-
Přejdi na https://api.slack.com/apps a klikni Create New App → From scratch.
-
Vyber workspace a pojmenuj appku (např.
messaging-bot). -
V sekci OAuth & Permissions → Bot Token Scopes přidej scopy:
Scope Použití chat:writeodesílání zpráv ( send.sh)channels:historyčtení zpráv z veřejných kanálů ( read.sh)channels:readpřístup k metadatům veřejných kanálů groups:historyčtení zpráv z privátních kanálů ( read.sh) -
Klikni Install to Workspace a potvrď oprávnění.
-
Zkopíruj Bot User OAuth Token (začíná
xoxb-…) z OAuth & Permissions.
2. Bezpečné nastavení tokenu
Nastav token jako env var — NIKDY ho necommituj do repa, NIKDY ho nevkládej
do .env souboru sledovaného Gitem:
# shell profil (mimo repo) — ~/.zshrc nebo ~/.bash_profile
export SLACK_BOT_TOKEN=xoxb-...
# CI secret (GitHub Actions):
# Settings → Secrets → New repository secret → Name: SLACK_BOT_TOKEN
# V workflow: env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 153 lines · 28 tokens per session scan C b47f47621fca
slack-messaging is a skill published in the GitHub repository pekral/cursor-rules (11 stars, last pushed 19d ago), licensed MIT. It adds 28 tokens to every session and 1,438 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
Laravel Waitlist
Conventions and APIs for the offload-project/laravel-waitlist package — multiple waitlists, entry status tracking, optional email verification, lifecycle events, mailing list sync (Mailchimp/Kit/Audienceful), and bridge into laravel-invite-only.
caveman
Ultra-compressed communication mode. Cuts token usage 75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or…
create-powergrid-plugin
Create a complete PowerGrid plugin from scratch, including PHP class, Column macro, Blade view, Alpine.js component, and registration.
laravel
Use when building or extending a Laravel 11/12 app — Eloquent models, migrations and relationships, routing with controllers and Form Requests, queues and background jobs, framework-native security (validation, mass-assignment, policies, signed URLs, rate limiting), and Pest/PHPUnit feature tests. NOT pure PHP…
owl-admin-devtools-generator
A development guide for Owl Admin, a Laravel-based administration system, covering its code generator, API templates, relationships, and visual pages.
owl-admin-amis-page
A reference skill for building Owl Admin pages with amis, a system for defining admin interfaces such as forms, tables, filters, and actions through schemas.