Logo vun Docs Lookup

Docs Lookup

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

Iwwersiicht

EditeurCognigy
Repositorycognigy-plugin
Skill-Nummdocs-lookup
Stären
20
Forks
14
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum Cognigy op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Docs Lookup an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/Cognigy/cognigy-plugin/tree/main/plugin/skills/docs-lookup
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Docs Lookup an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Docs Lookup automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Docs Lookup net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Docs Lookup op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Docs Lookup besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Docs Lookup an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Cognigy/cognigy-plugin/tree/main/plugin/skills/docs-lookup an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Docs Lookup benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Docs Lookup benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Docs Lookup domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Docs Lookup gratis?

Jo. De Skill gëtt vum Cognigy ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇