Logo von Troubleshooting

Troubleshooting

Organisation
Cognigy
troubleshooting

Use when a Cognigy agent returns empty responses, a tool call or create_ai_agent fails, a resource is not found, setup_llm fails, or you need to diagnose a Cognigy MCP problem.

Übersicht

HerausgeberCognigy
Repositorycognigy-plugin
Skill-Nametroubleshooting
Sterne
20
Forks
14
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von Cognigy auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Troubleshooting in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/Cognigy/cognigy-plugin/tree/main/plugin/skills/troubleshooting
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Cognigy/cognigy-plugin.git /tmp/cognigy-plugin
mkdir -p .claude/skills
cp -r /tmp/cognigy-plugin/plugin/skills/troubleshooting .claude/skills/troubleshooting
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Troubleshooting in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Troubleshooting automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Troubleshooting nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Troubleshooting

Agent kind errors

  • error: "use_manage_agent" from create_ai_agent — nothing was created. This environment builds AI Agents with manage_agent; use it, or retry with legacy: true only if the user asked for a legacy agent.
  • error: "ai_agents_unavailable" from manage_agent — this environment or organisation has no AI Agents. Build the agent with create_ai_agent and say nothing about agent kinds.
  • error: "custom_system_prompt_unavailable" — the environment does not offer a custom system prompt; shape the agent through role, description and instructions.
  • An AI Agent answers with empty text although its LLM works — check for a pre-turn hook (get_resource { resourceType: "agent", id, projectId } → hooks). The hook Flow runs before every answer and must end with the Continue to AI Agent node (continueToAgent); a Flow without it leaves the turn without a reply. Test with manage_agent { operation: "update", hooks: null }.
  • An AI Agent's Execute Tool Flow tool returns "The flow finished without returning an answer." — the Flow ended without reaching its Tool Result node (toolResult), or its answer rendered empty. "The flow failed before returning an answer." means the Flow hit an error; check the project logs.
  • A 404 on an agent id whose message says "legacy" or "AI Agent" — the id belongs to the other kind. Use the use argument from list_resources { resourceType: 'agent', projectId }.

Agent returns empty response

  1. Inspect the agent flow and tools first:
    • list_resources { resourceType: "tool", aiAgentId }
    • duplicate toolId values can cause failed tool execution and empty responses — this is a flow issue, not an LLM or connection issue; remove the duplicate rather than reconfiguring the LLM
  2. Check LLM exists: list_resources { resourceType: "llm_model", projectId } If none: run setup_llm
  3. Check agent description is not empty: get_resource { resourceType: "agent", id }
  4. Check endpoint is connected: get_resource { resourceType: "endpoint", id } Verify flowId is set and URLToken exists
  5. Endpoint JUST created (seconds ago)? Endpoint config propagates briefly, and a session whose FIRST message hit the stale config stays cached as broken — wait a few seconds and retry with a NEW sessionId, not the same one.
  6. LLM Prompt flows: the assigned LLM must have a connection (connectionId set on the llm_model) or be NiCE-provided (isInPlatformLlm: true, needs none). Any other connectionless LLM fails silently — the node's default error handling is "continue" with an empty message, which looks like an empty response.

talk_to_agent fails (any HTTP error or timeout)

talk_to_agent sends through Cognigy Endpoint Test Mode (/test/<token>) so test messages are not counted as billable. It never re-sends a failed message on the regular (billable) endpoint by itself; a failure comes back as error with testMode, endpointUrl and status-aware _hints.

Step 1, always: find out whether the message was processed. An HTTP error does not prove it was not. A REST endpoint's Execution Finished transformer runs after the flow and can return any status (a 404 included), and a gateway timeout can hide a completed execution. Waiting or reusing the sessionId does not prevent a duplicate. Check:

  • get_resource { resourceType: "conversation", id: "<sessionId>" } for the transcript (needs the endpoint to collect conversations), or
  • continue the same sessionId with a neutral follow-up ("what did you just do?"), or verify the side effects of the agent's tools.

Re-send the message only if it was not processed.

Step 2: read the status, but do not over-interpret it. Cognigy does not document how the 600-test-messages-per-hour cap is signalled, and the trial platform answers an empty 400 for an unknown token on both the test and the regular path, so a status alone never identifies a test-mode problem.

  • 404 has three possible meanings: the /test/ route does not exist (platform older than Cognigy 4.27), the URL token is unknown (the regular URL would 404 too), or a transformer returned 404 after the flow ran. Confirm route absence independently before considering billable mode: the Cognigy release is older than 4.27 (Admin Center or release notes), and get_resource { resourceType: "endpoint", id, raw: true } shows the token matches and no Execution Finished transformer is enabled.
  • 400 — unknown URL token, invalid payload, or a transformer-set status. Verify the endpoint (channel: rest, URLToken present) and the payload.
  • 401 / 403 — authorization, IP/WAF block or an endpoint restriction, which would hit the regular URL as well. Fix what detail names; do not read it as "quota exhausted".
  • 429 — throttling, either general rate limiting or the documented 600-per-hour test budget. Pause; do not switch to testMode: false to get around it.
  • 5xx / timeout / DNS — the request may have reached the flow before failing. Not evidence that test mode is unsupported.

Step 3: testMode: false is a billable production message. Use it only when the user explicitly wants one, or when all of the following hold: the original message is confirmed unprocessed, the platform is confirmed to lack test mode, and the user has accepted the billing.

create_ai_agent failed

  • The tool auto-rolls back created resources on failure. Safe to retry.
  • "Could not find entry node": transient issue, retry immediately
  • Endpoint step error: check project exists and is accessible

"Resource not found" errors

  • All IDs are 24-char hex strings (e.g., 507f1f77bcf86cd799439011)
  • UUIDs (36-char with dashes) are referenceIds — most tools need _id, not referenceId
  • Use list_resources to find valid IDs

401 / 403 errors, or "who changed this?"

  • get_resource { resourceType: "user", id: "me" } returns the account the API key belongs to, plus its roles. Check roles before blaming the API for a 403.
  • createdBy / lastChangedBy on any resource are opaque user ids. Never assume one is the current user — compare it to the id from user/me. List responses omit them; read them with get_resource { ..., raw: true }.
  • Audit events answer "what did the plugin change?" / "who changed what?": list_resources { resourceType: "audit_event", actor: ["mcp-plugin"], sort: "timestamp:desc" } lists this plugin's changes; actor: ["human"] the ones people made by hand. It is organisation-scoped (no projectId) and needs Cognigy 2026.17.0+ plus an API key with Admin Center access. performedBy is set only for non-human actors — an event without it was performed by a person. On older platforms the actor / eventType filters are applied to the fetched page only (the result says so, and total then counts that page). get_resource { resourceType: "audit_event", id } returns one event with its attribution.

Finding the most recently touched resource

  • Sort server-side instead of paging through everything and comparing by hand: list_resources { resourceType: "project", sort: "lastChanged:desc", limit: 5 }
  • sort takes field:direction and works on any field the resource returns.

Every tool call fails with the same error, but the tool list works

Suspect the network path, not the platform — listing tools makes no HTTP request, so a working list plus a uniformly failing call means requests are not reaching Cognigy.

  • On a corporate network, set HTTPS_PROXY (and NO_PROXY for hosts to reach directly) in the MCP server env block. GUI clients start the engine with a minimal environment and usually do not inherit shell proxy variables.
  • If the proxy inspects TLS, also set NODE_EXTRA_CA_CERTS to the corporate root CA file, then restart the client — Node reads it only at startup. Do not set NODE_TLS_REJECT_UNAUTHORIZED=0.
  • An error quoting an HTML body, or naming a proxy, points at the proxy rather than Cognigy; the quoted text is the proxy's own message.
  • "Cannot use the configured proxy ..." means the proxy setting itself is malformed or unsupported (SOCKS proxies are not supported). Requests fail instead of connecting directly, so the API key never leaves the sanctioned path; exclude the host with NO_PROXY if a direct connection is intended.
  • DEPTH_ZERO_SELF_SIGNED_CERT (or SELF_SIGNED_CERT_IN_CHAIN) with no proxy in play means the Cognigy host itself presents a certificate Node does not trust — typical for a local cluster such as https://api.test. Node ignores the operating-system trust store, so add the certificate (or its issuing local CA) via NODE_EXTRA_CA_CERTS, then restart the client. Do not set NODE_TLS_REJECT_UNAUTHORIZED=0.
  • "Timed out ... connecting through the proxy" means the proxy accepted the connection but never completed the tunnel. Check the proxy address, or raise COGNIGY_PROXY_CONNECT_TIMEOUT_MS (default 30000) if it is merely slow.
  • LOG_LEVEL=debug logs the proxy actually in use at startup.

setup_llm fails

  • See the llm-providers skill for valid provider and model strings
  • Verify the credentials (apiKey, or AWS access keys / role ARN for awsBedrock) have access to the specified model

delete_resource fails

  • Verify the resource ID is a 24-char hex string (not a referenceId UUID)
  • Use list_resources to confirm the resource exists before deleting
  • Flows, projects and agents are never hard-deleted — delete_resource renames them with a DELETE_ prefix (markedForDeletion: true) so they can be deleted manually in the Cognigy UI. Agent/flow deletion deactivates referencing endpoints (reversible); a renamed project's contents stay live.
  • Marking is idempotent: an already-renamed resource returns alreadyMarked: true. Agent deletion defaults to cascade: true (deactivate endpoints, rename the companion flow, then the agent); cascade: false renames only the agent. Because the renamed agent still exists, re-running create_ai_agent with the original name creates a NEW agent.
  • endpoint, llm_model, knowledge_store, function and tool are permanently deleted — no undo. For tool, pass aiAgentId (or flowId for an LLM Prompt flow); the handler resolves and deletes the underlying flow node.

Häufig gestellte Fragen

Was macht der KI-Skill Troubleshooting?

Use when a Cognigy agent returns empty responses, a tool call or create_ai_agent fails, a resource is not found, setup_llm fails, or you need to diagnose a Cognigy MCP problem.

Warum Troubleshooting in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Troubleshooting besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Troubleshooting in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/Cognigy/cognigy-plugin/tree/main/plugin/skills/troubleshooting ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Troubleshooting nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Troubleshooting verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Troubleshooting damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Troubleshooting kostenlos?

Ja. Der Skill wird von Cognigy auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇