slackx

slackx is a skill for Claude Code, Codex from tomzx/agents. It costs 150 tokens per session (2,879 once invoked), scanned A, original, MIT.

A local command-line tool workflow for caching and reading Slack messages, threads, users, and channels in a database. A cache is a local copy that makes repeated access faster.

In plain words
What is it for?
Use it to fetch a thread from its URL, update cached replies, inspect channel history, and look up workspace information.
Why use it?
It avoids repeatedly fetching the same Slack conversations and gives other Slack workflows a shared local source of thread content.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to fetch a thread from its URL, update cached replies, inspect channel history, and look up workspace information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tomzx/agents/slackx
View source ↗ tomzx/agents
Install

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.

Any agent
npx skills add tomzx/agents --skill slackx
Clone the repo
git clone --depth 1 https://github.com/tomzx/agents

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for slackx

README.md
[![agentmods](https://agentmods.dev/badge/skills/tomzx/agents/slackx/github.svg)](https://agentmods.dev/skills/tomzx/agents/slackx)
Your own site
<a href="https://agentmods.dev/skills/tomzx/agents/slackx"><img src="https://agentmods.dev/badge/skills/tomzx/agents/slackx/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.

agentmods 80×15 button for slackx

Your own site · 80×15
<a href="https://agentmods.dev/skills/tomzx/agents/slackx"><img src="https://agentmods.dev/badge/skills/tomzx/agents/slackx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,879 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 54
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 56
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00150 $0.02879
Opus 5 $0.00075 $0.01439
Sonnet 5 $0.00030 $0.00576
Haiku 4.5 $0.00015 $0.00288

Measured 7d ago against content hash 13f0f5b08d8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

slackx scanned grade A with 0 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 7d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/slackx/SKILL.md · 322 lines

How it starts

The opening of the file, as written. The whole thing — 322 lines — stays where its author put it; the contents beside it link to each section on GitHub.

slackx Skill

slack-cached is a small Python CLI that caches Slack threads, channel messages, users, and channels to a local SQLite database. Given a Slack thread URL (or an explicit channel id and root timestamp), it fetches the thread via conversations.replies and stores every message. On subsequent runs it only fetches new replies (and detects edits) by passing oldest to the API based on the highest cached ts.

It is the single source of Slack thread content for every other Slack skill: slack-resolve-threads reads threads through slack-cached show, and the knowledge-base skills use it to cache and render conversations.


Prerequisites

Binary

Check whether the binary is on PATH; install from the source repo if not:

if ! command -v slack-cached &>/dev/null; then
  git clone https://github.com/TomzxCode/slackx /tmp/slackx
  uv tool install /tmp/slackx
fi

If uv tool install isn't desired, run it in place with uv run --project /tmp/slackx slack-cached .... Confirm it works: slack-cached --help.

Authentication

Credentials are loaded in this order:

  1. A .env file in the current working directory, if present. Source it before invoking slack-cached so the variables become real environment variables:
    if [[ -f .env ]]; then
      set -a
      source .env
      set +a
    fi
    
    The file uses KEY=VALUE lines (same keys as below). Existing environment variables always win over .env values, so explicit exports or CI secrets are never overridden.
  2. Environment variables: SLACK_TOKEN (and optional SLACK_COOKIE for xoxc/web-client tokens).
  3. A config file at $XDG_CONFIG_HOME/slack-cached/config (defaults to ~/.config/slack-cached/config). It uses a simple KEY=VALUE format:
    SLACK_TOKEN=xoxb-...
    SLACK_COOKIE=...
    SLACK_API_BASE_URL=https://slack.com/api
    

An xoxc- browser token also requires its matching xoxd- d cookie (SLACK_COOKIE); both values must come from the same browser session. Bot tokens (xoxb-) only need SLACK_TOKEN.

Read the full file on GitHub · 322 lines

Changes

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.

  1. 7d ago First seen · 322 lines · 150 tokens per session scan A 13f0f5b08d8f

Subscribe to this mod's changes

slackx is a skill published in the GitHub repository tomzx/agents (6 stars, last pushed yesterday), licensed MIT. It adds 150 tokens to every session and 2,879 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

Migrate

Intakes external content, classifies chunks against LifeOS taxonomy, commits with provenance. Sources: .md/.txt, stdin, LifeOS dirs, CLAUDE.md/Cursor/OpenAI Custom Instructions, Obsidian/Notion/Apple Notes exports. MigrateScan classifies → routing table. MigrateApprove with…

danielmiessler/LifeOS · 158 tokens

daily-briefing

Proactive daily briefing that fires on a recurring schedule, pulls recent memory and workspace context, composes a structured summary (action items, progress, radar, next steps), and delivers it to all active channels. Enable with a time like "set up my daily briefing at 9am". Disable, reschedule, or check status at…

vellum-ai/vellum-assistant · 75 tokens

company-brain

Your team's shared, AI-ready knowledge base — people, companies, meetings, SOPs, and decisions structured so Claude can answer questions on your team's behalf. Team-scope sibling to second-brain (which is personal-scope). Seven modes — capture (drop something into the right structured dir), compile (process into wiki…

coreyhaines31/makerskills · 322 tokens

calendar

Manage calendar events via CalDAV (Google/iCloud/Nextcloud) or local ICS files. View, create, and query events.

fuyuxiang/echo-agent · 29 tokens

email-assistant

Read, search, draft, and send emails via Himalaya CLI or Python IMAP/SMTP. Requires email account configuration.

fuyuxiang/echo-agent · 29 tokens