pi-commandcode-provider: Skill for Claude Code

.agents/skills/refresh-model-catalog/SKILL.md

refresh-model-catalog is a skill for Claude Code, Codex from patlux/pi-commandcode-provider. It costs 44 tokens per session (917 once invoked), scanned A, original, MIT.

A workflow for updating a repository's catalog of Command Code models, including their supported settings, limits, and display pricing.

In plain words
What is it for?
Use it when Command Code models are added, removed, or their metadata changes.
Why use it?
It keeps the checked-in catalog and test fixtures aligned with the published model package while requiring pricing review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is patlux/pi-commandcode-provider's own configuration. It tells Claude Code and Codex how to work on pi-commandcode-provider 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 pi-commandcode-provider configures →

Reuse

Borrowing it

Nothing to install: this file belongs to patlux/pi-commandcode-provider. 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/patlux/pi-commandcode-provider/main/.agents/skills/refresh-model-catalog/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/patlux/pi-commandcode-provider

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 refresh-model-catalog

README.md
[![agentmods](https://agentmods.dev/badge/skills/patlux/pi-commandcode-provider/refresh-model-catalog/github.svg)](https://agentmods.dev/skills/patlux/pi-commandcode-provider/refresh-model-catalog)
Your own site
<a href="https://agentmods.dev/skills/patlux/pi-commandcode-provider/refresh-model-catalog"><img src="https://agentmods.dev/badge/skills/patlux/pi-commandcode-provider/refresh-model-catalog/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 refresh-model-catalog

Your own site · 80×15
<a href="https://agentmods.dev/skills/patlux/pi-commandcode-provider/refresh-model-catalog"><img src="https://agentmods.dev/badge/skills/patlux/pi-commandcode-provider/refresh-model-catalog.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 917 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 50
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00044 $0.00917
Opus 5.5 $0.00018 $0.00367
Sonnet 5.5 $0.00009 $0.00183
Haiku 4.5 $0.00004 $0.00092

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

Security

Grade A, and why

refresh-model-catalog 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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/refresh-model-ids.mjs, scripts/sync-pricing-fixture.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/refresh-model-catalog/SKILL.md · 87 lines

How it starts

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

Refresh Model Catalog

Use this skill whenever the Command Code model catalog changes: new or retired models, changed reasoning efforts, output limits, or pricing. All commands run from the repository root and work on Windows and Linux.

Core rules

  • Do not commit, tag, push, or publish unless the user explicitly asks in the current conversation.
  • Pricing is manually reviewed: temporary promotions and long-context tiers require explicit review of the official pricing page. Never copy prices blindly from the API.
  • Keep the change focused: one refresh per PR, no unrelated refactors.
  • Follow CONTRIBUTING.md for commit message rules.

Workflow

1. Detect drift

npm run check:commandcode-catalog

This compares the repository snapshot against the latest published command-code npm package and reports added/removed models, changed efforts, and version drift. Use the report to scope the work.

2. Sync static model metadata

npm run sync:commandcode-catalog

Regenerates src/commandcode-catalog.ts and bumps the documented CLI version in README.md. Review the diff; the catalog also lists reasoning models without selectable efforts.

Never add efforts to the generated file by hand. Manual effort policy for reasoning models that upstream ships without levels lives in src/commandcode-catalog-overrides.ts and is merged at load time. The sync drops an override itself once upstream publishes its own levels. It parses only the MODEL_EFFORT_OVERRIDES object literal and preserves neighboring declarations. Keep shared rationale above the declaration; review entry-specific comments after pruning because they may describe removed entries.

3. Update display pricing (manual review)

Run the read-only checker before touching prices:

npm run check:commandcode-pricing

It compares the live Provider API catalog and the official pricing page against MODEL_COSTS and writes nothing. Investigate every reported drift and promotion by hand; never update MODEL_COSTS or PRICING_LAST_VERIFIED just to make the checker pass.

Read the full file on GitHub · 87 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. 1mo ago Changed · +8 lines cd12dc447c50
  2. 1mo ago Changed f1621152a558
  3. 2mo ago First seen · 79 lines · 44 tokens per session scan A 76c47e3258c8

Subscribe to this mod's changes

refresh-model-catalog is a skill published in the GitHub repository patlux/pi-commandcode-provider (215 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 917 once invoked, about $0.0002 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-09-03.

Related

refresh-model-catalog compared with skills from other repositories

refresh-model-catalog next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
refresh-model-catalogpatlux/pi-commandcode-providerSkill215yesterdayMITA44Claude Code, Codex
prose-revieww-winter/dot314Skill142yesterdayMITA84Claude Code
text-searchw-winter/dot314Skill142yesterdayMITA22Claude Code
rpw-winter/dot314Skill142yesterdayMITA44Claude Code, Codex
accordion-context-foldinga-Fig/AccordionSkill246todayMITA102Claude Code, Codex
accordion-context-recalla-Fig/AccordionSkill246todayMITA89Claude Code, Codex
claude-md-improvermrclrchtr/supiSkill103yesterdayMITA39Claude Code