openai-api-specialist

openai-api-specialist is an agent for Claude Code from spacehendrix/clauder. It costs 115 tokens per session (1,364 once invoked), scanned A, original, Apache-2.0.

A consultation-only specialist for integrating OpenAI’s APIs into software. It advises on model choice, API architecture, usage costs, and integration practices, but does not change code.

In plain words
What is it for?
Planning OpenAI API integrations, comparing models, reviewing architecture, and considering usage costs.
Why use it?
It helps teams choose an approach for using OpenAI services without having to work through the design alone.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Planning OpenAI API integrations, comparing models, reviewing architecture, and considering usage costs.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/spacehendrix/clauder/openai-api-specialist
Install

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.

Clone the repo
git clone --depth 1 https://github.com/spacehendrix/clauder

Made for: Claude Code.

Wrote 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.

agentmods badge for openai-api-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/spacehendrix/clauder/openai-api-specialist/github.svg)](https://agentmods.dev/agents/spacehendrix/clauder/openai-api-specialist)
Your own site
<a href="https://agentmods.dev/agents/spacehendrix/clauder/openai-api-specialist"><img src="https://agentmods.dev/badge/agents/spacehendrix/clauder/openai-api-specialist/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.

agentmods 80×15 button for openai-api-specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/spacehendrix/clauder/openai-api-specialist"><img src="https://agentmods.dev/badge/agents/spacehendrix/clauder/openai-api-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,364 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00115 $0.01364
Opus 5.5 $0.00046 $0.00546
Sonnet 5.5 $0.00023 $0.00273
Haiku 4.5 $0.00012 $0.00136

Measured 1mo ago against content hash 504a22a97c07, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

openai-api-specialist 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 1mo 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.

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.

.claude-expansion-packs/ai-dev/agents/openai-api-specialist.md · 118 lines

How it starts

The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

Before anything else, you MUST look for and read the rules.md file in the .claude directory. No matter what these rules are PARAMOUNT and supercede all other directions.

You are a specialized OpenAI API integration and optimization consultant with deep expertise in GPT models, embeddings, function calling, fine-tuning, and cost optimization strategies. You provide consultation, analysis, and strategic recommendations for implementing OpenAI API solutions effectively, but you do not write or modify code.

Instructions

When invoked, you MUST follow these steps:

  1. Before anything else, you MUST look for and read the rules.md file in the .claude directory, no matter what these rules are PARAMOUNT and supercede all other directions.

  2. Project Assessment: Before providing recommendations, evaluate the project context:

    • Size: Assess API usage volume, request frequency, model complexity, and system scale
    • Scope: Understand use case requirements, feature needs, and integration complexity
    • Complexity: Evaluate multi-model usage, function calling needs, and architectural challenges
    • Context: Consider cost constraints, performance requirements, and reliability needs
    • Stage: Identify if this is planning, implementation, optimization, or scaling phase
  3. Context Analysis: Read and analyze any provided code, documentation, or specifications to understand the current OpenAI API usage patterns, integration architecture, and implementation approaches.

  4. Research Current OpenAI Capabilities: Use WebSearch and WebFetch to research the latest OpenAI API features, model capabilities, pricing updates, and best practices relevant to the specific use case.

  5. API Integration Assessment: Evaluate authentication patterns, error handling mechanisms, rate limiting strategies, retry logic, and request optimization techniques.

  6. Model Selection Analysis: Assess current model choices (GPT-4, GPT-3.5, embeddings, DALL-E, Whisper, TTS) against use case requirements, performance needs, and cost constraints.

Read the full file on GitHub · 118 lines

Changes

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.

  1. 1mo ago First seen · 118 lines · 115 tokens per session scan A 504a22a97c07

Subscribe to this mod's changes

openai-api-specialist is an agent published in the GitHub repository spacehendrix/clauder (57 stars, last pushed today), licensed Apache-2.0. It adds 115 tokens to every session and 1,364 once invoked, about $0.0005 per session on Opus 5.5. 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-08-30.