/cognigy:troubleshootingfrom cognigy
Diagnoses Cognigy agent issues: empty responses, tool call failures, resource not found, and LLM setup problems. Guides through agent kind errors, duplicate tool IDs, endpoint propagation, and hook flow debugging.
Ships in cognigy. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.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 }.toolResult), or its answer rendered empty. "The flow failed before returning an answer." means the Flow hit an error; check the project logs.use argument from list_resources { resourceType: 'agent', projectId }.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 LLMconnectionId 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 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), orsessionId 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.
/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.channel: rest, URLToken present) and the payload.detail names; do not read it as
"quota exhausted".testMode: false to get around it.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.
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 }.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.sort takes field:direction and works on any field the resource returns.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.
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.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.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.COGNIGY_PROXY_CONNECT_TIMEOUT_MS (default 30000) if it is merely slow.LOG_LEVEL=debug logs the proxy actually in use at startup.tool, pass aiAgentId (or flowId for an LLM Prompt flow); the handler resolves and deletes the underlying flow node.What SKILL.md sets; muted values are Claude Code's defaults
18 skills in this plugin
/a2a-setupUse when the user explicitly asks for A2A (Agent2Agent), wants an agent to call an external / third-party A2A agent or one in another project or tenant, or wants to expose a Cognigy agent to outside A2A callers. Covers the manage_a2a_server endpoint and the create_tool { toolType: 'a2a' } tool type. NOT for connecting agents that live in the same project — those use the native Handover to AI Agent tool./agent-creationUse when the user wants to build, create, or set up a new Cognigy AI Agent from scratch, or change an agent's settings, skills, tools, knowledge or system prompt, or make it answer faster — covers checking what the environment supports, listing projects, ensuring an LLM exists, creating the agent, testing it, and refining it./agent-red-teamUse when the user wants to red-team, adversarially test, jailbreak-test, or probe the guardrails of a Cognigy AI Agent — covers scoping consent, deriving the agent's policy surface from its config, generating targeted probes, scoring verdicts, and producing a standardised findings report./docs-lookupUse when the user asks how a Cognigy.AI feature, node, endpoint, setting, or concept works, asks for Cognigy documentation, best practices, or release/version behavior, or when you are unsure of platform behavior or valid configuration values and need to consult the official docs before answering or building./environmentsUse when Cognigy tools ask for an "environment", when the user works with several Cognigy environments or tenants (trial, a customer tenant), wants to compare or copy something between environments, or asks how to add another Cognigy environment./flow-nodesUse when adding, editing or debugging custom logic inside a Cognigy tool branch with manage_flow_nodes (code, HTTP Request, if/else and other nodes), or when rendering/visualizing a flow as a diagram — supported node types, config schemas, placement rules, the tool-first workflow, and the render operation.npx claudepluginhub cognigy/cognigy-plugin --plugin cognigyOther plugins' skills for the same job