Borrowing it
Nothing to install: this file belongs to Cognigy/cognigy-plugin. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Cognigy/cognigy-plugin/main/.claude/skills/add-client-platform/SKILL.mdgit clone --depth 1 https://github.com/Cognigy/cognigy-pluginWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/cognigy/cognigy-plugin/add-client-platform)<a href="https://agentmods.dev/skills/cognigy/cognigy-plugin/add-client-platform"><img src="https://agentmods.dev/badge/skills/cognigy/cognigy-plugin/add-client-platform/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/cognigy/cognigy-plugin/add-client-platform"><img src="https://agentmods.dev/badge/skills/cognigy/cognigy-plugin/add-client-platform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00037 | $0.02954 |
| Opus 5.5 | $0.00015 | $0.01182 |
| Sonnet 5.5 | $0.00007 | $0.00591 |
| Haiku 4.5 | $0.00004 | $0.00295 |
Grade C, and why
add-client-platform scanned grade C with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
**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 merg Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- **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. Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
**Spawn through `src/install/cliRunner.ts`.** `detectOnPath()` + `runCliTool()` handle the Windows `.cmd` shim quoting. Never call `spawnSync` on a client CLI directly. How it starts
The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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:
- Does it read an existing manifest of ours as a fallback? If so, what does the fallback lose (presentation fields, credential handling)?
- Does it interpolate credential placeholders (
${user_config.*}or equivalent)? Most clients do not — see the credential rule below. - Is there a CLI that owns its config file, or must we merge the file ourselves?
- 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
| Archetype | Reference | How it works | How updates reach the user |
|---|---|---|---|
| Repo-marketplace plugin | claude-code, codex |
Client 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 merge | claude-desktop |
No 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 register | antigravity |
The 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 only | other-hosts |
The 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. |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed fbf1b7ea92b3
- 2mo ago First seen · 105 lines · 37 tokens per session scan C a914b17b4e64
add-client-platform is a skill published in the GitHub repository Cognigy/cognigy-plugin (18 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 2,954 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 3 findings (asks for root, reads agent configuration directories, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
add-client-platform compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| add-client-platformCognigy/cognigy-plugin | Skill | 18 | yesterday | MIT | C | 37 | Claude Code |
| imagegenopenai/codex | Skill | 133k | yesterday | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 99k | yesterday | Apache-2.0 | A | 19 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 79k | 4d ago | MIT | A | 200 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 313k | 3d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 143k | yesterday | MIT | A | 95 | Claude Code |
| next-partial-prefetching-adoptionvercel/next.js | Skill | 143k | yesterday | MIT | A | 103 | Claude Code |