Messaging Gateway Troubleshootingのロゴ

Messaging Gateway Troubleshooting

コミュニティ
AtlasOmnia
messaging-gateway-troubleshooting

messaging-gateway-troubleshooting — Troubleshoot Hermes messaging gateway platform adapters, webhooks, authorization, delivery, and loop-prevention behavior.

Add to TypingMind

概要

公開者AtlasOmnia
リポジトリdonna-starter
スキル名messaging-gateway-troubleshooting
スター
131
フォーク
9
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Messaging Gateway Troubleshooting

Use this when Hermes messaging platforms are installed/configured but messages do not arrive, are ignored, do not reply, or appear to risk reply loops.

Operating principles

  1. Verify the live path end to end before assuming config is wrong:
  • Gateway service is running.
  • Platform server/client is running.
  • Local webhook/listener is bound.
  • Health endpoint responds if available.
  • Platform has the webhook registered.
  • Gateway logs show the adapter connected.
  1. Separate transport, authorization, and adapter filtering:
  • Transport failure: no webhook hit / listener closed.
  • Authorization failure: sender not allowed or pairing pending.
  • Adapter filtering: message acknowledged but intentionally skipped, e.g. group mention gating, tapback filtering, or self-message loop guard.
  1. For user-visible claims, verify with real command output: hermes status, listener checks, webhook health, and gateway logs.
  2. When changing Hermes gateway config or adapter code, restart the gateway and verify the adapter reconnects.
  3. For gateway slash-command failures, inspect session-origin scope separately from transport health:
  • Compare source, user_id, chat_id, thread_id, and origin_json in the live session database.
  • Trace both the listing path and the action path; a session browser is still broken if it lists a target that /resume rejects.
  • In forum/threaded platforms, distinguish same-parent-chat ownership from exact-thread isolation rather than weakening origin checks globally.

Telegram forum session browsing

  • A fresh Telegram forum topic can have no prior exact-thread sessions even when the same owner has many titled sessions in sibling topics of the same parent chat.
  • Do not diagnose this from session history alone. Correlate gateway send logs, live DB origin columns, and the gateway routing origin.
  • Cross-topic browsing must be Telegram-specific, same-parent-chat, and same-owner; thread_sessions_per_user=false permits sharing within one thread, not across sibling threads.
  • Keep /sessions visibility and /resume authorization aligned, including persisted-only rows.
  • See references/telegram-forum-session-scope.md for the reproduction, authorization contract, TDD matrix, and safe activation procedure.

BlueBubbles / iMessage notes

  • BlueBubbles may mark messages from the Mac's own Apple ID/iMessage identity as isFromMe=true.
  • A blanket isFromMe skip prevents reply loops but also prevents the owner from texting Hermes from that same iMessage identity.
  • The safer loop guard is outbound-ID based: remember Hermes-sent tempGuid and returned guid/messageGuid, then ignore only inbound webhook echoes whose IDs match that cache.
  • On macOS, do not assume localhost reaches an IPv4-only Hermes webhook. BlueBubbles/Electron/Node may resolve localhost to IPv6 ::1, causing connect ECONNREFUSED ::1:<port> while curl http://127.0.0.1:<port>/health still works. Register local BlueBubbles webhooks as http://127.0.0.1:<port>/... unless Hermes is listening on IPv6 too.
  • See references/bluebubbles-self-imessage-loop-guard.md for the concrete fix pattern, localhost/IPv6 pitfall, stale-webhook cleanup, and verification loop.
  • See references/memory-context-injection-probes.md for probe handling when recalled-memory wrappers, formatting-failure echoes, or outbound test messages appear in a live platform chat.

Verification checklist

  • hermes status shows the platform configured.
  • Gateway process/service is running under the expected profile/home.
  • Listener exists for the adapter webhook port/path.
  • Webhook health returns success if implemented.
  • Platform-side webhook registration points at the active Hermes listener.
  • Logs show adapter connected and webhook registered.
  • A test message reaches the adapter or produces a pairing/authorization signal.

Pitfalls

  • Do not confuse “gateway open” with “message authorized.” A listener can be healthy while the sender is ignored by allowlist/pairing logic.
  • If Telegram is fast for text but a photo/image turn appears to run forever, inspect agent.log for repeated API calls ending in TypeError: expected string or bytes-like object, got 'list' from _interim_assistant_visible_text → strip_think_blocks. This was a multimodal block-list regression introduced by Codex interim-commentary handling; a current upstream release fixes the loop. Stop the affected turn, update Hermes through the normal update-safe procedure, reapply local patches, restart the gateway, and verify with a real photo+caption message. Transport latency and gateway health can look completely normal while this retry loop burns up to the agent iteration cap.
  • Do not persist negative claims like “BlueBubbles ignores self messages” as a permanent tool limitation. The durable lesson is the loop-guard design.
  • Do not edit protected bundled skills; place Hermes-gateway-specific operational learnings here when bundled skills cannot be patched.

Public support files

  • references/bluebubbles-self-imessage-loop-guard.md
  • references/memory-context-injection-probes.md
  • references/telegram-forum-session-scope.md

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Messaging Gateway Troubleshooting」では何ができますか?

messaging-gateway-troubleshooting — Troubleshoot Hermes messaging gateway platform adapters, webhooks, authorization, delivery, and loop-prevention behavior.

TypingMindでMessaging Gateway Troubleshootingを使うメリットは何ですか?

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/AtlasOmnia/donna-starter/tree/main/skills/hermes/messaging-gateway-troubleshootingを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Messaging Gateway Troubleshootingを使えるAIモデルはどれですか?

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

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

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

AIスキル「Messaging Gateway Troubleshooting」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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