openapi-anthropic

openapi-anthropic is a skill for Codex from davidmigloz/ai_clients_dart. It costs 33 tokens per session (709 once invoked), scanned A, original, MIT.

A workflow for updating a Dart software package from changes to Anthropic's OpenAPI specification, which documents an API's available requests and data formats.

In plain words
What is it for?
Use it to fetch a candidate specification, review changes, generate package code, replace the package's canonical specification and update its recorded version hash.
Why use it?
API specifications change over time, and manually tracking those changes can cause generated code and pinned versions to become outdated.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 .agents/shared/api-toolkit/scripts/api_toolkit.py fetch --config-dir packages/anthropic_sdk_dart/.agents/skills/openapi-anthropic/config.

Good fit Use it to fetch a candidate specification, review changes, generate package code, replace the package's canonical specification and update its recorded version hash.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/davidmigloz/ai_clients_dart
agentmods
npx agentmods add skills/davidmigloz/ai_clients_dart/openapi-anthropic

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 openapi-anthropic

README.md
[![agentmods](https://agentmods.dev/badge/skills/davidmigloz/ai_clients_dart/openapi-anthropic/github.svg)](https://agentmods.dev/skills/davidmigloz/ai_clients_dart/openapi-anthropic)
Your own site
<a href="https://agentmods.dev/skills/davidmigloz/ai_clients_dart/openapi-anthropic"><img src="https://agentmods.dev/badge/skills/davidmigloz/ai_clients_dart/openapi-anthropic/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 openapi-anthropic

Your own site · 80×15
<a href="https://agentmods.dev/skills/davidmigloz/ai_clients_dart/openapi-anthropic"><img src="https://agentmods.dev/badge/skills/davidmigloz/ai_clients_dart/openapi-anthropic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 709 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.00033 $0.00709
Opus 5 $0.00016 $0.00354
Sonnet 5 $0.00007 $0.00142
Haiku 4.5 $0.00003 $0.00071

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

Security

Grade A, and why

openapi-anthropic 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 12d 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.

packages/anthropic_sdk_dart/.agents/skills/openapi-anthropic/SKILL.md · 67 lines

How it starts

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

Anthropic OpenAPI Workflow

Prerequisites

  • Auth: No auth env vars required.
  • CLI: python3 .agents/shared/api-toolkit/scripts/api_toolkit.py
  • Existing-package commands: run the repo-relative examples from the repository root. If you run them elsewhere, invoke the script via an absolute path and pass an absolute --config-dir.

Workflow

  1. Fetch:
python3 .agents/shared/api-toolkit/scripts/api_toolkit.py fetch   --config-dir packages/anthropic_sdk_dart/.agents/skills/openapi-anthropic/config

Fetch writes the candidate spec to the configured output_dir as latest-<spec>.json. 2. Review:

python3 .agents/shared/api-toolkit/scripts/api_toolkit.py review   --config-dir packages/anthropic_sdk_dart/.agents/skills/openapi-anthropic/config
  1. Implement with scaffold plus the package references, then promote the spec and update the pin:
    • Copy the candidate into the package: cp /tmp/openapi-anthropic-dart/latest-main.json packages/anthropic_sdk_dart/specs/openapi.yaml (the canonical spec is JSON despite the .yaml extension).
    • Update pinned_hash in config/specs.json to the new spec hash (visible in the fetch output's latest_hash field). If you skip this, the next fetch will still report outdated: true.
  2. Verify:
python3 .agents/shared/api-toolkit/scripts/api_toolkit.py verify   --config-dir packages/anthropic_sdk_dart/.agents/skills/openapi-anthropic/config   --checks all --scope all

Specs

Spec Description
main Anthropic API for Claude models

Package References

Documentation Artifacts

After implementation and before opening a PR, update documentation to reflect new types:

  1. Example — add an example/<feature>_example.dart if the change introduces a new tool, content block type, or API surface. Follow the pattern of existing examples (e.g., web_search_example.dart). Verify with dart analyze.
  2. README — update README.md:
    • Features section: mention the new capability in the relevant bullet.
    • Examples table: add a row for the new example file.
  3. llms.txt — regenerate with the toolkit so the new example is indexed with its token count:
    python3 .agents/shared/api-toolkit/scripts/api_toolkit.py generate-llms-txt \
      --config-dir packages/anthropic_sdk_dart/.agents/skills/openapi-anthropic/config
    

Read the full file on GitHub · 67 lines

Files

What ships with it

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

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. 12d ago First seen · 67 lines · 33 tokens per session scan A acdf1667506c

Subscribe to this mod's changes

openapi-anthropic is a skill published in the GitHub repository davidmigloz/ai_clients_dart (24 stars, last pushed 3d ago), licensed MIT. It adds 33 tokens to every session and 709 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

agui-dotnet-streaming-chat

Get started with the AG-UI .NET SDK: bootstrap and run your first streaming-chat app (client + server) with the AG-UI .NET NuGet packages (AGUI.Client, AGUI.Server, AGUI.Formatting, AGUI.Abstractions). USE FOR: which packages to install and how to wire them; constructing an AGUIChatClient against an endpoint and…

ag-ui-protocol/ag-ui · 223 tokens

azure-mgmt-apicenter-dotnet

Azure API Center SDK for .NET. Centralized API inventory management with governance, versioning, and discovery. Use for creating API services, workspaces, APIs, versions, definitions, environments, deployments, and metadata schemas. Triggers: "API Center", "ApiCenterService", "ApiCenterWorkspace", "ApiCenterApi", "API…

microsoft/skills · 97 tokens

azure-communication-chat-java

Build real-time chat applications with Azure Communication Services Chat Java SDK. Use when implementing chat threads, messaging, participants, read receipts, typing notifications, or real-time chat features.

microsoft/skills · 41 tokens

grpc

Build or review gRPC services and clients in .NET. USE FOR: ASP.NET Core gRPC, protobuf contracts, unary or streaming RPC, gRPC client factory, interceptors, deadlines, cancellation, channel reuse, backend service integration. DO NOT USE FOR: broad browser-facing APIs without gRPC-Web tradeoff review, SignalR realtime…

managedcode/dotnet-skills · 95 tokens

azure-messaging-webpubsubservice-py

Real-time messaging with WebSocket connections at scale.

benjaminasterA/antigravity-awesome-skills · 0 tokens

minimal-api

.NET 10 minimal APIs — the default for building HTTP endpoints. Covers MapGroup, endpoint filters, TypedResults, OpenAPI metadata, parameter binding, and route conventions. Load this skill when creating API endpoints, configuring routing, setting up OpenAPI documentation, or when the user mentions "endpoint"…

codewithmukesh/dotnet-claude-kit · 101 tokens