Przejdź do treści
Biblioteka skilli
Produktywność osobista · Integracja z narzędziem

setup-slack

/setup-slack

Podłącza osobistą tożsamość Slacka przez OAuth w przeglądarce, sprawdza przestrzeń i kanał, a potem przygotowuje podgląd jednego posta.

Repozytorium
ai-analyst ↗
Licencja
MIT
Ostatnia zmiana repozytorium
30.09.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 30.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Podłącza osobistą tożsamość Slacka przez OAuth w przeglądarce, sprawdza przestrzeń i kanał, a potem przygotowuje podgląd jednego posta.

Oryginalny opis (EN)

Connect a user's own AI Analyst Lab Slack identity through browser OAuth, store the personal user token locally, verify the workspace and target channel, and prepare one previewed Web API post. Use when the user asks to connect Slack, set up Slack, post to show-and-tell, or diagnose Slack.

Jak działa

  1. Purpose
  2. Course connection
  3. Instructions
  4. Rules
Sekcje z nagłówków SKILL.md, w oryginale · 96 linii, 443 słów
Podgląd SKILL.md
---
name: setup-slack
description: >-
  Connect a user's own AI Analyst Lab Slack identity through browser OAuth, store the personal user
  token locally, verify the workspace and target channel, and prepare one previewed Web API post.
  Use when the user asks to connect Slack, set up Slack, post to show-and-tell, or diagnose Slack.
---

# Setup Slack

## Purpose

Connect the user's own Slack account to the AI Analyst Lab workspace. Use Slack's browser OAuth
flow for authorization and the repository's direct Web API helper for verification and posting.
Do not configure or search for a Slack MCP server.

## Course connection

- Authorization page: `https://slack-auth.shane-aea.workers.dev`
- Expected workspace: `AI Analyst Lab`
- Expected workspace id: `T0ACPJ21WRG`
- Expected public channel: `show-and-tell`
- Expected channel id: `C0ACN1QM0RL`
- Personal token environment variable: `SLACK_USER_TOKEN`

## Instructions

### 1. Prepare the local environment file

Confirm `.env` is ignored by Git. Preserve every existing variable. Add these non-secret values and
an empty token line if they are not already present:

```dotenv
SLACK_USER_TOKEN=
SLACK_WORKSPACE_NAME=AI Analyst Lab
SLACK_WORKSPACE_ID=T0ACPJ21WRG
SLACK_CHANNEL_NAME=show-and-tell
SLACK_CHANNEL_ID=C0ACN1QM0RL
```

Do not ask the user to paste the token into chat. Do not read, echo, or print its value.

### 2. Open browser authorization

Open the authorization page in the user's default browser. Tell the user to confirm that Slack shows
the AI Analyst Lab workspace and asks for only these permissions:

- send messages as the user;
- view basic information about public channels.

Slack creates a personal token beginning with `xoxp-`. The user must copy it from the browser and
paste it directly after `SLACK_USER_TOKEN=` in `.env`, then save the file. The token must never go
into the conversation, a screenshot, a commit, or a saved report. Claude Code does not need to be
restarted.

### 3. Verify the account and workspace

Run:

```text
python scripts/slack_web_api.py verify
```

Show the non-secret workspace and user information. Stop if the workspace id is not
`T0ACPJ21WRG`.

### 4. Verify the destination

Run:

```text
python scripts/slack_web_api.py resolve --channel-name show-and-tell
```

Stop if the resolved channel id is not `C0ACN1QM0RL`.

### 5. Preview before any post

Write the proposed message to a temporary file under `working/`. Run the helper's `preview`
command and show the user the exact message, workspace, and destination. Do not post until the user
explicitly approves that preview.

### 6. Post once and retain the link

After approval, run:

```text
python scripts/slack_web_api.py post --message-file working/slack-message.txt --send
```

Return the response timestamp and permalink. Ask the user to open Slack and confirm that the message
appears once under their own name.

## Rules

1. Use the user's personal `xoxp-` token, never a shared bot token.
2. Never print, inspect, summarize, or transmit the token.
3. Verify the workspace before resolving or writing to a channel.
4. Verify the exact channel id before writing.
5. Preview the exact message and require approval before the write.
6. Never retry an uncertain write. Inspect Slack first.
7. Do not configure Slack MCP for this path.

Wersje

W bazie nie ma innych skilli o nazwie setup-slack.

Migawka bazy z 28.10.2026 · wersja paczki 105bf8e38fcb (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100slack-connect
    Konfiguruje Slack jako kanał powiadomień dla Egregore: tworzy aplikację, zaprasza bota i wiąże kanał.
  • 86slack-connect
    Podłącza Slacka jako kanał powiadomień dla Egregore: tworzy aplikację w workspace, zaprasza bota i przypisuje kanał.
  • 100slack
    Czyta, wysyła i wyszukuje w Slacku przez Web API oraz pomaga dokończyć konfigurację aplikacji.
  • 100slack-app-setup
    Łączy aplikację Slack z asystentem przez Socket Mode i prowadzi kreatorem przez tokeny oraz połączenie.
  • 100setting-up-support-slack-locally
    Łączy prawdziwy workspace Slack z lokalnym PostHog Conversations (aplikacja SupportHog), żeby wiadomości ze Slacka stawały się zgłoszeniami, a odpowiedzi wracały na Slack, z obsługą błędów OAuth i tunelu.
  • 95slack
    Emuluje lokalnie API Slacka do testowania integracji: kanały, wiadomości, użytkownicy, widoki, przepływy OAuth i przychodzące webhooki, bez korzystania z prawdziwego Slacka.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.