Λογότυπο Add Client Platform

Add Client Platform

Οργανισμός
Cognigy
add-client-platform

Add support for a new client platform (a new AI client/IDE the Cognigy plugin can be installed into) — manifests, installer wiring, release plumbing, docs

Επισκόπηση

ΕκδότηςCognigy
Αποθετήριοcognigy-plugin
Όνομα δεξιότηταςadd-client-platform
Αστέρια
20
Forks
14
Συνοδευτικά αρχεία
Μόνο οδηγίες
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Αυτοτελής

    Όλα όσα χρειάζεται το μοντέλο περιλαμβάνονται στις οδηγίες — χωρίς επιπλέον αρχεία για συγχρονισμό.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε από Cognigy στο GitHub. Διαβάστε το πηγαίο περιεχόμενο πριν εγκαταστήσετε τη δεξιότητα.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Add Client Platform στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/Cognigy/cognigy-plugin/tree/main/.claude/skills/add-client-platform
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Νέα δεξιότητα → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που διαβάζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

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/.claude/skills/add-client-platform .claude/skills/add-client-platform
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Add Client Platform σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Add Client Platform μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Add Client Platform δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλα κατά τη συνομιλία

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Add a new client platform to the NiCE Cognigy Plugin — a new AI client the plugin can be installed into (Cursor, Windsurf, Zed, Copilot, JetBrains, …). The four existing clients (claude-code, claude-desktop, codex, antigravity) are the reference implementations; copy whichever one matches the new client's shape rather than inventing a new pattern.

Before writing anything: check whether it already works

Several clients read each other's manifests. Codex, for example, resolves plugin manifests in the order .codex-plugin/plugin.json → .claude-plugin/plugin.json → .cursor-plugin/plugin.json, and marketplace manifests as .agents/plugins/marketplace.json → .agents/plugins/api_marketplace.json → .claude-plugin/marketplace.json → .cursor-plugin/marketplace.json. So a new client may already discover the plugin through a fallback path.

Verify against the client's source or official docs, not blog posts, and check specifically:

  1. Does it read an existing manifest of ours as a fallback? If so, what does the fallback lose (presentation fields, credential handling)?
  2. Does it interpolate credential placeholders (${user_config.*} or equivalent)? Most clients do not — see the credential rule below.
  3. Is there a CLI that owns its config file, or must we merge the file ourselves?
  4. How does the client update an installed plugin? See the update rule below — this is the question most easily assumed and most often wrong.

Only the parts a fallback can't cover need new code.

Pick the archetype

ArchetypeReferenceHow it worksHow updates reach the user
Repo-marketplace pluginclaude-code, codexClient discovers plugin/.<client>-plugin/plugin.json via a marketplace manifest in this repo. Installer drives the client CLI (marketplace add), user finishes in the client's plugin UI.The client re-checks the repo ref and swaps the cached plugin; the new manifest's engine pin pulls the matching engine. Only works if the ref moves — pin it to main explicitly.
Direct config mergeclaude-desktopNo CLI. Installer reads/merges the client's own MCP config file, preserving every other key, and chmods it 0600 when it holds secrets.Nothing in the client updates. The MCP entry points at the launcher, which pulls @latest each boot.
Packaged extension(removed — was gemini; see git history for scripts/build-gemini-extension.mjs + src/install/gemini.ts)A build script emits a release asset; installer runs the client's extensions install against the GitHub release.The client's own extension auto-update, if it has one — install with that flag on.
Stage and registerantigravityThe installer builds a plugin directory itself and writes the client's own registry entries — no client CLI involved, works before the client's first launch.Nothing in the client updates — we staged the files, so we own refreshing them. The launcher re-stages them after an engine bump.
Credentials onlyother-hostsThe client installs the plugin itself (or takes a hand-written MCP entry); the installer writes ~/.cognigy-plugin/config.json and wires nothing.The host owns the version. Say so and stop.

Most new clients are archetype 1 or 2. "Stage and register" is the answer when the client has a real plugin format but its install command is unreliable to shell out to — see the Antigravity notes in .claude/CLAUDE.md for why reproducing the command beat calling it. Reach for "credentials only" when the client can already find and install the plugin but has no way to ask the user for an API key — that is the whole gap, so filling it is the whole install.

Files to change

FileWhat to add
src/install/<client>.tsNew module. Detection, arg builders, install<Client>(), uninstall<Client>(), and an "is it wired?" probe. Mirror src/install/codex.ts (CLI-driven) or src/install/claudeDesktop.ts (file-merge).
src/setup.tsAdd the key to Client, ALL_CLIENTS, CLIENT_LABELS, detectClients(); a branch in runInstall(); a line in runStatus() and runUpdate(); a runUninstall<Client>() function called from runUninstall().
plugin/.<client>-plugin/plugin.jsonOnly for archetype 1, and only if the client's own manifest schema carries fields the fallback can't.
scripts/sync-plugin-version.mjsAdd any committed manifest carrying a version field or an engine pin to FILES.
scripts/check-plugin-manifest.mjsGuard the new committed manifest's published form (npx command, alias pin).
.releaserc.jsonAdd the same committed manifests to the @semantic-release/git assets. Add a build step to prepareCmd + a GitHub asset only if the client needs a packaged artifact (the removed build-gemini-extension.mjs in git history is the pattern).
src/__tests__/install<...>.test.tsArg builders, config merge/remove round-trips, detection. Follow installCodex.test.ts.
docs/install/<client>.mdInstall, credentials, update, uninstall — same four sections as the existing guides.
README.mdRow in the per-client support table — including the Auto-updates cell — link in the docs list, and the credentials paragraph if this client uses a different channel.

Do not touch src/index.ts, the tools, or the skills — the MCP server itself is client-agnostic.

Hard rules

Credentials. ${user_config.*} interpolation is a Claude Code feature, not an MCP standard. Codex and Antigravity have no equivalent. Emitting it in a manifest for a client that doesn't interpolate is worse than omitting it: the engine receives the literal string ${user_config.cognigy_api_key}, which is non-empty, so loadConfig() (src/config.ts) treats the environment as configured and skips the ~/.cognigy-plugin/config.json fallback — every API call then fails with a mangled base URL. For any client without verified interpolation, ship the MCP entry with no env block and rely on writeUserConfigFile(creds) in the installer.

Engine pinning. Two different specs, deliberately:

  • Committed manifests pin the exact release: cognigy-engine@npm:@cognigy/plugin-engine@<version>. Add the file to sync-plugin-version.mjs, check-plugin-manifest.mjs, and the release git assets, or it will drift out of lockstep.
  • User-global config files (~/.codex/config.toml, extension manifests) use @latest, because our releases never re-sync a file that lives in the user's home directory.

The npm alias form is required in both cases. A plain @cognigy/plugin-engine@<v> spec makes npm exec treat this repo's own package.json as satisfying the pin when a session is rooted here, skip the install, and fail with cognigy-mcp: command not found (MCP -32000).

Never hand-bump versions. semantic-release owns every version field.

Let the client's CLI own its config. If the client ships a CLI that writes its own config (codex mcp add), drive the CLI and print a paste-able snippet as fallback when the binary isn't on PATH. Only parse and merge a config file yourself when there is no CLI (Claude Desktop). When merging, preserve all other servers and top-level keys, back up the original once (never overwrite an existing .bak), and chmod 0600 if it holds secrets.

A client CLI is not always the right tool. Driving one costs a PATH dependency, a Windows .cmd spawn hazard, and whatever semantics the command happens to have — agy plugin install, for instance, merges into an existing plugin directory instead of replacing it, so a previous version's files survive an upgrade. When the command does something simple and documented, reproducing it directly is more predictable. Verify byte-equivalence against a real CLI-driven install before choosing this.

Spawn through src/install/cliRunner.ts. detectOnPath() + runCliTool() handle the Windows .cmd shim quoting. Never call spawnSync on a client CLI directly.

No executable scripts under plugin/. Claude Desktop security-scans plugin files server-side; a committed script that installs packages or spawns processes fails the entire marketplace add. Manifest-declared npx commands are not scanned files, so they pass.

Purge is global. ~/.cognigy-plugin is shared by every client. Uninstall calls purgeUserHome() once, after the per-client loop — never inside a client's uninstall function.

Fail loud vs. log-and-continue. Throw when the load-bearing step fails (the MCP server never got wired) — and say in the error that creds are already written and which commands to run by hand. Log-and-continue for optional steps like marketplace add, which older client versions may not support; tools still work without it.

Work out how updates reach the user, and prove it. This has been wrong twice, in both directions, and each time the docs asserted a behaviour nobody had checked. Answer three questions against the client's source or official docs:

  1. Does the client refresh the plugin source on its own? Codex does (it re-checks Git marketplaces at plugin startup); Antigravity does not (its CLI has no update command at all, and agy plugin install only copies a local directory).
  2. Is anything pinned to something that stops moving? A Git marketplace registered without an explicit ref inherits the branch of whatever checkout the installer ran in. Auto-update then works perfectly and finds nothing, forever. Pin refs explicitly.
  3. Do plugin files update, or only the engine? Skills and agents staged as plain files never change on their own. If the client won't refresh them, the launcher must — updateAntigravity() called from desktopLauncher.ts, version-gated so it runs once per release.

Then wire runUpdate() to actually do the work. A branch that prints a claim instead of calling something is worse than no branch: it reads as covered in review and in the docs. Record the result in the README's Auto-updates column (Automatic / Enable once / Manual) rather than in prose.

The launcher can't update itself. ~/.cognigy-plugin/desktop-launch.mjs lives outside the versioned engine directory, so an engine bump never rewrites it. Any client whose install writes it must also rewrite it on update, or launcher fixes will never reach existing installs.

Detection probes both PATH and config dir. A client's IDE extension or desktop app often shares the config directory without exposing a CLI. See the codex/antigravity entries in detectClients().

Every entry in ALL_CLIENTS needs a full lifecycle. runUninstall() iterates the list, so a client with only an install branch silently does nothing when the user targets it with --client. If there is genuinely nothing to undo, say that and point at what does own the cleanup — don't leave the branch out.

Uninstall says what it cannot remove. When the plugin half of an install lives in an account or a GUI rather than a local file, the installer cannot touch it — print the manual step (Claude Desktop and Codex both do this) so the leftover isn't a surprise.

Steps

  1. Research the client: manifest schema, marketplace/discovery path, CLI surface, credential handling, and how it updates an installed plugin. Confirm against source or official docs.
  2. Decide the archetype and the credential channel.
  3. Write src/install/<client>.ts, copying the closest existing module's structure and doc-comment style — the header comment should explain why the approach was chosen, not just what it does.
  4. Wire it into src/setup.ts (all seven touch points listed above).
  5. Add manifests + release plumbing only if the client needs a committed manifest or a build artifact.
  6. Tests, then docs/install/<client>.md, then the README table.
  7. Verify: npx tsc -p tsconfig.json --noEmit, npm test -- --runInBand, npm run check:manifest, npx prettier --write <changed files>.
  8. Commit with a feat(installer): scope so semantic-release ships it.

Notes

  • .agents/plugins/marketplace.json (Codex's canonical repo-marketplace path) is intentionally absent: .claude-plugin/marketplace.json is a supported entry in Codex's lookup list, so a second copy would only add drift. Add it if we ever need Codex-native per-plugin fields such as policy or a non-local source.
  • npm run plugin:dev generates a Claude-Code-only dev marketplace and skips .codex-plugin. Extending it to a new client is optional; if you don't, say so in the client's doc.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Add Client Platform;

Add support for a new client platform (a new AI client/IDE the Cognigy plugin can be installed into) — manifests, installer wiring, release plumbing, docs

Γιατί να χρησιμοποιήσετε τη δεξιότητα Add Client Platform στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Add Client Platform είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη Add Client Platform στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε το https://github.com/Cognigy/cognigy-plugin/tree/main/.claude/skills/add-client-platform. Το TypingMind διαβάζει το αρχείο SKILL.md και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Add Client Platform;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη Add Client Platform;

Με όσα θέλετε. Εφόσον ένα μοντέλο υποστηρίζει δεξιότητες, μπορείτε να χρησιμοποιήσετε τη Add Client Platform με αυτό — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama και άλλα — όλα στο TypingMind με τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Add Client Platform;

Ναι. Δημοσιεύεται στο GitHub από τον χρήστη Cognigy με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇