/cohere-pack:cohere-core-workflow-a [repository-path] [retrieval-backend]from cohere-pack
Builds a Cohere v2 RAG pipeline with asymmetric embeddings, Rerank v4, grounded Chat, and citation validation. Use when implementing grounded question answering.
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.
Create a measurable retrieval pipeline that separates indexing, query embedding, candidate retrieval, reranking, generation, and citation checks.
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.
input_type=search_document and user queries with input_type=search_query.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 |
|---|---|
| Dimension mismatch | Stop and rebuild or select the index matching its recorded model contract. |
| No candidates | Return a grounded no-answer result instead of unconstrained generation. |
| Invalid citation | Reject or flag the answer and retain the evidence bundle. |
| Context overflow | Reduce or rechunk evidence; v2 does not provide legacy prompt truncation. |
Use this compact handoff shape to keep the selected scope, validation evidence, and operational result reviewable.
Input:
query=approved-fixture; retrieve=40; rerank=8; require-citations=true
Expected handoff:
answer=grounded; citations=valid; selected-doc-ids=recorded; eval=pass
What SKILL.md sets; muted values are Claude Code's defaults
inherithighThree short reads, in order
cohere, rag, retrieval-augmented-generation, embeddings, rerank, citations
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-bBuild a bounded Cohere v2 tool-use loop with JSON Schema, explicit dispatch, result correlation, and approval gates. Use when adding Cohere-powered agents or function calling. Trigger with "Cohere tool use", "Cohere agent", or "Cohere function calling".Other plugins' skills for the same job