quota-array-dispatch
Was er macht
Dieser Skill erklärt, wie Firstmate zwischen mehreren erlaubten Helfer-Profilen für einen Auftrag wählt, abhängig von der verfügbaren Nutzung. Er richtet sich an Leute, die mehrere KI-Konten eingerichtet haben und die Wahl fair geregelt haben wollen.
Wann du ihn nutzt
- ✓Wenn eine Verteilungsregel mehr als ein Helfer-Profil treffen könnte.
- ✓Wenn dein Setup ein gemeinsames Nutzungskontingent über alle Anbieter teilt.
- ✓Wenn du wissen willst, warum ein Helfer-Profil gegenüber einem anderen gewählt wurde.
Link zum Skill
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/quota-array-dispatch/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Erkläre mir, wie mein Helfer ausgewählt wird, wenn mehr als ein Profil zum Auftrag passt.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent liest jedes passende Profil, prüft es gegen die erlaubten Regeln und wählt eines anhand einer einfachen, vergleichbaren Punktzahl. Er erfindet keine neuen Routen und ändert die Richtlinie nicht.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen
Was passiert, wenn die Einstellungsdatei fehlerhaft ist?
Der Skill sagt, die Verteilung abzulehnen, statt zu raten, welches Profil zu nehmen ist.
Kann er selbst ein Modell wählen?
Nein. Die Nutzungsdaten liefern vergleichbare Zahlen, und die Wahl folgt deinen erklärten Regeln.
Was ist, wenn ich ein Budget über Anbieter teile?
Das Zuhause kann ein gemeinsames Budget erklären, das die nutzungsbasierte Rangfolge abschaltet.
Details
Originalbeschreibung des Autors
Load when a crew-dispatch rule or default resolves to more than one profile candidate.
repo: kunchenguid/firstmate
Beliebtheit
- GitHub-Sterne
- 8.5k
- Platz im Ranking
- #12442
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
afk
8.5kLässt deinen Agenten weiterarbeiten, während du weg bist, Entscheidungen für deine Rückkehr zurückhält und dir bei deiner Rückkehr eine klare Zusammenfassung schickt.
ahoy
8.5kLässt deinen Agenten dir eine kurze Zusammenfassung dessen geben, was in der Sitzung passiert ist, und dich durch alle Entscheidungen führen, die noch auf dich warten.
ask-user-authority
8.5kHilft deinem Agenten, Review-Fragen selbst zu entscheiden, wenn sie klar zum vereinbarten Plan passen, und dich nur zu fragen, wenn eine Frage unklar oder riskant ist.
away-quiet-supervision
8.5kLegt Sicherheitsregeln für die Überwachung der Arbeit im Abwesenheits- oder Ruhemodus fest, damit der Agent klare Nachrichten sendet und Entscheidungen zurückhält, die dich brauchen.
Ähnliche Skills
add-model-provider
394kLässt deinen Agenten einen neuen KI-Modellanbieter mit sicheren Befehlen an OpenClaw anbinden, API-Schlüssel nicht im Klartext speichern und einen Live-Test starten.
acp-router
394kHilft deinem Agenten, eine Aufgabe über OpenClaw an einen Coding-Assistenten wie Claude Code oder Cursor zu senden, damit die Arbeit in diesem Tool läuft.
browser-automation
394kBringt deinem Agenten bei, Webseiten Schritt für Schritt zu steuern, einschließlich Anmeldungen, Tabs und Wiederherstellung, wenn eine Seite nicht mehr reagiert.