model-routing
/model-routing
Pomaga przypisywać zadania LLM do modeli przez task_router.py i utrzymywać aktualny katalog modeli wraz z cenami.
- Autor
- acaprino ↗
- Repozytorium
- alfio-claude-plugins ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 17
- Skrypty
- 10
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 10 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/benchmark_snapshot.py, scripts/build_model_catalog.py, scripts/build_model_prices.py, scripts/capability_resolver.py, scripts/model_capabilities.py, scripts/price_crosscheck.py, scripts/registry_fetch.py, scripts/task_router.py, scripts/tier_router.py, scripts/usage_pricing.py
Co robi i kiedy
Pomaga przypisywać zadania LLM do modeli przez task_router.py i utrzymywać aktualny katalog modeli wraz z cenami.
Oryginalny opis (EN)
Select the model and effort for each LLM job through task_router.py, and refresh the model catalog and prices. TRIGGER WHEN: a coordinator routes an LLM job, or the catalog or prices need a refresh.
Jak działa
SKILL.md bez nagłówków drugiego poziomu · 80 linii, 734 słów
Podgląd SKILL.md
--- name: model-routing description: > Select the model and effort for each LLM job through task_router.py, and refresh the model catalog and prices. TRIGGER WHEN: a coordinator routes an LLM job, or the catalog or prices need a refresh. --- <daodan_host_binding host="codex"> This binding governs execution of this package and its loaded references. It takes precedence over executable examples written for another host. Use only registered tools and their actual input schema; an example never creates a tool, argument, permission, model alias or nested worker capability. Preserve the generated worker allowlist, dependency closure, scope and delivery contracts. Codex binding: the adapter binds repository read to read_file, writes to apply_patch and shell execution to shell; use the equivalent registered tools of the active Codex runtime and their actual fields. In particular, a shell example's command, timeout and background fields are not automatically another runtime's cmd, yield_time_ms or session controls. Start the runtime's available isolated subagent mechanism with the complete rendered role body in its task prompt. Role Markdown and generated dispatch bodies are resources, not registered skills or a native role/subagent_type parameter. Use only declared role bindings and report an unavailable isolation mechanism. Load installed skills by their advertised exact IDs; workflow skills carry the <workflow>-workflow suffix. Named-agent examples do not override inline delivery. Required foreign providers use Codex's marketplace/install commands: codex plugin marketplace add <source>, then codex plugin add <provider>@<marketplace>. Register plugin-declared MCP servers through the active host's MCP configuration using the generated server command. Do not assume registration makes every tool available to a restricted worker. Inherit the active session's model and default variant. A source model alias such as sonnet is not a portable override; request a different model only through an explicit adapter mapping to a valid host identity and user authorization. The executing agent and its coordinator own continuation, recovery, verification and delivery. Skills supply knowledge and method instructions; they are not executors or a runtime persistence mechanism. Resolve each component by kind and exact installed identity. A role is dispatched as a worker, a skill loads instructions, and a workflow starts its declared method. Kernel owner-qualified skill references are logical provider identities: resolve them to the actual host registry name and verified installed provider path. Do not invent a registry string by adding an owner's prefix when the host does not use it. Do not load an agent identity as a skill or execute a workflow name as a shell command. Declared required foreign providers remain mandatory. If a required provider or capability (including required MCP access or isolation) is unavailable, stop its dependent phase and report the missing capability. Optional external providers follow the method's declared selection and absence behavior; their absence alone does not block the base workflow. Report any explicitly requested but unavailable provider contribution as unfulfilled and continue independent work. Do not install a different host's plugin or substitute unrelated skills to claim coverage. Shell execution alone does not establish interactive stdin. Before a capture or checkpoint, use an available session-control mechanism. When stdin is unavailable, keep user-driven capture in a supported background process with bounded output and an explicit stop signal controlled by the coordinator after the user's completion message. Close owned browser/process resources on completion or cancellation. Continue working within the current authorization while the requested result is achievable. After a tool error, inspect its cause, correct the relevant input or implementation, retry when justified and verify the outcome; never repeat a failing action blindly. Do not close the turn with a promise or a partial result when an authorized next step can still produce or verify the requested result. Stop only for a documented real impediment, a missing required capability, an unresolved human decision or the caller's stop request. At that boundary, report completed results, remaining work and the concrete prerequisite for continuation; continue any independent work that the blocker does not prevent. A tool's successful exit, a worker stop or an idle session is not the deliverable. Return final text naming observed findings, artifact paths, executed checks and blockers. An empty worker result is missing delivery: inspect or resume that worker when permitted, or record failure. Verify required artifacts and candidate gates before marking the requested outcome complete. This is an execution binding, not a rewrite of source examples. Preserve programming language fences, domain code and host APIs that are the subject of marketplace-ops or agent-sdk-builder. A host-as-subject API is not a tool provided to this session. Compiled binding and static checks do not prove an installed host executed a run. </daodan_host_binding> # Model routing For per-request routing, confirmation and dispatch/resume, read `references/task-routing.md`. For catalog, price or price-rule refresh, read `references/model-catalog-refresh.md`.
Pliki w paczce (17)
- SKILL.md 5 KB
- SKILL.toml 1 KB
- references/model-catalog-refresh.md 14 KB
- references/model-catalog.json 1 064 KB
- references/model-prices.json 207 KB
- references/price-rules.json 12 KB
- references/task-routing.md 13 KB
- scripts/benchmark_snapshot.py 21 KB
- scripts/build_model_catalog.py 45 KB
- scripts/build_model_prices.py 6 KB
- scripts/capability_resolver.py 18 KB
- scripts/model_capabilities.py 5 KB
- scripts/price_crosscheck.py 6 KB
- scripts/registry_fetch.py 14 KB
- scripts/task_router.py 72 KB
- scripts/tier_router.py 139 KB
- scripts/usage_pricing.py 25 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · acaprino/alfio-claude-plugins | 91 | MIT |
| frankxai/claude-skills-library | 100 | MIT |
| nahid-sparktales/agent-dispatcher | 100 | MIT |
| yeaight7/agent-powerups | 100 | Apache-2.0 |
| verivus-oss/llm-cli-gateway | 100 | MIT |
| acaprino/alfio-claude-plugins | 91 | MIT |
| acaprino/alfio-claude-plugins | 91 | MIT |
| acaprino/alfio-claude-plugins | 91 | MIT |
| acaprino/alfio-claude-plugins | 91 | MIT |
Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.
Migawka bazy z 28.10.2026 · wersja paczki 95dd05855aa8 (skrót SHA-256 całej paczki)
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100socai-model-sync
Odświeża i waliduje katalog modeli LLM socai dla aplikacji desktopowej i CLI. - 100cost-aware-llm-pipeline
Podaje wzorce optymalizacji kosztów użycia API LLM: routing modeli według złożoności zadania, śledzenie budżetu, logikę ponowień i prompt caching. - 100add-llm-model
Prowadzi przez dodanie nowych dostawców i modeli LLM, takich jak OpenAI, Codex czy DeepSeek, do projektu. - 100add-llm-model
Dodaje nowy model LLM do katalogów modeli stagewise, instancji dostawców, routingu, walidacji, dokumentacji i interfejsu pokazowego. - 100model-registry-refresh
Weryfikuje i rozszerza plik catalog/model-registry.json z macierzą nazw modeli i poziomów rozumowania, korzystając z badań przez Context7 i pełnego łańcucha walidacji. - 100llm-router
Dobiera model i dostawcę LLM do każdego zadania według złożoności, budżetu i wymagań, kierując proste zadania do tanich modeli, a złożone do mocniejszych.