slack-personal
- Repo stars 4
- Author updated Live
- Author repo slack-personal
- Domain
- Engineering
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @000alen · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- macOS · Linux
- Runtime requirements
- Python >=3.11
- Permissions
-
- Read-only
- Write / modify
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: slack-personal
description: Access a personal Slack workspace via session tokens (no app install required). Use when asked t…
category: engineering
runtime: Python
---
# slack-personal output preview
## PART A: Task fit
- Use case: Access a personal Slack workspace via session tokens (no app install required). Use when asked to: search Slack messages across all channels/DMs, read channel history, list channels, check unread messages, export conversations, download files, or any task requiring personal Slack access without bot tokens or workspace admin approval..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “Setup / CLI: scripts/sg.py / Channel identifiers” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “Access a personal Slack workspace via session tokens (no app install required). Use when asked to: search Slack messages across all channels/DMs, read channel history, list channels, check unread messages, export conversations, download files, or any task requiring personal Slack access without bot tokens or workspace admin approval.”.
- **02** When the source has headings, the agent prioritizes “Setup / CLI: scripts/sg.py / Channel identifiers” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source mentions slash commands such as `/path`; use them first when your agent supports command triggers.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files.
Start with a small task and check whether the result follows “Setup / CLI: scripts/sg.py / Channel identifiers”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: slack-personal
description: Access a personal Slack workspace via session tokens (no app install required). Use when asked t…
category: engineering
source: 000alen/slack-personal
---
# slack-personal
## When to use
- Access a personal Slack workspace via session tokens (no app install required). Use when asked to: search Slack messag…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “Setup / CLI: scripts/sg.py / Channel identifiers” and keep inference separate from source facts.
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "slack-personal" {
input -> user goal + target files + boundaries + acceptance criteria
context -> Setup / CLI: scripts/sg.py / Channel identifiers
rules -> SKILL.md triggers / order / output contract
runtime -> Python | read files, write/modify files | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} slack-personal
Personal Slack workspace access via extracted session tokens (xoxc- + xoxd-). No Slack app creation or workspace admin approval needed.
Setup
One-time: bash scripts/setup.sh
Three auth methods:
- Auto-extract from Slack desktop app — default, zero interaction (macOS/Linux, app must be closed)
- Browser extraction (guided DevTools steps)
- Manual paste (if you already have tokens)
uv pins Python 3.11 automatically (needed for slacktokens LevelDB dep).
Credentials stored at ~/.config/slack-personal/credentials.json (mode 600).
CLI: scripts/sg.py
# Auth
sg auth # auto-extract from desktop app
sg auth --browser # browser extraction guide
sg auth --manual # paste tokens manually
# Browse
sg workspaces # list accessible workspaces
sg channels [--limit N] # list all channels with unread counts
sg info [channel-id] # channel details or self info
# Read
sg read <channel-id> [--limit 20] # read messages
sg search "query" [--sort timestamp] # search across everything
sg unread [--limit 30] # unread summary
# Files
sg files [--channel C] [--limit 20] # list shared files
sg download <file-url> [-o dir] # download a file
# Export
sg export <channel-id> [--since 7d] [-o file.md]
Channel identifiers
Use channel IDs (from sg channels). Format: C... (public), G... (private/group DM), D... (DM).
Safety
- Read-only — no send/post/delete commands
- Session tokens = full account access. Never expose credentials.json
- Uses unsupported auth method (session tokens, not OAuth). Works but not officially blessed by Slack
- Token valid ~1 year (d cookie TTL). Re-extract when expired
Rate limits
Built-in retry on 429. Tier 2 methods (search): 20/min. Tier 3 (history): 50/min.
Integration with OpenClaw
cd /path/to/slack-personal && uv run sg search "keyword" --limit 10
cd /path/to/slack-personal && uv run sg unread
Decide Fit First
Design Intent
How To Use It
Boundaries And Review