A detailed technical documentation skill providing the complete MySQL database schema and entity relationships for Teamgram Server developers.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install teamgram-database-schema
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install teamgram-database-schema using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Teamgram Database Schema skill serves as a comprehensive knowledge base for developers working with the Teamgram Server. It indexes all 43 tables within the MySQL database, providing structural details, key constraints, and core entity relationships necessary for backend development and database management.
This skill is specifically designed for Openclaw Skills users who need immediate access to schema definitions without manually parsing SQL migration files. It covers everything from user authentication keys to complex chat participant mappings and message storage logic.
1_teamgram.sql and subsequent migration scripts from the official Teamgram repository.This is a documentation and knowledge skill. To utilize it within your Openclaw Skills environment, ensure you have the reference linked in your workspace:
# Navigate to your project directory
cd teamgram-server/deploy/sql/
# Reference the schema data within your AI agent context
openclaw add skill teamgram-database-schema
The database uses the utf8mb4 character set. Below are the primary entities defined in this Openclaw Skills reference:
| Entity Group | Primary Tables | Description |
|---|---|---|
| Authentication | auth_keys, auth_users | Manages MTProto keys and device-user bindings. |
| User Management | users, user_presences | Core profile data and last-seen status. |
| Messaging | messages, dialogs | Inbox/outbox storage and conversation metadata. |
| Groups | chats, chat_participants | Group membership, permissions, and invitations. |
| Files | documents, photos | Metadata for media and encrypted file transfers. |
users table.inbox/outbox double-writing logic in the messages table.auth_key_id SHA1 mapping.Loading
A lightweight, offline reference tool for devtools documentation, implementation patterns, and best practices.

A specialized CLI bridge that enables AI agents to perform professional image editing tasks using GIMP within the Openclaw Skills ecosystem.

A comprehensive documentation skill detailing the core business logic layer of the Teamgram Server, featuring six essential gRPC sub-services.

A comprehensive command-line tool for color conversion, palette generation, and WCAG accessibility auditing.

A comprehensive technical reference for managing core infrastructure services within the Teamgram Server ecosystem.

A detailed technical map of the Backend-for-Frontend (BFF) layer in Teamgram Server, detailing all 268 RPC handlers for Telegram-compatible API development.








































