/cohere-pack:cohere-upgrade-migration [repository-path] [from-version] [to-version]from cohere-pack
Migrates Cohere API v1 or older SDK usage to v2 with contract tests, model lifecycle checks, canarying, and rollback. Use when upgrading Cohere dependencies or endpoints.
Ships in cohere-pack. 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.
Read when SKILL.md points to them.
Inventory legacy behavior, move through the documented v2 contract, and prove semantic parity before removing rollback paths.
Use Read, Glob, and Grep to inspect code, configuration, and evidence. Use WebFetch only for current Cohere primary documentation. Use Write or Edit only when the user requested implementation and the exact target files are known; never write credentials or customer content.
messages instead of separate message, preamble, and managed conversation history fields.Use an environment-specific key injected from an approved secret manager. Never print, persist, commit, or place CO_API_KEY in an example. Confirm access with the least costly bounded operation appropriate to the task, and treat key creation, rotation, revocation, role changes, and production-capacity requests as owner-approved actions.
Do not expose or rotate keys, change Cohere Team roles, accept commercial terms, enable sensitive production data, increase spend or capacity, switch production models, send a support bundle, or execute model-proposed side effects without the accountable owner's approval. Keep diagnosis read-only unless implementation was requested.
Return the resolved API and model contract, files or settings inspected, evidence collected, validation result, remaining risk, owner, and rollback or next action. Redact keys, authorization headers, prompts, retrieved documents, embeddings, customer identifiers, and unrestricted environment output.
| Condition | Response |
|---|---|
| Missing v2 feature | Use an application-owned tool or retain a time-bound v1 path if still supported. |
| Embedding drift | Build a parallel index and cut over atomically. |
| Stream parser fails | Update from legacy text events to typed v2 events. |
| Quality regression | Stop the canary and preserve the old model path. |
Use this compact handoff shape to keep the selected scope, validation evidence, and operational result reviewable.
Input:
from=Client-v1; to=ClientV2; endpoints=chat,embed; canary=10%
Expected handoff:
contracts=pass; deprecated-calls=0; quality=within-threshold; rollback=ready
What SKILL.md sets; muted values are Claude Code's defaults
inherithighThree short reads, in order
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin cohere-pack24 skills in this plugin
/cohere-ci-integrationConfigure offline Cohere contract tests plus a protected, bounded live verification lane in CI. Use when testing Cohere integrations in pull requests or releases. Trigger with "Cohere CI", "Cohere GitHub Actions", or "Cohere integration tests"./cohere-common-errorsDiagnose Cohere v2 authentication, validation, model, quota, transport, and provider failures from redacted evidence. Use when a Cohere request fails. Trigger with "Cohere error", "Cohere 429", or "debug Cohere API"./cohere-core-workflow-aBuild a Cohere v2 RAG pipeline with asymmetric embeddings, retrieval, Rerank v4, grounded Chat, and citation validation. Use when implementing grounded question answering. Trigger with "Cohere RAG", "Cohere retrieval", or "Cohere citations".Other plugins' skills for the same job