gate-check
/gate-check
Wyszukuje w potoku decyzje, które nie wymagają drogiego modelu, i proponuje dla każdej bramkę: regułę, klasyczny klasyfikator lub mały model, z routingiem fail-closed.
- Autor
- undefined-ui ↗
- Repozytorium
- second-brain-os ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 13.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 13.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Wyszukuje w potoku decyzje, które nie wymagają drogiego modelu, i proponuje dla każdej bramkę: regułę, klasyczny klasyfikator lub mały model, z routingiem fail-closed.
Oryginalny opis (EN)
Find the decisions in a pipeline that do not need the expensive model and propose the gate for each: a rule, a classic classifier, or a small model, with fail-closed routing. Use when the user asks to cut model costs or latency, says the big model handles everything, or wants a triage / routing / filter layer in front of an agent. Analysis plus an optional baseline scaffold. Do NOT use for auditing context layout (context-audit) or for building eval suites (evals-bootstrap).
Jak działa
- Workflow
- Output format
Podgląd SKILL.md
---
name: gate-check
description: >-
Find the decisions in a pipeline that do not need the expensive model and
propose the gate for each: a rule, a classic classifier, or a small model,
with fail-closed routing. Use when the user asks to cut model costs or
latency, says the big model handles everything, or wants a triage /
routing / filter layer in front of an agent. Analysis plus an optional
baseline scaffold. Do NOT use for auditing context layout (context-audit)
or for building eval suites (evals-bootstrap).
---
# Find the gates
Theory: [Cheap decisions](https://secondbrainos.dev/#/read/course-3-gate/cheap-decisions)
and [Gate practice](https://secondbrainos.dev/#/read/course-3-gate/gate-practice).
An agent does two kinds of work: it writes, which needs a big model, and it
decides — is this spam, which queue, does this need a person — which is a
bounded question the answer to which comes from a set you already know.
A gate is a cheap decision layer that sorts the stream so the expensive
model only sees the items that actually need judgement.
## Workflow
1. **Map the decisions.** Read the pipeline's entry points and prompts and
list every decision made before or during a model call: classification,
routing, filtering, yes/no triage, priority, language, "is this even for
us". Ignore the writing — only bounded decisions with a known label set.
2. **Count what each costs today.** For each decision currently made by the
big model: calls per day if known, tokens per call, and what a wrong
answer costs. A decision worth one bit that burns a frontier call is the
headline finding.
3. **Propose the cheapest gate that can hold it**, in rising order of cost:
- a **rule** — regex, allowlist, header check: free, instant, blind to
anything unanticipated; always the first layer, never the last
- a **classic classifier** — logistic regression or similar over simple
features, trained on a few hundred labelled examples: milliseconds,
fractions of a cent, and the baseline every fancier option must beat
- a **small / System One model** — when the input is too varied for
features but the output is still a label with a confidence score
4. **Route fail-closed.** Every gate needs a confidence threshold, and doubt
goes down the safe path: unsure means escalate to the big model (or a
person), never means guess. Say explicitly what each gate's unsure route is.
5. **Offer the baseline scaffold.** If the user wants to proceed, generate
the module's thirty-minute exercise for their data: a `label.py` that
samples ~200 real examples for hand-labelling, and a `baseline.py` that
trains the classic classifier and prints accuracy against a held-out
split. Every vendor claim and small-model option must beat this number
on their data before it earns a place in the pipeline.
## Output format
```
Gate check — <pipeline>
decisions found: <n>, currently on the big model: <n>
1. <decision> — <where in the code>
today: <who decides, est. cost> label set: <the labels>
gate: <rule | classifier | small model> — <why this tier>
unsure -> <escalation path>
saves: <est. calls/tokens diverted>
...
```
Rank by savings. If a decision genuinely needs the big model — open-ended,
no stable label set, wrong answers are cheap to fix — say so and leave it
alone; a gate that guesses is worse than no gate.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · undefined-ui/second-brain-os | 100 | MIT |
| forgivesam168/ai-dev-workflow | 100 | Apache-2.0 |
| tranhieutt/software_development_department | 100 | MIT |
| striderZA/OpenCodeGameStudios | 95 | MIT |
| striderZA/OpenCodeGameStudios | 95 | MIT |
| IdoCohen560/claude-unity-game-studio | 95 | MIT |
| chatquill/claude-code-websites | 90 | MIT |
| furkantokkan/agent-foundry | 90 | MIT |
| supernovae-st/nika | 81 | AGPL-3.0 |
Migawka bazy z 13.11.2026 · wersja paczki 1a708647415e (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100evals-bootstrap
Tworzy szkielet pierwszego zestawu ewaluacji agenta: zamienia prawdziwe awarie w przypadki, pisze kontrole zachowania na śladach i generuje runner. - 100llm-eval-builder
Buduje mały, powtarzalny zestaw ewaluacyjny dla funkcji LLM z kontrolą regresji po zmianie promptu lub modelu. - 98model-gateway
Konfiguruje i diagnozuje lokalną bramkę ChatGPT i Codex dla wyboru modelu w Claude Code, łącznie z logowaniem i routingiem. - 90recursive-language-model
Pomaga przenieść zadanie agentowe z dużego modelu na mały lokalny model, dzieląc je na ograniczone kroki i przypadki treningu. - 100eval-harness
Prowadzi ewaluację sterowaną testami dla agentów kodujących, z oceną graderami i mierzeniem pass@k oraz niezawodności. - 100autoeval
Uruchamia ewaluacje i bramki wydań Plumloom Autoeval dla agentów AI i funkcji LLM z terminala, raportując werdykt PASS, FAIL lub INCONCLUSIVE bez edytowania ewaluacji i progów.