model-availability

model-availability is a skill for Claude Code from megamen32/LastHumanCommit. It costs 20 tokens per session (565 once invoked), scanned A, original, MIT.

Instructions for checking which AI models and subscription routes are actually available before assigning work to them. The check separates catalog listings, authentication, quotas, tool requirements, and the model that really runs a task.

In plain words
What is it for?
Use it before council, delegation, or focus decisions that depend on model availability. It records the source, time, quota details, selected route, and execution identity using existing catalog and quota tools.
Why use it?
It prevents treating a model name, catalog entry, or telemetry report as proof that the model can be used. It also avoids silently switching to an unapproved route or fallback.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex; mentions OpenCode.

Part of the last-human-commit plugin — 23 skills, 1 command shipped together

Good fit Use it before council, delegation, or focus decisions that depend on model availability. It records the source, time, quota details, selected route, and execution identity using existing catalog and quota tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/megamen32/lasthumancommit/model-availability
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 megamen32/LastHumanCommit --skill model-availability
Clone the repo
git clone --depth 1 https://github.com/megamen32/LastHumanCommit

Made for: Claude Code.

Or install last-human-commit, the plugin that ships this one along with the rest of its 23 skills, 1 command.

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 model-availability

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/megamen32/lasthumancommit/model-availability"><img src="https://agentmods.dev/badge/skills/megamen32/lasthumancommit/model-availability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 565 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.00020 $0.00565
Opus 5.5 $0.00008 $0.00226
Sonnet 5.5 $0.00004 $0.00113
Haiku 4.5 $0.00002 $0.00056

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

Security

Grade A, and why

model-availability 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 22d 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.

plugins/last-human-commit/common/skills/model-availability/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.

Model availability

Call LhcPlan list_models; it combines configured assignments with Herder's list_models and model_quotas when available. Use those native tools directly for raw fields. Keep catalog presence, authentication, quota and required capabilities separate.

For council, Adviser or frontier work, the configured reserve is 20% of each applicable provider window. Below that reserve, use an eligible cheaper route or continue independent work unless the user explicitly changes the choice. An unavailable quota reading is unknown, not a claim of spare capacity. Reuse a recent reading within the same dispatch batch; refresh after a meaningful wait, reset or provider failure.

Units

  • Z.AI/GLM percentage reports used share. 100% means exhausted. Check all applicable text windows; weekly exhaustion still matters when the short window is free. CREDIT_LIMIT is credits, not tokens. Retain unit and number for the reported period.
  • MiniMax current_interval_remaining_percent and current_weekly_remaining_percent report remaining share; use the tighter applicable text window. Video is a separate pool. remains_time is milliseconds.
  • Codex usedPercent reports used share, windowDurationMins is minutes and resetsAt is Unix seconds. Missing windows remain unknown.

Retain the source and time of a reading. A reset timestamp by itself does not prove that a previously exhausted pool recovered.

Configured route examples

These installation examples need confirmation against the current catalog:

Tier Harness Route
frontier codex gpt-6.1-sol
middle opencode zai-coding-plan/glm-5.3
fast opencode minimax-coding-plan/MiniMax-M3.1-Flash

Keep the user's account, provider and billing choice. A missing route is not a reason to silently switch to PAYG, buy capacity or use another account.

When Herder is unavailable

Use an existing documented read-only source with its protected authentication:

Read the full file on GitHub · 41 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. 22d ago Changed · -54 lines · -31 tokens per session ec64aba414bb
  2. 23d ago Changed · -3 lines 4fac79b9dd62
  3. 24d ago Changed · +2 lines a7396dae17c7
  4. 1mo ago Changed · +25 lines · +16 tokens per session da10ddfdf028
  5. 1mo ago First seen · 71 lines · 35 tokens per session scan A 521d395a14ad

Subscribe to this mod's changes

model-availability is a skill published in the GitHub repository megamen32/LastHumanCommit (2 stars, last pushed 11d ago), licensed MIT. It adds 20 tokens to every session and 565 once invoked, about $0.0001 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-10-20.

Related

model-availability compared with skills from other repositories

model-availability next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
model-availabilitymegamen32/LastHumanCommitSkill211d agoMITA20Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code