agentconnect: Skill for Claude Code

.claude/skills/update-model-pricing/SKILL.md

update-model-pricing is a skill for Claude Code, Codex from agentconnect-md/agentconnect. It costs 79 tokens per session (699 once invoked), scanned A, original, Apache-2.0.

A maintenance guide for keeping AgentConnect's offline estimates of OpenAI model usage costs aligned with current public pricing and model names. AgentConnect is software that connects users to coding-agent runtimes.

In plain words
What is it for?
Use it when OpenAI prices or model IDs change, fallback costs look outdated, or the runtime's handling of input, cached input, output, or reasoning tokens changes.
Why use it?
It helps prevent stale prices, incorrect model aliases, and wrong token calculations from producing misleading cost estimates. It requires checking official pricing and the runtime's token-counting behavior.

Skill for Claude CodeCodex

Written for Claude Code and Codex: installed under .claude/, but also agents/openai.yaml present. Also seen: mentions Codex.

This is agentconnect-md/agentconnect's own configuration. It tells Claude Code and Codex how to work on agentconnect itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentconnect configures →

About the project

AgentConnect is an open-source platform that lets teams and multiple AI agents collaborate in shared conversations and work processes across services such as Slack, Telegram, Discord, GitHub, GitLab, and Linear. Teams use it to assign agents roles, have agents call one another, and start work from messages, issues, pull requests, webhooks, or schedules.

agentconnect-md/agentconnect · 1,520 stars · on GitHub · agentconnect.md

Reuse

Borrowing it

Nothing to install: this file belongs to agentconnect-md/agentconnect. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/agentconnect-md/agentconnect/main/.claude/skills/update-model-pricing/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/agentconnect-md/agentconnect

Made for: Claude Code, 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 update-model-pricing

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentconnect-md/agentconnect/update-model-pricing"><img src="https://agentmods.dev/badge/skills/agentconnect-md/agentconnect/update-model-pricing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 699 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.00079 $0.00699
Opus 5.5 $0.00032 $0.00280
Sonnet 5.5 $0.00016 $0.00140
Haiku 4.5 $0.00008 $0.00070

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

Security

Grade A, and why

update-model-pricing 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 2mo 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/skills/update-model-pricing/SKILL.md · 41 lines

How it starts

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

Update Model Pricing

Keep the daemon's offline cost fallback aligned with current public OpenAI Standard API pricing and the codex-acp version selected by AgentConnect's runtime registry or an explicit runtime override.

Workflow

  1. Read packages/daemon/src/usage/openai-public-pricing.ts, its focused test, and packages/daemon/src/runtimes/registry.ts. Resolve the effective codex-acp package/version from the current ACP registry entry or the deployment's explicit runtime command/args; it is not pinned in pnpm-lock.yaml.
  2. Read references/pricing-sources.md and fetch the current official sources. Do not rely on remembered prices or third-party tables.
  3. Re-check the resolved codex-acp tag's TokenCount mapping and compare it with upstream main before changing the formula. Confirm whether ACP input, cache-read, cache-write, output, and thought fields are disjoint and whether PromptResponse usage is per-turn.
  4. Update the manifest with exact published model IDs, prices, dated snapshots, thresholds, and the verification date. Cover text/reasoning models that codex-acp advertises or AgentConnect explicitly supports; do not broaden the manifest to unrelated OpenAI products. Keep unknown models unsupported; never infer a price by prefix or strip an unlisted date suffix.
  5. Update tests in the same patch. Cover every alias, the exact long-context boundary, cache behavior, unknown models, malformed usage, and reasoning non-duplication.
  6. Run the focused daemon tests, daemon typecheck, and formatting check. Review the final diff for unrelated product or telemetry changes.

Repository Rules

  • Price Standard API tokens in USD per one million tokens. Do not branch on ChatGPT subscription versus API-key authentication.
  • Prefer an ACP-provided cost for a turn. Run fallback calculation only when that turn reports no cost.
  • Keep cost display unchanged. Do not add estimated labels, approximation glyphs, or CP/Web schema fields unless explicitly requested.
  • Calculate each Codex turn with the model selected for that session at turn start; do not reprice a whole session using its final model.
  • Treat output tokens as already including reasoning tokens. Never add thought tokens a second time.
  • Apply a long-context tier only when the public table publishes one and request input is strictly above its documented threshold.
  • Keep runtime pricing offline and deterministic. Never fetch prices from the daemon at runtime.
  • Preserve historical stored amounts; a price refresh affects only future fallback turns.

Read the full file on GitHub · 41 lines

Files

What ships with it

2 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. 2mo ago First seen · 41 lines · 79 tokens per session scan A ea290671622a

Subscribe to this mod's changes

update-model-pricing is a skill published in the GitHub repository agentconnect-md/agentconnect (1,520 stars, last pushed today), licensed Apache-2.0. It adds 79 tokens to every session and 699 once invoked, about $0.0003 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.

Related

update-model-pricing compared with skills from other repositories

update-model-pricing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
update-model-pricingagentconnect-md/agentconnectSkill1.5ktodayApache-2.0A79Claude Code, Codex
tushareHKUDS/Vibe-TradingSkill38kyesterdayMITA79Claude Code, Codex
correlation-analysisHKUDS/Vibe-TradingSkill38kyesterdayMITA57Claude Code, Codex
social-media-intelligenceHKUDS/Vibe-TradingSkill38kyesterdayMITA28Claude Code, Codex
vibe-tradingHKUDS/Vibe-TradingSkill38kyesterdayMITA172Claude Code, Codex
ashare-pre-st-filterHKUDS/Vibe-TradingSkill38kyesterdayMITA89Claude Code, Codex
credit-analysisHKUDS/Vibe-TradingSkill38kyesterdayMITA36Claude Code, Codex