messaging-gateway-troubleshooting
Skill61 starsChanged 5 months agoMITView on GitHub
messaging-gateway-troubleshooting — Troubleshoot Hermes messaging gateway platform adapters, webhooks, authorization, delivery, and loop-prevention behavior.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- AtlasOmnia/donna-starterword for word, first seen Aug 13, 2026
Other versions1 project uses a version of this.
Word for word · 1
- AtlasOmnia/donna-starter★ 122100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository74 other files it gives its agents.
- apple-remindersSkill
- application-security-reviewSkill
- browser-harness-authoringSkill
- claude-designSkill
- codebase-inspectionSkill
- coding-worktree-recoverySkill
- computer-useSkill
- content-styleSkill
- cross-browser-typography-qaSkill
- daily-news-digestsSkill
- daily-note-wrapupSkill
- destination-trip-planningSkill
- discord-connectSkill
- dogfoodSkill
- domestic-trip-planningSkill
- dynamic-content-extractionSkill
- evidence-based-repliesSkill
- external-model-reviewSkill
- github-authSkill
- github-code-reviewSkill
- github-issuesSkill
- github-pre-push-gatesSkill
- github-pr-workflowSkill
- github-readme-maintenanceSkill
- github-repo-managementSkill
- github-workflowsSkill
- google-workspaceSkill
- hermes-agent-skill-authoringSkill
- hermes-agentSkill
- hermes-config-editingSkill
- hermes-context-optimizationSkill
- hermes-desktop-pluginsSkill
- hermes-diagnostic-reviewSkill
- hermes-mnemosyneSkill
- hermes-nightly-self-check-decisionsSkill
- hermes-overnight-autonomySkill
- hermes-plugin-developmentSkill
- hermes-plugin-evaluationSkill
- hermes-self-evaluationSkill
- hermes-session-maintenanceSkill
- hermes-themesSkill
- hf-model-card-researchSkill
- imessageSkill
- inspecting-hermes-desktop-domSkill
- local-app-github-publishingSkill
- local-discoverySkill
- local-model-selectionSkill
- macos-app-automationSkill
- macos-storage-managementSkill
- mapsSkill
- marketing-collateral-designSkill
- marketplace-purchase-vettingSkill
- meal-trackerSkill
- meta-business-postingSkill
- mnemosyne-maintenanceSkill
- notes-automation-workflowsSkill
- notion-artifact-captureSkill
- notionSkill
- obsidian-memory-architectureSkill
- obsidianSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Use this when Hermes messaging platforms are installed/configured but messages do not arrive, are ignored, do not reply, or appear to risk …
- Distinctive: line 25
Verify the live path end to end before assuming config is wrong:
- Distinctive: line 37
When changing Hermes gateway config or adapter code, restart the gateway and verify the adapter reconnects.
- Distinctive: line 46
Do not diagnose this from session history alone.
- Very specific: line 48
Keep /sessions visibility and /resume authorization aligned, including persisted-only rows.
- Distinctive: line 72
Do not confuse “gateway open” with “message authorized.” A listener can be healthy while the sender is ignored by allowlist/pairing logic.
- Distinctive: line 74
Do not persist negative claims like “BlueBubbles ignores self messages” as a permanent tool limitation.
- Distinctive: line 75
Do not edit protected bundled skills.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- 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.
- 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.
- For user-visible claims, verify with real command output:
hermes status, listener checks, webhook health, and gateway logs. - When changing Hermes gateway config or adapter code, restart the gateway and verify the adapter reconnects.
- For gateway slash-command failures, inspect session-origin scope separately from transport health:
- Compare
source,user_id,chat_id,thread_id, andorigin_jsonin 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
/resumerejects. - 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=falsepermits sharing within one thread, not across sibling threads. - Keep
/sessionsvisibility and/resumeauthorization aligned, including persisted-only rows. - See
references/telegram-forum-session-scope.mdfor 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
isFromMeskip 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
tempGuidand returnedguid/messageGuid, then ignore only inbound webhook echoes whose IDs match that cache. - On macOS, do not assume
localhostreaches an IPv4-only Hermes webhook. BlueBubbles/Electron/Node may resolvelocalhostto IPv6::1, causingconnect ECONNREFUSED ::1:<port>whilecurl http://127.0.0.1:<port>/healthstill works. Register local BlueBubbles webhooks ashttp://127.0.0.1:<port>/...unless Hermes is listening on IPv6 too. - See
references/bluebubbles-self-imessage-loop-guard.mdfor the concrete fix pattern, localhost/IPv6 pitfall, stale-webhook cleanup, and verification loop. - See
references/memory-context-injection-probes.mdfor probe handling when recalled-memory wrappers, formatting-failure echoes, or outbound test messages appear in a live platform chat.
Verification checklist
hermes statusshows 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.logfor repeated API calls ending inTypeError: 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.mdreferences/memory-context-injection-probes.mdreferences/telegram-forum-session-scope.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

