Agent skill
channel-telegram
Run and operate a Telegram channel worker for LionClaw using the kernel channel bridge APIs.
Install this agent skill to your Project
npx add-skill https://github.com/moshthepitt/lionclaw/tree/main/skills/channel-telegram
SKILL.md
Telegram Channel Worker
Use this skill when the user wants Telegram as a LionClaw channel.
What you run:
- start LionClaw in service mode,
- run the Telegram worker,
- let it bridge Telegram traffic into LionClaw.
Under the hood, the worker:
- polls Telegram updates,
- posts inbound text to
/v0/channels/inboundand treats the response as queued work, not completed work, - long-polls
/v0/channels/stream/pull, - starts Telegram typing from kernel queue/runtime status events and coalesces
answerdeltas into provider-facing Telegram replies, - advances its consumer cursor through
/v0/channels/stream/ack.
Prerequisites
curljq- Telegram bot token with DM access
- LionClaw running (default
http://127.0.0.1:8979)
Setup
- Register the skill and channel:
lionclaw skill add skills/channel-telegram --alias telegram
lionclaw channel add telegram
- Start LionClaw for background channels:
lionclaw service up --runtime codex
- Run the worker script:
TELEGRAM_BOT_TOKEN=... \
LIONCLAW_BASE_URL=http://127.0.0.1:8979 \
./skills/channel-telegram/scripts/worker.sh
Notes
- LionClaw enforces peer pairing (
pending->approvedvia/v0/channels/peers/approve). peer_idis Telegramchat.idserialized as string.- The worker defaults
consumer_idtotelegram:<channel_id>andstart_mode=resume, so undelivered stream events are replayed after worker restart. - Telegram delivery is message-oriented by default: typing while a turn is active, final answer on
done, no reasoning lane delivery. - Runtime selection normally comes from
lionclaw service up --runtime ....LIONCLAW_RUNTIME_IDis an optional per-worker override for low-level testing. - The worker stores Telegram offset in
.lionclaw-telegram-offsetby default.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
sales-enablement
Create sales collateral such as decks, one-pagers, objection docs, demo scripts, playbooks, and proposal templates. Use when a sales team needs assets that help reps move deals forward and close.
jq
Expert jq usage for JSON querying, filtering, transformation, and pipeline integration. Practical patterns for real shell workflows.
design-spells
ai-analyzer
AI驱动的综合健康分析系统,整合多维度健康数据、识别异常模式、预测健康风险、提供个性化建议。支持智能问答和AI健康报告生成。
diary
Unified Diary System: A context-preserving automated logger for multi-project development.
gitlab-automation
Automate GitLab project management, issues, merge requests, pipelines, branches, and user operations via Rube MCP (Composio). Always search tools first for current schemas.
Didn't find tool you were looking for?