Aller au contenu
Skillpedia
Agents8.5k · #12442

quota-array-dispatch

Ce qu’il fait

Ce skill explique comment Firstmate choisit entre plusieurs profils d'assistants autorisés pour un travail, en fonction de la consommation disponible. Il s'adresse aux personnes qui configurent plusieurs comptes d'IA et veulent que ce choix soit traité équitablement.

Quand l’utiliser

  • ✓Quand une règle d'envoi pourrait correspondre à plusieurs profils d'assistants.
  • ✓Lorsque votre configuration partage un même budget d'usage entre tous les fournisseurs.
  • ✓Quand vous voulez savoir pourquoi un profil d'assistant a été choisi plutôt qu'un autre.

Lien du skill

https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/quota-array-dispatch/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/quota-array-dispatch/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Explique comment mon assistant est choisi lorsque plusieurs profils correspondent au travail.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent lit chaque profil correspondant, le vérifie au regard des règles autorisées, puis en retient un à l'aide d'un score simple et comparable. Il ne crée pas de nouvelles routes et ne modifie pas la politique.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

quota-array-dispatch

This skill is the single owner of the completion-aware profile-array selection procedure. AGENTS.md section 4 owns the always-loaded intake boundary, load trigger, malformed-config refusal, every-candidate accounting, and strongest-reasoning/tie safety rules. harness-adapters owns harness verification, model/provider discovery, and effort fallback. quota-axi remains data-only: it publishes spendPriority as a comparable scalar and never recommends, selects, ranks, or infers a route. Do not add a daemon, opaque composite score, routing wrapper, hard-coded model-specific policy, or producer-side route recommendation. The worker helper and typed resolver own their deterministic mapping boundaries.

Shared-quota opt-out

When the home's config/crew-dispatch.json declares a top-level "shared_quota": true, this home draws every provider's usage from one single shared budget, so per-provider quota rows do not describe what is left, and this skill's quota snapshot, the quota parts of the eligibility and runway gates, and spendPriority ranking are off by home declaration. Make no quota-axi call, apply no quota row, quota floor, runway gate, or spendPriority rank, and choose the matched rule's first declared profile that its authoritative catalog supports and that meets the required reasoning class; catalog eligibility and reasoning-class fit still apply. preferred_provider is not a quota signal, so it still applies: preferred_provider still narrows the pool; declared order then picks within it. Account for every candidate as always, stating in place of quota evidence that quota ranking is off by home declaration. The declared value must be a boolean; anything else is an actionable configuration error.

Worker-side quota helper

The canonical shell helper for a worker that has already performed its model-selection reasoning and now needs to pick the first viable candidate is bin/fm-quota-choose.sh. Pass it the intake's already-captured default TOON or permitted JSON fallback through stdin or --snapshot; it never takes another quota snapshot, so it selects from the same quota state as the intake. Pass each candidate as harness:model, with earlier candidates preferred. The helper's header owns its provider mapping and quota selection mechanics. An exhausted_now runway vetoes the candidate. The helper selects a candidate only when its applicable quota has a known effectivePercentRemaining greater than zero. This is an optional narrow helper with a known limitation: it maps each harness to one primary provider family only, so a candidate whose established provider differs from that primary family is checked against the wrong quota row. omp has no primary family, so the helper keys an omp: candidate on its model prefix, mapping only openai-codex/ and claude-bridge/ and refusing every other prefix; the helper's header owns that mapping. Authoritative multi-provider routing - including provider discovery from the harness catalog and quota matching by that explicit provider - stays owned by this skill's intake procedure above and AGENTS.md section 4, not by the helper. Use it only when the brief already fixed the candidate order and every candidate's provider is the harness's primary family. It does not replace the reasoning-class, runway-feasibility, or authentication gates above. Firstmate can optionally arm bin/fm-procevent-quota.sh for a recurring mid-task check that wakes when the tracked provider drops below its configured threshold or its runway becomes exhausted_now. The opt-in typed resolver has its own documented gates. It never removes this skill's authority, and its ambiguous, escalate, and error outcomes return here.

Read the default TOON

When the home declares the shared-quota opt-out, skip this section's quota reading and every quota-derived check built on it (quota rows, floors, runway, and spendPriority); catalog eligibility and reasoning-class fit still apply. Start each intake by running quota-axi once with no --json, and reuse that TOON for every candidate. Post-consolidation quota-axi (the floor owned by bin/fm-quota-axi-lib.sh) puts spendPriority in the default

Questions fréquentes

Que se passe-t-il si le fichier de réglages est mal formé ?

Le skill indique de refuser l'envoi plutôt que de deviner quel profil utiliser.

Peut-il choisir un modèle de lui-même ?

Non. Les données d'usage fournissent des chiffres comparables, et le choix suit les règles que vous avez déclarées.

Que se passe-t-il si je partage un budget entre fournisseurs ?

Le répertoire personnel peut déclarer un budget partagé, ce qui désactive le classement fondé sur l'usage.

Détails

Description originale de l’auteur

Load when a crew-dispatch rule or default resolves to more than one profile candidate.

repo: kunchenguid/firstmate

Popularité

Étoiles GitHub
8.5k
Position au classement
#12442
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires