Logotipo de Docs Lookup

Docs Lookup

Organización
Cognigy
docs-lookup

Use 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.

Descripción general

EditorCognigy
Repositoriocognigy-plugin
Nombre de la habilidaddocs-lookup
Estrellas
20
Forks
14
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por Cognigy en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Docs Lookup en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/Cognigy/cognigy-plugin/tree/main/plugin/skills/docs-lookup
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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/docs-lookup .claude/skills/docs-lookup
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Docs Lookup en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Docs Lookup automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Docs Lookup no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Cognigy Docs Lookup

The plugin bundles the official Cognigy documentation MCP server (docs.cognigy.com). Use it as the source of truth for platform questions — the platform changes faster than model training data. Prefer documented answers over prior knowledge, and link the doc page you used.

Default to the filesystem tool, not search. Cognigy's docs pages are very large (parameter-details.mdx alone is 62 KB) and search_cognigy_documentation returns matched pages whole rather than as excerpts, so its payload scales with page size instead of relevance. Measured: a Voice Gateway barge-in query returned 90 KB via search vs ~4 KB via rg; a conceptual "which tool does the AI Agent call" query returned 280 KB via search — exceeding the tool-result limit and yielding nothing usable — vs ~3 KB via rg.

Tools

  • query_docs_filesystem_cognigy_documentation — the primary tool. Read-only shell-like queries over a virtual filesystem of every docs page (.mdx) plus OpenAPI specs. The server documents support for rg, grep, find, tree, ls, cat, head, tail, stat, wc, sort, uniq, cut, sed, awk, jq and basic text utilities; run --help on any command to confirm usage. Flag coverage is narrower than GNU (e.g. cat -A is rejected), so keep flags conventional. These run inside the MCP tool's virtual filesystem — NEVER in the local shell. Each call is stateless: the working directory resets to /, so use absolute paths or chain with && (cd /api-reference && ls).
  • search_cognigy_documentation — semantic search. Takes only a query string: no result limit, no relevance floor, no filters. Fall back to it only when you cannot guess the docs' vocabulary at all. Expect a very large result; when it overflows into a file, triage by extracting the Title:/Page: lines, then read the best one or two pages with the filesystem tool — never read the dump whole.
  • submit_feedback — report incorrect, outdated, or confusing docs to the Cognigy docs team. Offer this when you and the user hit a genuine documentation gap.

Workflow

  1. Orient (only when unsure where a topic lives): tree / -L 2. Top-level sections are ai/, voice-gateway/, webchat/, api-reference/, api-reference-simulator/, insights/, live-agent/, agent-copilot/, ops-center/, xApps/, click-to-call/, release-notes/, openapi/, help/.

  2. Locate — cast wide. rg -l -i "term1|term2|term3" /<section>/ lists candidate files. Use a deliberately broad alternation of synonyms and phrasings: rg is lexical, so a too-narrow pattern either returns nothing or — worse — returns only tangential pages while missing the right one, with nothing to signal the miss (see the worked example below). Match the docs' own title-case UI labels ("Tool Choice", "Barge In", "Set Session Config"), not the user's phrasing.

  3. Extract — narrow. rg -n -i -A3 "<best term>" /<path>.mdx pulls the exact rows with context. Prefer this over cat on a large page; use head -200 /<path>.mdx when you need the page's structure, and wc -c /<path>.mdx first if you're unsure of its size.

  4. Answer from what the docs say and cite the page link. Strip the .mdx suffix to build the public URL — the filesystem path is internal and the .mdx form 404s. Filesystem paths already start with /, so do not add another slash:

    /ai/agents/develop/node-reference/ai/ai-agent.mdx        ← filesystem path
    https://docs.cognigy.com/ai/agents/develop/node-reference/ai/ai-agent   ← cite this

    If docs and observed API behavior conflict, say so explicitly — the plugin's own skills (flow-nodes, troubleshooting) capture hard-won API gotchas the public docs may not cover.

Anchors don't work in directory mode. ^ and $ match when the target is an explicit file path, but silently match NOTHING when the target is a directory (cause unknown — some quirk of how the virtual filesystem serves directory traversal). Verified: rg -c '^REST Endpoint' /api-reference/flows/create-a-flow.mdx → 1, but rg -l '^REST Endpoint' /api-reference/flows/ → 0 files, while the same pattern unanchored → 13 files. So: search directories unanchored, and only anchor once you are pointing at a single file.

Worked example — "how does the AI Agent Node decide which tool to call?"

rg -l -i "tool.?selection|which tool|selects a tool|tool choice" /ai/
  → /ai/agents/develop/node-reference/ai/ai-agent.mdx  (+3 others)

rg -n -i -A3 "tool choice" /ai/agents/develop/node-reference/ai/ai-agent.mdx
  → the Tool Choice parameter table (Auto / Required / None) and the
    "Avoiding Infinite Loops when Tool Choice is Required" section

Two calls, ~3 KB, complete answer.

Note the wide alternation in step 1 — and note how it fails when narrowed. rg -l -i "tool.?selection|which tool" /ai/ does not come back empty; it returns exactly one file, /ai/agents/develop/node-reference/service/add-transcript-step.mdx, and silently misses ai-agent.mdx, the page that actually documents the setting. A plausible wrong page is more dangerous than no result, because nothing signals that you should keep looking. The docs call the setting Tool Choice; matching their label is what separates the two outcomes.

REST API routes — use find, not rg

/api-reference/ is organised as <resource>/<verb-phrase>.mdx (e.g. /api-reference/flows/create-a-flow.mdx), and every page carries its route on one line as REST Endpoint <METHOD> <path>. Because the filenames are predictable English, find by filename beats keyword guessing — this sidesteps the vocabulary problem entirely.

# intent → page (expect near-miss siblings; pick by name)
find /api-reference -iname "*create-a-flow*"
  → /api-reference/flows/create-a-flow.mdx
  → /api-reference/flows/create-a-flow-from-a-child-node.mdx

# whole API surface for one resource, ~13 compact lines
rg -N --no-filename "REST Endpoint" /api-reference/flows/ | sort -u
  → GET|PATCH|POST /v2.0/flows, DELETE|GET|PATCH /v2.0/flows/{flowId},
    GET /v2.0/flows/{flowId}/chart, POST /v2.0/flows/{flowId}/clone, …

# route → page (reverse lookup; unanchored, so sub-routes also match)
rg -l "REST Endpoint POST /v2\.0/flows" /api-reference/flows/

Never cat an API-reference page. Half to nine-tenths of each one is the identical 400/401/402/403/404/405/409/413/5xx error-envelope boilerplate, and the response schema usually repeats the request schema. Cut to the useful part:

sed -n '/^REST Endpoint/,/^Responses:/p' /api-reference/flows/create-a-flow.mdx

That yields route + summary + query/header params + request body in 946 bytes vs 6,627 for the full page. Measured across three sampled endpoint pages the reduction ranged 3.4×–7.4× (create-an-ai-agent 9,800→2,919; create-a-flow 6,627→946; create-a-knowledge-store 5,867→796). Add /^Responses:/,/^400:/p as a second range when you need the success-response shape.

When NOT to use

  • Plugin/tool mechanics (which MCP tool to call, tool arguments) — that is this plugin's own skills, not the public docs.
  • Live project state (what agents/flows exist) — use list_resources / get_resource.

Preguntas frecuentes

¿Qué hace la habilidad de IA Docs Lookup?

Use 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.

¿Por qué usar Docs Lookup en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Docs Lookup está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Docs Lookup en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Cognigy/cognigy-plugin/tree/main/plugin/skills/docs-lookup. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Docs Lookup?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Docs Lookup?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Docs Lookup con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Docs Lookup?

Sí. Cognigy la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇