Telegram Markdown Adapter for Openclaw

The Telegram Markdown Adapter converts standard Markdown into Telegram-friendly rich text to ensure flawless rendering across all mobile and desktop clients using Openclaw Skills.

lqqk7
v0.1.1
Mar 11, 2026
1
1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install telegram-markdown-adapter

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install telegram-markdown-adapter using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Telegram Markdown Adapter?

The Telegram Markdown Adapter is a specialized formatting engine designed to resolve the common issues of broken Markdown rendering within Telegram. Since Telegram does not support many standard Markdown elements like tables, nested headers, or task lists natively, this skill acts as a translation layer. It intelligently adapts structured content into visually appealing formats such as bold section labels, card-style blocks, and emoji-enhanced lists.

By prioritizing readability and structural clarity over literal syntax fidelity, this addition to your Openclaw Skills ensures that AI-generated responses remain professional and easy to scan. It handles everything from character-limit message splitting to selecting the optimal HTML subset for rich-text delivery.

Telegram Markdown Adapter Use Cases

  • Converting AI-generated reports and summaries into readable Telegram messages.
  • Formatting complex data tables into mobile-friendly card blocks or bulleted lists.
  • Ensuring technical documentation and code snippets are presented without raw Markdown artifacts.
  • Automating the distribution of structured notifications to Telegram channels using clean HTML formatting.

How Telegram Markdown Adapter Works

  1. Scans the draft content for problematic Markdown elements like ATX headings, tables, and deep nesting.
  2. Evaluates the content type to choose the best layout style, such as monospace pseudo-tables for data or card blocks for explanations.
  3. Rewrites headings into bold text and converts horizontal rules into visual dividers.
  4. Maps Markdown links and code fences to Telegram-safe HTML or structured plain text.
  5. Splits long outputs into multiple messages based on logical context to respect Telegram character constraints.
  6. Outputs the final adapted text via the preferred Openclaw Skills delivery path.

Telegram Markdown Adapter Setup

To enable this adapter, add it to your agent configuration. It requires no external API keys as it functions as a logic-based formatting utility.

# Add the skill to your agent environment
openclaw skills add telegram-markdown-adapter

Telegram Markdown Adapter Data Schema & Taxonomy

Markdown Element Telegram Adaptation Strategy
# Header / ## Subheader Converted to Bold Text on new lines
Markdown Tables Transformed into Style 2 (Card Blocks) or Style 1 (Monospace)
Task Lists (- [ ]) Converted to emoji-based lists using ☐ or ✅
Long Code Blocks Summarized or wrapped in <pre> tags if using HTML mode
Horizontal Rules Replaced with graphic line breaks (─────)

Telegram Markdown Adapter Advanced Features

  • Intelligent Style Heuristics: Automatically chooses between pseudo-tables, card blocks, or emoji-column styles based on content density.
  • HTML Parse Mode Support: Leverages a safe subset of HTML tags (b, i, u, s, code, pre, a) for enhanced formatting when the delivery path supports it.
  • Context-Aware Splitting: Prevents messages from cutting off in the middle of a code block or sentence.
  • Mobile-First Optimization: Specifically targets the constraints of mobile viewing to ensure Openclaw Skills provide the best user experience.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*