aim-bot-domain

Community

Provision and secure third-party bot access

Authorhellopoisonx
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It standardizes how third-party Bots authenticate, authorize action permissions, and receive verified webhook deliveries in AIM, reducing integration drift and operational risk.

Core Features & Use Cases

  • Bot identity and token lifecycle: Supports Bot tokens with SHA-256 hash storage, expiration/revocation, and enabled status checks for reliable access control.
  • Action-based authorization: Enforces scoped permissions via bot_actions, bot_token_permissions, and bot_event_actions so Bots can only call what they’re allowed to do.
  • Webhook subscription with safe delivery: Subscribes to message.created events, signs deliveries (HMAC), and handles retries with backoff to prevent callback loops and protect the archive pipeline.
  • Operational bot provision (DB double-write): Provides a provisioning workflow to create Bot users, memberships, and issue tokens using operator scripts.

Quick Start

Provision a Bot by running the operator script scripts/bot-provision/provision_bot.sh, then share the plaintext token with the Bot developer for Authorization: Bot <token> calls to /api/bot/v1/*.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: aim-bot-domain
Download link: https://github.com/hellopoisonx/aim/archive/main.zip#aim-bot-domain

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.