A comprehensive documentation skill for understanding the session routing layer and authsession service within the Teamgram Server architecture.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install teamgram-session-layer
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-session-layer 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 Session Layer skill provides deep technical insights into the interface.session and service.authsession components of the Teamgram Server. It explains how the system aggregates TLMessage2 streams from the gateway by auth_key_id, manages multiple sessions per key, and maintains security salts.
This knowledge base is essential for developers working on Openclaw Skills to understand how MTProto RPC requests are routed to Backend-for-Frontend (BFF) modules and how user-to-auth_key bindings are persisted and managed for risk control and push notifications.
This is a documentation and knowledge-based skill for Openclaw Skills. To use it as a reference for Teamgram development, ensure you have the server environment configured:
# Example session service configuration
cat teamgramd/etc/session.yaml
# Example authsession service configuration
cat teamgramd/etc/authsession.yaml
The session layer organizes data through internal queues and external service mappings:
| Component | Data Responsibility |
|---|---|
| IDMap | Maps MTProto RPC paths (e.g., /mtproto.RPCMessages) to BFF service keys. |
| MainAuthWrapper | Segregates PermAuth, TempAuth, and MediaTempAuth sessions. |
| authsession DB | Persists AuthKeyId, UserId, and client metadata (device, layer, initConnection). |
| SessionDataChan | Buffer for incoming payloads from gnetway/sync. |
Loading
A high-performance terminal toolkit for testing, matching, and explaining regular expressions within your AI workflows.

A specialized skill for accessing real-time and historical Indonesia Stock Exchange (IDX) data via the GoAPI platform.

A comprehensive documentation skill for understanding and managing the gnetway network layer in Teamgram Server.

A technical documentation skill detailing the Kafka-driven message delivery and synchronization architecture of the Teamgram Server.

An orchestration skill for crawling Vietnamese nutrition portals and uploading raw, itemized records directly to Cloudflare R2 storage.

A comprehensive command-line toolkit for monitoring, validating, and reporting on API health and lifecycle tasks.








































