Agent skill · software engineering · jeremylongshore

cohere-install-auth

Install current Cohere v2 SDKs, store an API key safely, and verify access without spending inference tokens. Use when connecting a repository or runtime to Cohere. Trigger with "Cohere auth", "install Cohere SDK", or "CO_API_KEY setup".

Why this skill is useful

Adds specific commands and configuration steps for setting up the Cohere SDK that the AI wouldn't reliably generate on its own.

What it needs

Requires node, python installed locally. Requires cohere account access. About 2k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Cohere Installation and Authentication Overview Select the current v2 client for the repository, keep credentials outside source control, and prove access with a read-only Models API request. Prerequisites The target repository, runtime, environment, and accountable owner An approved Cohere team and key for any live verification Current quality, security, privacy, capacity, and change-control requirements Tool Discipline 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. Current Contract TypeScript uses CohereClientV2; Python uses cohere.ClientV2. Use COAPIKEY as the local injection contract or pass an approved secret reference explicitly. Pin a compatible SDK range and commit the resolved lockfile; do not copy an unbounded install command into CI. Verify authentication by listing accessible models rather than generating billable output. Authentication Use an environment-specific key injected from an approved secret manager. Never print, persist, commit, or place COAPIKEY 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. Instructions 1. Inspect manifests, lockfiles, existing provider adapters, and secret-loading conventions. 2. Choose TypeScript, Python, or REST and pin the current compatible SDK major. 3. Document COAPIKEY without writing its value, then update ignore rules if local environment files are used. 4. Initialize the v2 client with the injected key and an explicit timeout. 5. Run one read-only model-list probe and record the SDK version, status, and model count only. 6. Assign ownership for key creation, rotation, revocation, and environment separation. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/cohere-install-auth--1bcfda

View the source on GitHub

Browse the @skills marketplace