quota-array-dispatch
Qué hace
Esta skill explica cómo Firstmate elige entre varios perfiles de ayudante permitidos para un trabajo, según el uso disponible. Está pensada para personas que configuran varias cuentas de IA y quieren que la elección se haga de forma justa.
Cuándo usarla
- ✓Cuando una regla de despacho puede coincidir con más de un perfil de ayudante.
- ✓Cuando tu configuración comparte un único presupuesto de uso entre todos los proveedores.
- ✓Cuando quieres saber por qué se eligió un perfil de ayudante y no otro.
Link de la skill
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/quota-array-dispatch/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Explícame cómo se elige mi ayudante cuando más de un perfil encaja con el trabajo.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente lee cada perfil que coincide, lo compara con las reglas permitidas y elige uno usando una puntuación sencilla y comparable. No inventa rutas nuevas ni cambia la política.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
Preguntas frecuentes
¿Qué pasa si el archivo de ajustes está mal formado?
La skill indica que hay que rechazar el despacho en lugar de adivinar qué perfil usar.
¿Puede elegir un modelo por su cuenta?
No. Los datos de uso dan cifras comparables, y la elección sigue tus reglas declaradas.
¿Qué pasa si comparto un presupuesto entre proveedores?
El hogar puede declarar un presupuesto compartido, lo que desactiva la clasificación basada en el uso.
Detalles
Descripción original del autor
Load when a crew-dispatch rule or default resolves to more than one profile candidate.
repo: kunchenguid/firstmate
Popularidad
- Estrellas en GitHub
- 8,5 mil
- Posición en el ranking
- #12442
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
afk
8,5 milPermite que tu agente siga trabajando mientras no estás, guardando las decisiones para tu vuelta y enviándote un resumen claro cuando regreses.
ahoy
8,5 milPermite que tu agente te dé un resumen breve de lo que ocurrió en la sesión y te guíe por las decisiones que todavía esperan tu respuesta.
ask-user-authority
8,5 milAyuda a tu agente a decidir por sí mismo las preguntas de revisión cuando encajan claramente con el plan acordado, y preguntarte solo cuando una cuestión sea poco clara o arriesgada.
away-quiet-supervision
8,5 milEstablece reglas de seguridad para supervisar el trabajo en modo ausencia o silencio, para que el agente mantenga los mensajes claros y retenga las decisiones que te corresponden.
Skills parecidas
add-model-provider
394 milPermite que tu agente conecte un nuevo proveedor de modelos de IA a OpenClaw con comandos de configuración seguros, mantenga las claves API fuera del texto plano y haga una prueba en vivo.
acp-router
394 milAyuda a tu agente a enviar una tarea a un asistente de programación como Claude Code o Cursor a través de OpenClaw, para que el trabajo se ejecute en esa herramienta.
browser-automation
394 milEnseña a tu agente a controlar páginas web paso a paso, incluidos los inicios de sesión, las pestañas y la recuperación cuando una página deja de responder.