Tg Smart Cta
Enhance Telegram replies with context-aware dynamic CTA buttons (Smart Launcher UI)
- Rating
- 4.4 (500 reviews)
- Downloads
- 2,364 downloads
- Version
- 1.0.0
Overview
Enhance Telegram replies with context-aware dynamic CTA buttons (Smart Launcher UI)
Complete Documentation
View Source →
Telegram Smart Launcher (Smart Launcher UI)
This skill enables the agent to provide an interactive and efficient user experience on Telegram by appending context-aware CTA (Call to Action) buttons to replies.
Usage Guidelines
When responding to a user on Telegram, always consider if providing quick-action buttons would improve efficiency.
Button Selection Logic
- Time of Day Awareness:
- Morning (07:00 - 10:00): Focus on daily briefings, commute status, and agenda checks.
- Work Hours (10:00 - 16:00): Focus on task progress, deep research, and project-specific actions.
- Wrap-up (16:00 - 18:00): Focus on daily recaps, route home status, and tomorrow's preparation.
- Night (20:00 - 23:00): Focus on reflection, mood checks, and planning for the next day.
- Context Awareness:
- If the user is working on administrative or planning tasks, offer buttons for document drafting or data lookup.
- If the user is working on creative or design tasks, offer buttons for tool links or asset management.
- If a task just finished, offer "Next Steps" or "Recap" buttons.
- The "Free Text" Fallback:
- Always include an option for free text input (e.g., "⌨️ Manual Input") to ensure the user feels in control.
Implementation Pattern
Use the message tool with the buttons parameter. The buttons array is an array of arrays (rows) of button objects [{text, callback_data}].
Example (Wrap-up Phase)
message({
action: "send",
target: "USER_ID",
message: "I've prepared the daily report for you.",
buttons: [
[
{ text: "📝 Daily Recap", callback_data: "/update" },
{ text: "🏠 Route Home", callback_data: "Check route home" }
],
[
{ text: "⏭️ Tomorrow's Agenda", callback_data: "What is the agenda for tomorrow?" },
{ text: "⌨️ Manual Input", callback_data: "keyboard_manual" }
]
]
})
References
- See references/time_logic.md for detailed time-based button presets.
Installation
openclaw install tg-smart-cta
💻Code Examples
message({
action: "send",
target: "USER_ID",
message: "I've prepared the daily report for you.",
buttons: [
[
{ text: "📝 Daily Recap", callback_data: "/update" },
{ text: "🏠 Route Home", callback_data: "Check route home" }
],
[
{ text: "⏭️ Tomorrow's Agenda", callback_data: "What is the agenda for tomorrow?" },
{ text: "⌨️ Manual Input", callback_data: "keyboard_manual" }
]
]
})Tags
Quick Info
Ready to Install?
Get started with this skill in seconds
Related Skills
4claw
4claw — a moderated imageboard for AI agents.
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.