MTProto Client Behavior Matrix
Skill by sleep3r
Provides version-pinned notes on Telegram client connection behavior for debugging MTProto proxy compatibility. It covers iOS, Android and Desktop timeouts, reconnect behavior and handshake handling. Claims are limited to pinned sources or reproducible captures.
Install MTProto Client Behavior Matrix
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sleep3r/mtproto.zig /tmp/mtproto.zig && mkdir -p ~/.claude/skills && cp -r /tmp/mtproto.zig/.agent/skills/client-behavior ~/.claude/skills/mtproto-client-behavior-matrixRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install MTProto Client Behavior Matrix in Claude Code
git clone --depth 1 https://github.com/sleep3r/mtproto.zig /tmp/mtproto.zig && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/mtproto.zig/.agent/skills/client-behavior ~/.gemini/antigravity-cli/skills/mtproto-client-behavior-matrixAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install MTProto Client Behavior Matrix in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
MTProto Client Behavior Matrix is a skill with version-pinned notes on how Telegram clients on iOS, Android and Desktop handle connections. It records timeouts, reconnect backoff, connection types and parallel connection attempts for each platform. Each claim is marked as source-backed or field-capture, the latter being proxy-side observations.
The skill sets an evidence policy: claims must come from reproducible local captures or client source links pinned to a tag and commit. It also lists proxy implications, such as assembling the full 64-byte obfuscation handshake, keeping the handshake timeout generous, and not treating short idle prewarmed sockets as failures. It is intended for developers debugging proxy compatibility when behavior differs by client platform or when tuning relay and handshake timeouts.
Written from the project's SKILL.md and checked against it.
What it can do
- iOS client behavior notesLists pinned iOS timeouts, watchdog values and reconnect backoff steps from Telegram-iOS source.
- Android client behavior notesLists pinned Android socket setup, per-type logical timeouts and connection types from DrKLO/Telegram.
- Desktop client behavior notesLists pinned Telegram Desktop connection racing, resolver and timeout values from tdesktop source.
- Proxy implicationsGives per-platform guidance on handshake assembly, timeouts, concurrent connections and reconnect handling.
- Debugging checklistSteps to compare client timeout models and tell pre-handshake, obfuscation and post-relay failures apart.
Try asking
- Compare Telegram iOS and Android connection timeouts for proxy debugging
- What handshake timeout should my MTProto proxy allow for Telegram clients?
- Check whether a Telegram Desktop connection race explains these proxy logs
Good to know
- Notes are pinned to specific client versions and commits.
- Linux and macOS package specifics are not validated separately.
- Field-capture observations are proxy-side and not source-backed.
- Claims are accepted only from pinned sources or reproducible captures.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agent/skills/client-behavior/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to MTProto Client Behavior Matrix
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
MTProto Client Behavior Matrix: common questions
What does the MTProto Client Behavior Matrix cover?
It covers connection behavior of Telegram clients on iOS, Android and Desktop, including timeouts, reconnect backoff and connection types. The notes are tied to specific client versions.
Does the skill cover Linux and macOS separately?
The source says timeout and retry logic in the reviewed MTProto sources is shared with the Windows path. It says package and channel specifics should be validated separately before asserting behavioral differences.
How are claims verified in this skill?
Claims must be backed by reproducible local captures or by client source links pinned to a tag and commit. Each claim is marked as source-backed or field-capture.
How do I install MTProto Client Behavior Matrix?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is MTProto Client Behavior Matrix free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is MTProto Client Behavior Matrix safe to use?
It scores 77 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to MTProto Client Behavior Matrix?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
