telegram-crabbox-e2e-proof

openclaw/openclaw

Для ревью, воспроизведения или доказательства поведения OpenClaw в Telegram с реальным пользователем Telegram на Crabbox, включая процессы ревью PR, требующие записи Telegram Desktop под управлением агента, команд TDLib user-driver, учётных данных в аренде Convex, наблюдения через WebVNC и артефактов с обрезкой движения.

Звёзды394 701
Авторopenclaw
Установок273

Установка

SKILL.md

Telegram Crabbox E2E Proof

Use this for Telegram PR review or bug reproduction when bot-to-bot proof is not enough. The goal is to let the agent keep a real Telegram user session open until it is satisfied, then attach visual proof.

Do not use personal accounts. Do not add credentials to the repo, prompt, or artifact bundle. The runner leases the shared burner account from Convex.

Start

Run from the OpenClaw repo and branch under test:

proof_cmd="${OPENCLAW_TELEGRAM_USER_PROOF_CMD:-openclaw-telegram-user-crabbox-proof}"
"$proof_cmd" start \
  --tdlib-url http://artifacts.openclaw.ai/tdlib-v1.8.0-linux-x64.tgz \
  --output-dir .artifacts/qa-e2e/telegram-user-crabbox/pr-review

This starts one held session:

  • leases the exclusive telegram-user Convex credential
  • restores TDLib and Telegram Desktop with the same user account
  • starts a mock OpenClaw Telegram SUT from the current checkout
  • selects the configured Telegram chat in the visible Linux desktop
  • starts a 24fps desktop recording
  • writes .artifacts/qa-e2e/telegram-user-crabbox/pr-review/session.json

Keep the session alive while investigating. It is valid for the agent to test for minutes, run several commands, use WebVNC, inspect transcripts, and only finish once the behavior is understood.

For deterministic visual repros, put the exact mock-model reply in a file and pass it to start:

proof_cmd="${OPENCLAW_TELEGRAM_USER_PROOF_CMD:-openclaw-telegram-user-crabbox-proof}"
"$proof_cmd" start \
  --tdlib-url http://artifacts.openclaw.ai/tdlib-v1.8.0-linux-x64.tgz \
  --mock-response-file .artifacts/qa-e2e/telegram-user-crabbox/reply.txt \
  --output-dir .artifacts/qa-e2e/telegram-user-crabbox/pr-review

The runner defaults to --class standard, --record-fps 24, --preview-fps 24, and --preview-width 1920. Keep those defaults unless the proof needs something else.

While Testing

For visual proof, first send or identify a bottom marker message, then open the group/topic directly by message id:

proof_cmd="${OPENCLAW_TELEGRAM_USER_PROOF_CMD:-openclaw-telegram-user-crabbox-proof}"
"$proof_cmd" view \
  --session .artifacts/qa-e2e/telegram-user-crabbox/pr-review/session.json \
  --message-id <message-id>

This uses Telegram Desktop directly with tg://privatepost, not xdg-open. It also resizes Telegram to 650x1000 at the tested desktop position so the crop can isolate the chat pane even if Telegram keeps a split/sidebar layout. Do not press Escape after this; Escape can close the selected chat.

Bottom behavior matters:

  • deep-linking to the newest message keeps Telegram pinned to the bottom, so later messages appear live in the recording
  • deep-linking to an older message does not auto-scroll to new arrivals; link again to the newest/final marker instead of clicking the down-arrow
  • the cropped GIF intentionally uses the chat pane, not the whole desktop or whole Telegram window

Send as the real Telegram user:

proof_cmd="${OPENCLAW_TELEGRAM_USER_PROOF_CMD:-openclaw-telegram-user-crabbox-proof}"
"$proof_cmd" send \
  --session .artifacts/qa-e2e/telegram-user-crabbox/pr-review/session.json \
  --text /status

For slash commands, omit the bot username; the runner targets the SUT bot.

Run arbitrary commands on the Crabbox:

proof_cmd="${OPENCLAW_TELEGRAM_USER_PROOF_CMD:-openclaw-telegram-user-crabbox-proof}"
"$proof_cmd" run \
  --session .artifacts/qa-e2e/telegram-user-crabbox/pr-review/session.json \
  -- bash -lc 'source /tmp/openclaw-telegram-user-crabbox/env.sh && python3 /tmp/openclaw-telegram-user-crabbox/user-driver.py transcript --limit 20 --json'

Useful remote user-driver commands:

source /tmp/openclaw-telegram-user-crabbox/env.sh
python3 /tmp/openclaw-telegram-user-crabbox/user-driver.py status --json
python3 /tmp/openclaw-telegram-user-crabbox/user-driver.py chats --json
python3 /tmp/openclaw-telegram-user-crabbox/user-driver.py transcript --limit 20 --json
python3 /tmp/openclaw-telegram-user-crabbox/user-driver.py send --text '/status@{sut}'
python3 /tmp/openclaw-telegram-user-crabbox/user-driver.py probe --text '@{sut} Reply exactly: USER-E2E-{run}' --expect USER-E2E-

Capture the current desktop without ending the session:

proof_cmd="${OPENCLAW_TELEGRAM_USER_PROOF_CMD:-openclaw-telegram-user-crabbox-proof}"
"$proof_cmd" screenshot \
  --session .artifacts/qa-e2e/telegram-user-crabbox/pr-review/session.json

Check lease state and get the WebVNC command:

proof_cmd="${OPENCLAW_TELEGRAM_USER_PROOF_CMD:-openclaw-telegram-user-crabbox-proof}"
"$proof_cmd" status \
  --session .artifacts/qa-e2e/telegram-user-crabbox/pr-review/session.json

Finish

Always finish or explicitly keep the box:

proof_cmd="${OPENCLAW_TELEGRAM_USER_PROOF_CMD:-openclaw-telegram-user-crabbox-proof}"
"$proof_cmd" finish \
  --session .artifacts/qa-e2e/telegram-user-crabbox/pr-review/session.json \
  --preview-crop telegram-window

finish stops recording, creates motion-trimmed MP4/GIF artifacts, captures a final screenshot and logs, releases the Convex credential, stops the local SUT, and stops the Crabbox lease. --preview-crop telegram-window also creates a fixed-geometry GIF from the tested Telegram proof window for clean side-by-side PR tables; the full desktop video/GIF remains in the artifact directory. Pass --keep-box only when a human needs to continue VNC debugging after the credential is released.

After any failure or interruption, verify cleanup:

crabbox list --provider aws

If a session file exists and the credential may still be leased, run finish with that session file before retrying.

Attach Proof

Attach only the useful visual artifact to the PR unless logs are needed. The runner is GIF-only by default:

proof_cmd="${OPENCLAW_TELEGRAM_USER_PROOF_CMD:-openclaw-telegram-user-crabbox-proof}"
"$proof_cmd" publish \
  --session .artifacts/qa-e2e/telegram-user-crabbox/pr-review/session.json \
  --pr <pr-number> \
  --summary 'Telegram real-user Crabbox session motion GIF'

This copies only the useful GIF into a temporary publish bundle and comments that GIF. If finish --preview-crop telegram-window produced a cropped GIF, publish uses that; otherwise it uses telegram-user-crabbox-session-motion.gif. Use --full-artifacts only when the PR needs logs or JSON output. Never publish credential payloads, local env files, TDLib databases, Telegram Desktop profiles, or raw session archives.

For before/after proof, run one session on main and one on the PR head, then publish only the intended GIFs from a clean bundle:

mkdir -p .artifacts/qa-e2e/telegram-user-crabbox/pr-123/comparison
cp <main-output>/telegram-user-crabbox-session-motion-telegram-window.gif \
  .artifacts/qa-e2e/telegram-user-crabbox/pr-123/comparison/main-before.gif
cp <pr-output>/telegram-user-crabbox-session-motion-telegram-window.gif \
  .artifacts/qa-e2e/telegram-user-crabbox/pr-123/comparison/pr-after.gif
crabbox artifacts publish \
  --repo openclaw/openclaw \
  --pr 123 \
  --dir .artifacts/qa-e2e/telegram-user-crabbox/pr-123/comparison \
  --summary 'Telegram before/after proof' \
  --no-comment

Then post a concise markdown table with those two URLs. Do not publish working directories that contain screenshots, raw videos, logs, session JSON, or crop experiments unless those artifacts are explicitly needed.

Quick Smoke

For a fast one-shot check, use:

proof_cmd="${OPENCLAW_TELEGRAM_USER_PROOF_CMD:-openclaw-telegram-user-crabbox-proof}"
"$proof_cmd" --text /status

This is a start/send/finish shortcut. Prefer the held session for PR review, issue reproduction, or any task where the agent may need several attempts.

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: telegram-crabbox-e2e-proof](https://darkplay.ru/ai/skills/openclaw-openclaw-telegram-crabbox-e2e-proof)

Описание

Используется при проверке, воспроизведении или доказательстве поведения OpenClaw в Telegram с реальным пользователем Telegram на Crabbox, включая рабочие процессы ревью PR, требующие управляемой агентом записи Telegram Desktop, команд пользовательского драйвера TDLib, учётных данных из Convex-лизинга, наблюдения через WebVNC и артефактов с обрезкой движения.

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

math-olympiadanthropics · Решение олимпиадных задач по математике (IMO, Putnam, USAMO) с состязательной проверкой…
100 комп.
telegramanthropics · Мост для обмена сообщениями Telegram со встроенным контролем доступа. Управление…
100 комп.
social-publishingwshobson · Планирование и публикация постов в соцсетях на 13 платформах (X, LinkedIn Profile + Page…
495 комп.
collab-proofalirezarezvani · Ассистированная ретроспектива: оценка вклада Claude против вклада разработчика.
510 комп.
planning-with-filesOthmanAdi · Файловое планирование для ИИ-агентов: устойчивые к сбоям markdown-планы, переживающие…
19 комп.
pol-probedeanpeters · Определить пробу Proof of Life для дешёвой проверки рискованной гипотезы.
8 061 ★
pol-probe-advisordeanpeters · Выбрать подходящий тип пробы Proof of Life исходя из гипотезы, риска и ресурсов.
8 061 ★
waza-writetw93 · Переписывает и шлифует текст на китайском или английском, убирает ИИ-штампы и проверяет…
8 комп.
5 Poc Generatortrailofbits · Создаёт индивидуальные proof-of-concept программы, демонстрирующие эксплуатируемость…
5 976 ★
Poc Buildertrailofbits · Создаёт proof-of-concept эксплойты (псевдокод, исполняемый файл и юнит-тесты)…
5 976 ★

Лучшие ИИ-инструменты для автоматизации и ассистентов

Ассистенты и автоматизация

Подборка ИИ-ассистентов для автоматизации рутины и ускорения рабочих процессов. Сервисы, которые берут на себя переписку, анализ данных, ведение базы знаний и подготовку продаж, эк

Give Me Public
Есть бесплатный тариф
5.0
AITunnelAitunnel
По запросу
5.0
STIVAStiva
По запросу
5.0
Wikibot (Викибот)Wikibot
По запросу
4.9
mymeet.aiMymeet
По запросу
4.9
InsighterInsighter
По запросу
4.9
TGHuntTghunt
Есть бесплатный тариф
4.9
LegiscanLegiscan
По запросу
4.9
RouterAIRouterai
По запросу
4.9
Wikibot 1.0 (Викибот)Wikibot
По запросу
4.9

Лучшие ИИ-инструменты для генерации изображений

Генерация изображений

Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты

MagviMagvi
По запросу
5.0
DALL-E 3OpenAI
По подписке
5.0
SupaLabSupalab
По запросу
5.0
Freestyling.aiFreestyling
Есть бесплатный тариф
4.9
ArtGeneration.meArtgeneration
Есть бесплатный тариф
4.9
BigjpgBigjpg
По запросу
4.9
Художник от VKVK
Бесплатно
4.9
Wonderink — ИИ-книги
Есть бесплатный тариф
4.8
Avato AI12ai
По запросу
4.8
Virton AIVirton
По запросу
4.8

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8