quota-array-dispatch
하는 일
이 스킬은 사용 가능한 사용량을 바탕으로, 한 작업에 허용된 여러 헬퍼 프로필 중 Firstmate가 어떻게 고르는지 설명합니다. 여러 AI 계정을 설정하고 그 선택이 공정하게 처리되길 원하는 사람을 위한 것입니다.
사용하는 경우
- ✓배정 규칙이 여러 헬퍼 프로필에 맞을 수 있을 때.
- ✓홈이 모든 제공자가 한 사용량 예산을 나누도록 설정되어 있을 때.
- ✓왜 다른 프로필 대신 한 프로필이 선택되었는지 알고 싶을 때.
스킬 링크
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/quota-array-dispatch/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“작업에 맞는 프로필이 여러 개일 때 제 헬퍼가 어떻게 선택되는지 설명해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 맞는 프로필을 각각 읽고, 허용된 규칙에 비추어 확인한 뒤, 비교 가능한 간단한 점수로 하나를 고릅니다. 새 경로를 만들거나 정책을 바꾸지 않습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
설정 파일이 잘못된 형식이면 어떻게 되나요?
스킬은 어떤 프로필을 쓸지 추측하지 않고 배정을 거부하라고 설명합니다.
에이전트가 모델을 스스로 고를 수 있나요?
아닙니다. 사용량 데이터는 비교 가능한 숫자를 주며, 선택은 여러분이 선언한 규칙을 따릅니다.
예산을 제공자 사이에서 공유하면 어떻게 되나요?
홈이 공유 예산을 선언할 수 있으며, 그러면 사용량 기반 순위 매기기가 꺼집니다.
상세 정보
작성자의 원본 설명
Load when a crew-dispatch rule or default resolves to more than one profile candidate.
repo: kunchenguid/firstmate
인기도
- GitHub 스타
- 8.5k
- 순위
- #12442
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
afk
8.5k에이전트가 여러분이 자리를 비운 동안에도 작업을 계속하며 결정은 여러분의 복귀까지 보류하고, 돌아오면 명확한 브리프를 보내도록 돕습니다.
ahoy
8.5k에이전트가 세션에서 일어난 일을 짧게 요약해 주고, 아직 여러분의 답을 기다리는 결정 사항을 함께 살펴보도록 돕습니다.
ask-user-authority
8.5k에이전트가 검토 질문이 합의된 계획에 명확히 맞으면 스스로 결정하고, 질문이 불분명하거나 위험할 때만 여러분에게 묻도록 돕습니다.
away-quiet-supervision
8.5k자리 비움이나 조용한 모드에서 작업을 감독할 때의 안전 규칙을 정해, 에이전트가 메시지를 명확히 하고 여러분이 필요한 결정을 보류하도록 합니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.