Все навыки

Выбор модели Gatelum

Выбирайте модель осознанно: определите задачу, прочитайте живой каталог, проверьте дешёвым запросом и держите запасной вариант.

Автор
Gatelum
Лицензия
CC-BY-4.0
Раздел
Gatelum

Исходник на закреплённом коммите

Содержимое SKILL.md

---
name: gatelum-model-choice
description: Choose a Gatelum model deliberately instead of picking the first id - classify the task, read the live catalog, probe one cheap call, and keep a fallback.
license: CC-BY-4.0
---

# Choosing a Gatelum model

Use this skill when a task needs a model but the model id is not fixed by the user.

## Steps

1. Describe the task in one line: modality (text, image, audio, video), input size,
   required quality, latency budget and whether tool use is needed.
2. Read the live catalog. Do not rely on a memorised list of ids:

   ```bash
   curl -s https://api.gatelum.com/v1/models \
     -H "Authorization: Bearer $GATELUM_API_KEY"
   ```

3. Shortlist two or three ids that fit the modality and the task. Prefer a
   general-purpose model for mixed work and a specialised one only when the task is
   clearly specialised.
4. Probe the shortlist with a small request through `POST /v1/chat/completions`
   (or `POST /v1/messages` for the Anthropic shape). Compare the answers and the
   `usage` numbers, not just the price on the page.
5. Keep a fallback id. If the chosen model returns `model_not_found`, refresh the
   catalog and switch to a listed id; do not retry the same missing id.

## Rules

- Never invent a model id. Every id must come from the current `/v1/models` answer.
- Do not pick the most expensive model by default. Pick the cheapest model that
  passes the probe with acceptable quality.
- When the task is long, check `GET /v1/workspace` first so an exhausted balance is
  discovered before the work starts.
- Write down the chosen id and the reason in the final report, so the next run can
  reuse the decision.

Установка навыка

Claude Code

bash
mkdir -p ~/.claude/skills && curl -fsSL "https://gatelum.com/skills/gatelum/gatelum-model-choice.tar.gz" | tar -xz -C ~/.claude/skills
PowerShell
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.claude\skills" | Out-Null; $tmp = Join-Path $env:TEMP "gatelum-model-choice.tar.gz"; curl.exe -fsSL "https://gatelum.com/skills/gatelum/gatelum-model-choice.tar.gz" -o $tmp; tar.exe -xzf $tmp -C "$env:USERPROFILE\.claude\skills"; Remove-Item -Force $tmp

Codex и Cursor

bash
mkdir -p ~/.agents/skills && curl -fsSL "https://gatelum.com/skills/gatelum/gatelum-model-choice.tar.gz" | tar -xz -C ~/.agents/skills
PowerShell
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.agents\skills" | Out-Null; $tmp = Join-Path $env:TEMP "gatelum-model-choice.tar.gz"; curl.exe -fsSL "https://gatelum.com/skills/gatelum/gatelum-model-choice.tar.gz" -o $tmp; tar.exe -xzf $tmp -C "$env:USERPROFILE\.agents\skills"; Remove-Item -Force $tmp