Bot Toolkit — DevOps skill for Claude Code
Reusable TypeScript core for building unattended Claude-powered chat agents: session storage, per-room workspaces, responder/adapter base classes, and shared bot infrastructure.
How to install Bot Toolkit
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open prime-radiant-inc/bot-toolkit and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Bot Toolkit does
Reusable TypeScript core for building unattended Claude-powered chat agents: session storage, per-room workspaces, responder/adapter base classes, and shared bot infrastructure.
Alternatives in DevOps
- Appwrite — Appwrite® - complete cloud infrastructure for your web, mobile and AI apps 57.5k ★
- Claude Code GitHub Actions — by Anthropic - Official GitHub Actions integration for Claude Code with examples and documentation for automat 6.4k ★
- Azure Storage Blob Python — Azure Blob Storage for Python 1.8k ★
README
@primeradianthq/bot-toolkit
Reusable TypeScript core for building unattended Claude-powered chat agents.
`@primeradianthq/bot-toolkit` provides shared bot infrastructure: session storage, Claude session management, per-room workspaces, wakeups, logging, config/secrets loading, responder base classes, adapter base classes, attention tracking, task tracking, and native chat route primitives.
It does not bundle concrete Slack/Bolt or email transport adapters. Applications own their platform adapters and compose them with `BaseAdapter`, `BaseResponder`, and the toolkit's shared types.
Install
npm install @primeradianthq/bot-toolkit
For local validation before npm publication:
TARBALL=$(npm pack --silent)
npm install "./$TARBALL"
Requirements and Configuration
This package requires Node.js 20 or newer.
`loadConfig()` reads these optional environment variables:
DATABASE_PATH: SQLite database path. Defaults to./data/infrastructure/sessions.db.DATA_DIRECTORY: persistent data root for room directories and related files. Defaults to the grandparent directory ofDATABASE_PATH.CONFIG_DIR: directory containinginstance.jsonandsecrets.json. Defaults to~/etc/sen.CLAUDE_PA_DIR: application root passed through to Claude session setup.TZ: runtime timezone. Defaults toAmerica/Los_Angeles.USE_AGENT_SDK: set tofalseto use CLI mode instead of Agent SDK mode.
Public Surface
import {
BaseAdapter,
BaseResponder,
ClaudeSessionManagerSDK,
ConversationOrchestrator,
Logger,
MessageSessionStore,
SessionDatabase,
getRoomDirectory,
type BaseAdapterConfig,
type IncomingMessage,
type MessageOrchestrator,
type Platform,
type PlatformResponder,
type SessionCallbacks,
type WakeupPayload,
} from '@primeradianthq/bot-toolkit';
Platform Identifiers
The public `Platform` type is:
type Platform = 'slack' | 'native' | 'email';
These identifiers are u
Related Skills
Docker Aicodebox
Agent-agnostic base image for putting any terminal AI coding agent (claude-code, pi, opencode...) on the netwo
GPT Telegram Worker
A multi-model AI Telegram bot powered by Cloudflare Workers, supporting various APIs including OpenAI, Claude,
Kherep
Orchestration layer for Claude Code and Codex: shared rules, hooks, skills and agents, model and tool routing,
Iron Mem
Agent-native memory infrastructure for AI coding assistants. Governed session capture, LLM compression, hybrid
New Adapter
Create new infrastructure adapter: $ARGUMENTS
Claude Code Java
Reusable AI development infrastructure for Java projects, optimized for Claude Code
Related Agents
Claude Code Slack Bot
This is a TypeScript-based Slack bot that integrates with the Claude Code SDK to provide AI-powered coding ass
Firecrawl Expert
Expert in Firecrawl API for web scraping, crawling, and structured data extraction. Handles dynamic content, a
AI Frontend Engineer
AI Frontend Engineer who builds beautiful, performant, accessible UIs for AI-powered products including chat i