ai-coding-agents-provider-runtime

ai-coding-agents-provider-runtime is a skill for Codex from vasilyu1983/AI-Agents-public. It costs 36 tokens per session (4,538 once invoked), scanned A, original, MIT.

A guide to the part of a coding agent that communicates with AI model providers. It standardizes messages, streamed responses, tool calls, errors, retries, and switching to a fallback provider.

In plain words
What is it for?
Use it to design provider interfaces, streaming event handling, tool-call normalization, context-window handling, retries, and fallback routing.
Why use it?
It removes provider-specific differences from the rest of the agent, making model changes and failure handling easier to manage.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

Good fit Use it to design provider interfaces, streaming event handling, tool-call normalization, context-window handling, retries, and fallback routing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vasilyu1983/ai-agents-public/ai-coding-agents-provider-runtime
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.

Any agent
npx skills add vasilyu1983/AI-Agents-public --skill ai-coding-agents-provider-runtime
Clone the repo
git clone --depth 1 https://github.com/vasilyu1983/AI-Agents-public

Made for: Codex.

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 ai-coding-agents-provider-runtime

README.md
[![agentmods](https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/ai-coding-agents-provider-runtime/github.svg)](https://agentmods.dev/skills/vasilyu1983/ai-agents-public/ai-coding-agents-provider-runtime)
Your own site
<a href="https://agentmods.dev/skills/vasilyu1983/ai-agents-public/ai-coding-agents-provider-runtime"><img src="https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/ai-coding-agents-provider-runtime/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 ai-coding-agents-provider-runtime

Your own site · 80×15
<a href="https://agentmods.dev/skills/vasilyu1983/ai-agents-public/ai-coding-agents-provider-runtime"><img src="https://agentmods.dev/badge/skills/vasilyu1983/ai-agents-public/ai-coding-agents-provider-runtime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,538 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00036 $0.04538
Opus 5 $0.00018 $0.02269
Sonnet 5 $0.00007 $0.00908
Haiku 4.5 $0.00004 $0.00454

Measured 10d ago against content hash d8afb1c7bf42, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

ai-coding-agents-provider-runtime 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 10d 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.

frameworks/shared-skills/skills/ai-coding-agents-provider-runtime/SKILL.md · 248 lines

How it starts

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

AI Coding Agents Provider Runtime

Use this skill to design or review the model-provider layer inside a coding-agent runtime: provider abstraction, streaming semantics, tool-call protocol normalization, context-window strategy, retries, and fallback routing.

This skill owns the model-facing runtime surface for coding agents. It is the main missing layer when trying to generalize Claude Code-derived patterns toward Codex-class portability.

ASCII Flow

agent turn
  |
  v
provider selection
  capability needs + model policy + cost/latency + context window
  |
  v
request normalization
  messages + tools + structured outputs + cache hints + metadata
  |
  v
provider stream
  tokens + tool calls + errors + usage events
  |
  v
runtime event model
  normalized deltas + retries/fallbacks + final response

Quick Reference

Question Read Outcome
How should providers and streaming semantics be normalized? references/provider-abstraction-and-stream-normalization.md Stable provider interface, streaming event model, and tool-call normalization
How should retries, context windows, and fallback routing work? references/context-window-retries-and-fallback-routing.md Provider selection, truncation rules, retry classes, and fallback policy
How does OpenAI Codex check local OSS provider readiness? references/openai-codex-local-oss-provider-readiness.md Ollama/LM Studio readiness workflow, model presence, version gates, fetch/load diagnostics, and capability-driven selection
What exactly differs across Claude, OpenAI, Gemini, and Ollama today? references/provider-capability-matrix.md Feature-by-feature comparison (streaming, structured output, tool calls, vision, caching) plus a capability-flag interface and shim design notes

Read the full file on GitHub · 248 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. 10d ago First seen · 248 lines · 36 tokens per session scan A d8afb1c7bf42

Subscribe to this mod's changes

ai-coding-agents-provider-runtime is a skill published in the GitHub repository vasilyu1983/AI-Agents-public (87 stars, last pushed 8d ago), licensed MIT. It adds 36 tokens to every session and 4,538 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

nft-standards

Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, building NFT marketplaces, or implementing digital asset systems.

wshobson/agents · 48 tokens

istio-traffic-management

Configure Istio traffic management including routing, load balancing, circuit breakers, and canary deployments. Use when implementing service mesh traffic policies, progressive delivery, or resilience patterns.

wshobson/agents · 40 tokens

projection-patterns

Build read models and projections from event streams. Use when implementing CQRS read sides, building materialized views, or optimizing query performance in event-sourced systems.

wshobson/agents · 36 tokens

microservices-patterns

Design microservices architectures with service boundaries, event-driven communication, and resilience patterns. Use when building distributed systems, decomposing monoliths, or implementing microservices.

wshobson/agents · 38 tokens

track-management

Use this skill when creating, managing, or working with Conductor tracks - the logical work units for features, bugs, and refactors. Applies to spec.md, plan.md, and track lifecycle operations.

wshobson/agents · 44 tokens

make-pr-easy-to-review

Prepare PRs for review by cleaning noisy history, improving PR descriptions, and adding reviewer guidance without changing code behavior. Use for "make this easy to review", "tidy this PR", "clean up commits", or "annotate the diff".

michael-denyer/pstack-claude · 57 tokens