Skip to content
Agentmart
Submit a tool

slk-auth

Manage Slack credentials

Skill by howar31

IndexedMIT★ 3
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/howar31-slk-auth

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Manage Slack credentials

Use cases: security, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/slk-auth

What's inside

Skill name
slk-auth
Description
Manage Slack credentials
License
MIT
Metadata
version: 0.8.1
Instructions
114 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# slk auth

Manage Slack credentials

> **PREREQUISITE:** Read `../slk-shared/SKILL.md` for auth, global flags, security rules, and exit codes. If missing, run `slk generate-skills`.

| Command | Description |
|---------|-------------|
| `slk auth login` | Run the OAuth flow with your own Slack app credentials |
| `slk auth logout` | Remove a profile |
| `slk auth revoke` | Revoke the active token at Slack (server-side) |
| `slk auth set-token` | Store a token for a profile |
| `slk auth status` | Show configured profiles |
| `slk auth switch` | Set the active profile |
| `slk auth test` | Verify the active token and show its live identity |

## slk auth login

Run the OAuth flow with your own Slack app credentials

**Slack API:** `oauth.v2.access`

```bash
slk auth login [flags]
```

| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| `--client-id` | — | — | your Slack app client ID |
| `--client-secret` | — | — | your Slack app client secret |
| `--non-interactive` | — | — | never prompt; require values via flags |
| `--port` | — | `3000` | local callback port |
| `--profile` | — | `default` | profile name |
| `--scopes` | — | — | comma-separated scopes to request (default: generated from supported commands for the chosen identity) |

**Tips:** Run the OAuth flow with your own Slack app credentials. Pass values via flags for scripts/agents, or run with missing fields in a terminal to be prompted (the client secret is entered hidden). Use --as bot to mint a bot token instead of a user token.

## slk auth logout

Remove a profile

```bash
slk auth logout <profile>
```

## slk auth revoke

Revoke the active token at Slack (server-side)

**Slack API:** `auth.revoke`

```bash
slk auth revoke
```

**Tips:** Revoke the active token at Slack. This invalidates the token server-side; it does not remove the local profile (use `auth logout` for that).

> [!CAUTION]
> Write command — confirm with the user before executing; preview with `--dry-run`.

## slk auth set-token

Store a token for a profile

```bash
slk auth set-token [flags]
```

| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| `--non-interactive` | — | — | never prompt; require values via flags |
| `--profile` | — | `default` | profile name |
| `--token` | — | — | token (xoxp- or xoxb-, or - to read stdin) |

**Tips:** Store a single token (user xoxp- or bot xoxb-) for a profile. Pass --token for scripts/agents (use --token - to read from stdin), or run in a terminal to be prompted (token entry is hidden). A profile holds exactly one token; its scope is derived from the prefix.

## slk auth status

Show configured profiles

**Slack API:** `auth.test`

```bash
slk auth status [flags]
```

| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| `--all` | — | — | verify every profile live, not just the active one |
| `--offline` | — | — | skip the live Slack check; list local info only |

**Tips:** Show configured profiles with a derived [user]/[bot] scope label. By default the active profile is verified live (auth.test); --all verifies every profile, --offline skips the network. --format json emits a structured object.

## slk auth switch

Set the active profile

```bash
slk auth switch <profile>
```

## slk auth test

Verify the active token and show its live identity

**Slack API:** `auth.test`

```bash
slk auth test
```

From howar31/slk, MIT.

Signals

Stars
3
Forks
1
Open issues
0
Last commit (this folder)
May 24, 2026 (5 months ago)
Last release
May 24, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
0.8.1
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from howar31

Cite this page

slk-auth skill. Agent Mart. https://agentmart.dev/skills/howar31-slk-auth (last updated 2026-10-24)