SlackHive stores configuration in aDocumentation Index
Fetch the complete documentation index at: https://slackhive.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
.env file in the install directory. slackhive init generates this file with safe defaults - you rarely need to edit it by hand.
Claude Authentication
Pick one option. If both are set, the API key wins.Option A: Anthropic API key
Best for teams, production, predictable billing.Option B: Claude Pro or Max subscription
Best for individual developers.- Run
claude loginon the host machine - Set
CLAUDE_BINto the path returned bywhich claude
| Platform | Source of truth | Refresh |
|---|---|---|
| macOS | Keychain → ~/.claude/.credentials.json | SlackHive auto-syncs from Keychain on 401 |
| Linux (GNOME) | secret-tool → ~/.claude/.credentials.json | Re-run claude login when it expires |
| Linux (headless) | ~/.claude/.credentials.json directly | Re-run claude login when it expires |
Dashboard Authentication
slackhive init sets these from the prompts - you don’t typically need to touch them:
| Variable | Purpose |
|---|---|
ADMIN_USERNAME | Superadmin login |
ADMIN_PASSWORD | Superadmin password |
AUTH_SECRET | Signs session cookies (rotating logs everyone out) |
ENV_SECRET_KEY | Encrypts the secret store (rotating breaks all stored secrets) |
AUTH_SECRET and ENV_SECRET_KEY are generated automatically on first install with openssl rand -hex 32. If you need to regenerate:
Platform
| Variable | Default | Purpose |
|---|---|---|
NODE_ENV | production | Affects log verbosity and error handling |
PORT | auto | Web server port (default 3001, auto-negotiates if taken) |
RUNNER_INTERNAL_PORT | auto | Runner port (default 3002, auto-negotiates) |
AGENTS_TMP_DIR | ~/.slackhive/agents | Where per-agent workspaces live |
DATABASE_TYPE | sqlite | Always sqlite on CLI installs |
ACTIVITY_DASHBOARD | unset | Set to 1 to enable the Activity Dashboard. When unset, the writer hooks short-circuit and no tasks/activities/tool calls are recorded. |
Where data lives
Everything is on disk under~/.slackhive/:
| Path | Contents |
|---|---|
~/.slackhive/data.db | SQLite database - agents, memories, skills, history, settings |
~/.slackhive/agents/<slug>/ | Per-agent workspace (CLAUDE.md, sessions, copies of assigned wiki folders) |
~/.slackhive/knowledge/<folderId>/wiki/ | Compiled wiki for one Knowledge Library folder (source of truth; copied to assigned agents) |
~/.slackhive/logs/runner.log | Runner log stream |
~/.slackhive/runner.lock | Singleton runner lock - JSON with pid, startedAt, mode |
~/.slackhive/slackhive.pid | Web server PID file |
~/.slackhive/ to preserve your full install.
The .slackhive-native marker
The install directory contains a .slackhive-native file. It tells the CLI this is a CLI-managed install - slackhive commands will target it from any directory.
Complete .env.example
Next steps
Slack App Setup
Create the Slack app for each agent.
MCP Servers
Use the encrypted env store to pass secrets to MCP tools.