slack-setup

Extract Slack session tokens and cookies via Chrome remote debugging.

1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/al-stev/field-eng-skills --skill slack-setup-al-stev
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: slack-setup
Source: https://github.com/al-stev/field-eng-skills/tree/main/.claude/skills/slack-setup
Command: npx skills add https://github.com/al-stev/field-eng-skills --skill slack-setup-al-stev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, node, and includes scripts (resource) components.

What problem does it solve?

Provides a reliable way to extract the Slack session token (xoxc-) and companion d cookie required for authenticated API access when enterprise Slack apps are restricted, removing the manual, error-prone process of locating these values in the browser.

Core Features & Use Cases

  • Automated Extraction: Uses a Chrome remote debugging instance to programmatically pull the session token and cookie and save them to a local environment file.
  • Manual Fallback: Documents step-by-step DevTools methods to find the token and cookie when automation is unavailable.
  • Verification & Renewal: Includes verification commands to confirm auth and guidance to refresh tokens when they expire.
  • Use Case: Set up Slack credentials once so an assistant can search message history, post messages, and perform read-only Slack queries for customer support workflows.

Quick Start

Start the Chrome debug instance and run the credential refresh script to capture and save SLACK_TOKEN and SLACK_COOKIE into your local ~/.fe-skills/.env and verify access.

Frequently Asked Questions about slack-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract a Slack session token and d cookie for authenticated API access?▼

You can extract a Slack session token and the companion d cookie using a Chrome remote debugging instance for automated extraction, or manually through browser DevTools as a fallback. Both methods require an active signed-in Slack browser session to capture the xoxc- token and d cookie.

What do I need to run the automated Slack token extraction script?▼

Automated Slack token extraction requires the jq and node command-line tools, along with access to a Chrome remote debugging instance. You must also have an active, signed-in Slack session in the browser to programmatically pull the session credentials.

Can I get Slack credentials manually if Chrome debugging is unavailable?▼

Yes, you can manually extract Slack credentials using browser DevTools. The skill documents step-by-step DevTools methods to locate the xoxc- session token and companion d cookie in network requests when the automated Chrome remote debugging approach is not available.

Why do I need to extract the Slack xoxc- token instead of using a standard API key?▼

Extracting the Slack xoxc- token is necessary when enterprise Slack apps are restricted. This session token and companion d cookie provide an alternative authenticated API access method, allowing you to read message history, search messages, and post updates.

How do I verify and renew expired Slack session tokens?▼

You can verify Slack session tokens using included verification commands to confirm authentication status after extraction. When tokens expire, the skill provides guidance to refresh and renew them by re-running the credential capture script to update the local environment file.

Does Slack session token extraction work for enterprise Slack workspaces?▼

Yes, this Slack session token extraction process applies specifically to enterprise Slack workspaces where standard API apps are restricted. It captures the xoxc- token and d cookie from your signed-in browser session to enable authenticated read, search, and post message workflows.