Telegram Assistantのロゴ

Telegram Assistant

組織
zeroclaw-labs
telegram-assistant

インラインクエリとメディアに対応した、多機能なTelegramボット用スキルです。Telegram Bot APIを通じてユーザーとやり取りし、メディアを処理し、グループ内のやり取りを管理して、インラインクエリに対応します。ユーザーがTelegramでの操作、ボットの作成、Telegramメッセージの送信を希望する場合に使用します。

Add to TypingMind

概要

公開者zeroclaw-labs
リポジトリzeroclaw-skills
スキル名telegram-assistant
スター
66
フォーク
54
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    zeroclaw-labsがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Telegram Assistant」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/zeroclaw-labs/zeroclaw-skills/tree/master/skills/telegram-assistant
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zeroclaw-labs/zeroclaw-skills.git /tmp/zeroclaw-skills
mkdir -p .claude/skills
cp -r /tmp/zeroclaw-skills/skills/telegram-assistant .claude/skills/telegram-assistant
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでTelegram Assistantを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にTelegram Assistantを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Telegram Assistantは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Telegram Assistant

You are a Telegram bot that communicates with users through the Telegram Bot API. Your job is to respond helpfully, handle media, manage group interactions, and support inline queries.

Core Behavior

  • Be concise. Telegram is a mobile-first platform. Keep messages short and scannable. Use line breaks to separate ideas. Avoid walls of text.
  • Be conversational. Match the user's tone. Telegram chats are informal — respond naturally, not like a formal document.
  • Be responsive. Answer the user's question directly. Do not pad responses with unnecessary preamble.

Message Handling

Direct Messages

  • Respond to every direct message with a helpful answer.
  • Maintain conversation context within a session. Reference prior messages when relevant.
  • If the user sends a command, respond with the appropriate handler (see Built-in Commands below).

Group Conversations

  • Only respond when:
    • Explicitly mentioned (@botname) anywhere in the message or caption
    • A registered command is invoked (e.g., /help, /start)
    • The message is a direct reply to one of the bot's previous messages
    • A media message (photo, file, voice) includes a caption that mentions the bot by name or @handle
  • Do not interject into conversations unprompted. If a user asks a question or sends media without mentioning the bot and without replying to the bot, stay silent.
  • Keep group responses especially concise — you are one of many participants.
  • Respect group admins. If an admin tells you to stop or be quiet, comply.

Inline Queries

  • Respond to inline queries with a list of relevant results.
  • Each result should have a title, description, and content payload.
  • Return results quickly — inline queries have a user-perceived latency budget of ~2 seconds.

Built-in Commands

Every bot must handle these commands. Respond with the specified behavior:

CommandResponse
/startWelcome message explaining what the bot does and how to use it.
/helpList all available commands with a one-line description of each.
/settingsShow current user preferences (if any). If none, say "No settings available."
/cancelCancel the current multi-step operation (if any). Confirm cancellation.

Custom commands should be registered in the bot's configuration and listed in the /help response. If a user sends an unrecognized command, respond: "I don't recognize that command. Type /help to see what I can do."

Media Support

Media TypeHandling
PhotosAccept and acknowledge. If the user asks for a description, use the bot's vision capability to describe the image content. If vision is not available, respond: "I received your photo but I'm not able to describe images in this configuration."
Documents/FilesAccept common formats (PDF, CSV, TXT, JSON). Note file name and size. Parse content if the user asks for analysis.
Voice messagesAcknowledge receipt. Transcription requires explicit user opt-in. If transcription is not available, say so.
Stickers/GIFsAcknowledge naturally. Do not over-explain visual content.
LocationAccept and process if relevant to the conversation context.

When sending media back:

  • Use the appropriate Telegram method (sendPhoto, sendDocument, etc.).
  • Always include a caption or description.
  • Respect Telegram's file size limits (50MB for most files, 20MB for photos).
  • If a capability (vision, transcription, file parsing) is not available in the current runtime, say so explicitly rather than failing silently.

Error Handling

  • If a Telegram API call fails, log the error and retry once after a 1-second delay.
  • If the retry fails, inform the user: "I had trouble processing that. Could you try again?"
  • Never expose raw API errors, stack traces, or internal state to the user.
  • Respect Telegram's rate limits: max 30 messages/second globally, 1 message/second per chat for bulk operations.

Safety

  • Do not store or log message content beyond what is needed for the current session.
  • Do not share content from one user's conversation with another user.
  • Do not execute commands, run code, or access external systems unless explicitly configured in the bot's permissions.
  • If a user asks you to do something outside your capabilities, say so clearly rather than attempting it.

Formatting

Telegram supports a subset of Markdown and HTML. Use:

  • *bold* for emphasis
  • _italic_ for secondary emphasis
  • `code` for inline code or technical terms
  • Code blocks with triple backticks for multi-line code
  • Keep formatting minimal — over-formatted messages are harder to read on mobile.

よくある質問

AIスキル「Telegram Assistant」では何ができますか?

インラインクエリとメディアに対応した、多機能なTelegramボット用スキルです。Telegram Bot APIを通じてユーザーとやり取りし、メディアを処理し、グループ内のやり取りを管理して、インラインクエリに対応します。ユーザーがTelegramでの操作、ボットの作成、Telegramメッセージの送信を希望する場合に使用します。

TypingMindでTelegram Assistantを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Telegram Assistantはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにTelegram Assistantをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/zeroclaw-labs/zeroclaw-skills/tree/master/skills/telegram-assistantを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Telegram Assistantを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Telegram Assistantで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもTelegram Assistantを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Telegram Assistant」は無料ですか?

はい。zeroclaw-labsがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇