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 agentmods add skills/coco-research/coco/openai-apinpx skills add coco-research/coco --skill openai-apigit clone --depth 1 https://github.com/coco-research/cocoWrote 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/coco-research/coco/openai-api)<a href="https://agentmods.dev/skills/coco-research/coco/openai-api"><img src="https://agentmods.dev/badge/skills/coco-research/coco/openai-api.svg" alt="Measured on agentmods" 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.00096 | $0.08313 |
| Opus 5 | $0.00048 | $0.04156 |
| Sonnet 5 | $0.00019 | $0.01663 |
| Haiku 4.5 | $0.00010 | $0.00831 |
Grade B, and why
openai-api scanned grade B with 1 finding 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 2d 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.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
const response = await fetch('https://api.openai.com/v1/chat/completions', { method: 'POST', The source is not reproduced here
A licence we could not identify
The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.
What ships with it
27 files 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.
- NEXT-SESSION.md 9.2 KB
- references/audio-guide.md 5.0 KB
- references/cost-optimization.md 6.0 KB
- references/embeddings-guide.md 4.5 KB
- references/function-calling-patterns.md 4.0 KB
- references/images-guide.md 3.5 KB
- references/models-guide.md 7.6 KB
- references/structured-output-guide.md 4.9 KB
- references/top-errors.md 9.2 KB
- rules/openai-api.md 2.5 KB
- scripts/check-versions.sh 716 B runs code
- templates/audio-transcription.ts 6.5 KB runs code
- templates/chat-completion-basic.ts 526 B runs code
- templates/chat-completion-nodejs.ts 2.1 KB runs code
- templates/cloudflare-worker.ts 2.8 KB runs code
- templates/embeddings.ts 7.8 KB runs code
- templates/function-calling.ts 3.7 KB runs code
- templates/image-editing.ts 11 KB runs code
- templates/image-generation.ts 9.5 KB runs code
- templates/moderation.ts 11 KB runs code
- templates/package.json 624 B
- templates/rate-limit-handling.ts 10 KB runs code
- templates/streaming-chat.ts 815 B runs code
- templates/streaming-fetch.ts 2.4 KB runs code
- templates/structured-output.ts 12 KB runs code
- templates/text-to-speech.ts 11 KB runs code
- templates/vision-gpt4o.ts 12 KB runs code
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.
- 2d ago First seen · 1,139 lines · 96 tokens per session scan B acc149b78929
openai-api is a skill published in the GitHub repository coco-research/coco (218 stars, last pushed today), with no licence file. It adds 96 tokens to every session and 8,313 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (sends data to an external url). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
pageindex
PageIndex - Vectorless reasoning-based RAG for document retrieval.
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.
chroma-hybrid-search
Local hybrid retrieval (BM25 + ChromaDB vector + BGE-Reranker) over /.deep-memory hot and cold stores. Use when high-accuracy code/solution retrieval is needed and hallucination must be minimized. Typically invoked by deep-memory.
langchain
Apply when building LangChain pipelines, LCEL chains, agents, or retrieval-augmented generation systems.
dify-rag-pm
Analyze, plan, design, and review Dify Dataset, Knowledge, and RAG product work. Use for Dataset lifecycle, Workflow Knowledge Retrieval nodes, field contracts, user stories, and KnowledgeFS-to-Dify product translation.
memory-systems
This skill should be used for persistent semantic memory in agent systems: cross-session knowledge retention, entity tracking, temporal validity, graph or vector retrieval, memory consolidation, and memory benchmark selection. Route file-backed scratchpads to filesystem-context, handoff summaries to…