Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ashish7802/awesome-api-skills --skill coheregit clone --depth 1 https://github.com/ashish7802/awesome-api-skillsWrote 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/ashish7802/awesome-api-skills/cohere)<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/cohere"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/cohere/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/ashish7802/awesome-api-skills/cohere"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/cohere.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.00000 | $0.00606 |
| Opus 5 | $0.00000 | $0.00303 |
| Sonnet 5 | $0.00000 | $0.00121 |
| Haiku 4.5 | $0.00000 | $0.00061 |
Grade A, and why
cohere scanned grade A with 0 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 yesterday.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cohere API Skill
Overview
Cohere provides industry-leading semantic search embeddings (Embed v3), document reranking (Rerank v3), and conversational reasoning with citations (Command R+).
Installation
npm install cohere-ai
pip install cohere
Authentication & Client Setup
import { CohereClient } from 'cohere-ai';
const cohere = new CohereClient({
token: process.env.COHERE_API_KEY,
});
Core API Operations
1. Embed v3 with Mandatory inputType
// When embedding documents into vector storage:
const docEmbeddings = await cohere.embed({
model: 'embed-english-v3.0',
texts: ['PostgreSQL handles ACID transactions', 'Redis is an in-memory cache'],
inputType: 'search_document', // Required for Embed v3
});
// When embedding user search query:
const queryEmbedding = await cohere.embed({
model: 'embed-english-v3.0',
texts: ['how does Postgres ensure data integrity?'],
inputType: 'search_query', // Required for Embed v3
});
2. Rerank Document Candidates (RAG Optimization)
const reranked = await cohere.rerank({
model: 'rerank-english-v3.0',
query: 'How to configure SSL certificates in Nginx?',
documents: [
'Nginx is an HTTP and reverse proxy server.',
'To configure SSL in Nginx, add ssl_certificate and ssl_certificate_key directives in the server block.',
'Apache HTTP server uses SSLCertificateFile.',
],
topN: 2,
});
console.log(reranked.results);
3. Command R+ Chat with Citations
const response = await cohere.chat({
model: 'command-r-plus',
message: 'Explain zero-knowledge rollups.',
documents: [
{ title: 'ZK Rollups', snippet: 'ZK-rollups bundle transactions into a single cryptographic proof.' },
],
});
console.log(response.text);
console.log(response.citations);
AI Pitfalls & Anti-Hallucination Guidelines
- Missing inputType: Failing to pass
inputType: 'search_document'or'search_query'will result in a 400 validation error in Embed v3. - Rerank Format: Ensure
documentspassed torerankare either strings or objects with atextproperty.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- yesterday First seen · 81 lines · 0 tokens per session scan A 87b6fd375d7e
cohere is a skill published in the GitHub repository ashish7802/awesome-api-skills (13 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 606 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-10.
Other skills, from other repositories
wshobson-rag-implementation
Skill "wshobson-rag-implementation" from ItamarZand88/awesome-agent-conventions, covering rag implementation, when to use this skill, core components, 1. vector databases and 2. embeddings.
dify-workflow
Use when dify AI workflow platform — LLM apps, knowledge bases, agents, workflow orchestration, API deployment. Use when working with dify workflow.
ai-expertise-engine
Comprehensive AI/ML expertise covering prompt engineering, LLM architecture, AI agent design, RAG systems, fine-tuning, AI safety, and cutting-edge AI research for building and leveraging AI systems.
context-retrieval
Retrieves and synthesizes relevant information from a knowledge base using RAG techniques to provide grounded context for a given query.
embedding-strategies
Select and optimize embedding models for semantic search and RAG applications. Use when choosing embedding models, implementing chunking strategies, or optimizing embedding quality for specific domains.
hybrid-search-implementation
Combine vector and keyword search for improved retrieval. Use when implementing RAG systems, building search engines, or when neither approach alone provides sufficient recall.