Gdd Openrouter Status logo

Gdd Openrouter Status

Community
hegemonart
gdd-openrouter-status

Read-only OpenRouter catalog + tier-mapping diagnostic - surfaces catalog freshness (fetched_at vs the 24h TTL), the last-fetch timestamp, the resolved opus/sonnet/haiku → model mappings (via the Phase-33.6 adapter), and a per-tier preview. Use when investigating which OpenRouter model a tier resolves to, or whether the catalog cache is fresh/stale. Phase 33.6 (v1.33.6) diagnostic - {{command_prefix}}openrouter-status.

Overview

Publisherhegemonart
Repositoryget-design-done
Skill namegdd-openrouter-status
Stars
3
Forks
1
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by hegemonart on GitHub. Read the source before you install it.

Installation

Install the Gdd Openrouter Status AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hegemonart/get-design-done/tree/main/scripts/skill-templates/openrouter-status
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hegemonart/get-design-done.git /tmp/get-design-done
mkdir -p .claude/skills
cp -r /tmp/get-design-done/scripts/skill-templates/openrouter-status .claude/skills/gdd-openrouter-status
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Gdd Openrouter Status in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Gdd Openrouter Status on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Gdd Openrouter Status is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

gdd-openrouter-status

Role

You are a deterministic, read-only diagnostic skill. You do not spawn agents and you do not modify the catalog cache. You read .design/cache/openrouter-models.json (the Phase-33.6-01 catalog cache) via scripts/lib/openrouter/catalog-fetcher.cjs#readCatalog, resolve the opus/sonnet/haiku tiers via scripts/lib/tier-resolver-openrouter.cjs#resolve, and emit a single Markdown status block. Read-only - to refresh the catalog you pass --refresh (a single opt-in fetch gated on OPENROUTER_API_KEY); there is no other mutation. See connections/openrouter.md for setup and reference/openrouter-tier-mapping.md for the resolution heuristic.

This is disable-model-invocation: true (mirroring skills/cache-manager/SKILL.md): the skill is user-invoked only - the model must not auto-spawn it. It never makes a model call.

Invocation Contract

  • Input: optional --refresh. When absent, the skill is purely read-only (cache + resolve). When --refresh is set AND OPENROUTER_API_KEY is present, it calls the Phase-33.6-01 fetcher once to refresh the cache before reading; when --refresh is set but no key is present, it prints the empty-state/no-key message and does NOT fetch.
  • Output: a Markdown OpenRouter-status block to stdout. The block is the entire output.

Procedure

1. (Optional) refresh

If --refresh is set and OPENROUTER_API_KEY is present, run a single fetch to refresh the cache:

bash
node -e "require('./scripts/lib/openrouter/catalog-fetcher.cjs').fetchCatalog().then(()=>{}).catch(()=>{})"

This is the ONLY mutation the skill performs, and only on explicit --refresh. The fetch never throws (D-08); a failure degrades to the existing cache.

2. Read the catalog cache

Read .design/cache/openrouter-models.json via readCatalog. Missing or empty → emit the empty-state message and stop:

## OpenRouter Status

No OpenRouter catalog yet — set OPENROUTER_API_KEY and run a cycle, or `{{command_prefix}}openrouter-status --refresh`.

Tier resolution is currently falling back to the native provider (graceful degrade — D-08).

3. Compute freshness

Read fetched_at from the cache object and compare against the 24h TTL (D-02): age = now - fetched_at. age < 24h → fresh; otherwise → stale (a stale catalog still resolves - the adapter uses the last good cache).

4. Resolve the tiers

For each of opus, sonnet, haiku, resolve via the adapter (it reads .design/config.json#openrouter_tier_overrides and applies the heuristic over the cached catalog):

bash
node -e "const r=require('./scripts/lib/tier-resolver-openrouter.cjs');for(const t of ['opus','sonnet','haiku'])console.log(t, '->', r.resolve(t) || '(null → native fallback)')"

A null for a tier means OpenRouter has no pick → the native provider resolves that tier (D-08). Note any tier that resolved from an explicit openrouter_tier_overrides pin vs the heuristic.

5. Print the status block

## OpenRouter Status

Catalog source: <source URL from cache>
Last fetched:   <fetched_at>  (<fresh | stale> — TTL 24h)
Models in catalog: <count>

| Tier   | Resolved model id                | Source             |
|--------|----------------------------------|--------------------|
| opus   | <id or (null → native fallback)> | <override | heuristic> |
| sonnet | <id or (null → native fallback)> | <override | heuristic> |
| haiku  | <id or (null → native fallback)> | <override | heuristic> |

> Resolution: override (`.design/config.json#openrouter_tier_overrides`) wins, else the closed-vs-open + pricing heuristic over the catalog.
> A null resolution means tier resolution falls back to the native provider (D-08).
> Read-only — this skill never modifies the cache; use `--refresh` to re-fetch (needs OPENROUTER_API_KEY).

Completion marker

End the output with:

## OPENROUTER-STATUS COMPLETE

Frequently asked questions

What does the Gdd Openrouter Status AI skill do?

Read-only OpenRouter catalog + tier-mapping diagnostic - surfaces catalog freshness (fetched_at vs the 24h TTL), the last-fetch timestamp, the resolved opus/sonnet/haiku → model mappings (via the Phase-33.6 adapter), and a per-tier preview. Use when investigating which OpenRouter model a tier resolves to, or whether the catalog cache is fresh/stale. Phase 33.6 (v1.33.6) diagnostic - {{command_prefix}}openrouter-status.

Why use Gdd Openrouter Status on TypingMind?

Because you install it once and use it with any model. Gdd Openrouter Status is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Gdd Openrouter Status in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hegemonart/get-design-done/tree/main/scripts/skill-templates/openrouter-status. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Gdd Openrouter Status?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Gdd Openrouter Status?

As many as you like. As long as a model supports skills, you can use Gdd Openrouter Status with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Gdd Openrouter Status AI skill free?

Yes. It is published on GitHub by hegemonart under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇