Логотип Gating Expensive Batch Work

Gating Expensive Batch Work

Спільнота
abagames
gating-expensive-batch-work

Splits a batch of expensive per-item agent work into a cheap reversible pass over every item and an expensive irreversible pass, separated by a method-freeze checkpoint. Use when running one costly procedure over many items (evaluations, migrations, audits, labeling, benchmark or fixture construction) and the method — rubric, transform rules, criteria, instrument — could still turn out to be wrong, or when part of the work spends something that cannot be spent twice: fresh seeds, held-out data, one-shot quota, published output, or a reviewer's first impression. Not for single items, cheap items, or a method already validated on the same class of item.

Огляд

Видавецьabagames
Репозиторійagentic-gamedev-skills
Назва навичкиgating-expensive-batch-work
Зірки
39
Форки
6
Файли в пакеті
1
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 1

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем abagames. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Gating Expensive Batch Work у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/abagames/agentic-gamedev-skills/tree/main/.agents/skills/gating-expensive-batch-work
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/abagames/agentic-gamedev-skills.git /tmp/agentic-gamedev-skills
mkdir -p .claude/skills
cp -r /tmp/agentic-gamedev-skills/.agents/skills/gating-expensive-batch-work .claude/skills/gating-expensive-batch-work
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Gating Expensive Batch Work в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Gating Expensive Batch Work, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Gating Expensive Batch Work не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Gating Expensive Batch Work

Purpose

Stop a batch from being run item-by-item end-to-end when the method might be wrong. Serial execution guarantees the worst position: a defect found at item 3 forces a choice between finishing with a method known to be broken and discarding the work already done. Neither is recoverable.

When to Use

  • The same expensive procedure runs over many items, and most of the cost is per-item agent work that cannot be scripted.
  • The method could still be wrong, and the items are what would reveal it.
  • Some step spends an irreversible resource.

When Not to Use

  • One or two items — there is nothing for the checkpoint to amortize over.
  • Per-item work is cheap enough that redoing the whole batch is affordable.
  • The method is already validated on this class of item; the batch is production, not discovery.
  • Nothing irreversible is consumed and nothing expensive is per-item. Just run it.

Required Inputs

  • The item list, fixed before any item is processed.
  • The per-item procedure, with its steps in order.
  • The method or instrument that all items share.

Procedure

1. Name the irreversible resources. List what the work spends that cannot be un-spent. Typical: fresh random seeds and held-out data (observing them contaminates later use of the same draw), one-shot API or compute quota, published or externally visible output, a human reviewer's first read, and any observation that would condition a later decision. The list may legitimately come out empty: a batch whose only cost is expensive per-item work still qualifies. Record it as empty rather than inventing an entry, and carry that into step 2.

2. Find the split point. The reversible pass ends at the first step touching anything from step 1 — or, when that list is empty, at the first step whose per-item cost is what makes redoing the batch expensive. Everything before it can be redone freely.

3. Build a mechanical stop, not a rule. Add a flag, subcommand, or mode that runs the reversible pass and returns before the first irreversible step. Written discipline is not enough: if the only way to reach the gate is to run past it, the structure cannot be executed as designed and will not be.

4. Run the reversible pass for every item. Not a sample. The checkpoint sees exactly as many ways the method can break as it has items.

5. Emit a per-item gate report. For each item, mechanically: can the irreversible pass produce a usable result, and if not, which specific requirement failed. Include a field asserting no irreversible resource was touched. Load references/gate-report.md for the minimum record shape; invent a format only if that one cannot carry the batch's stop reasons.

6. Take the method-freeze checkpoint once, with all reports in hand. Record the decision, its basis, and its re-freeze scope — which items must be redone if this decision is later reversed. Different candidate changes usually have very different scopes; recording one blanket "anything changed here restarts everything" hides that, and makes a cheap change look as expensive as the costly one.

7. Adapt per item only before the checkpoint. This is the one place adaptation is legitimate. Afterwards, adapting to rescue a particular item conditions the result on the outcome.

8. Run the irreversible pass for items that passed the gate.

Validation

  • The gate report carries a machine-checkable assertion, per item, that no irreversible resource was consumed (held_out_accessed: false or equivalent). When step 1's list came out empty, the equivalent assertion is that the expensive pass was never entered. Prose promising it is not a check.
  • Every item has a terminal state before the irreversible pass starts: passed, or stopped with a named reason.
  • The checkpoint decision is written with its basis before the irreversible pass runs. If the basis cannot be stated without citing irreversible-pass results, the checkpoint has not been taken.
  • Deliberately run the gate against an item you expect to fail. A gate that reports success on work that is actually invalid is worse than no gate, because the report then asserts a check that never happened.

Common Failure Modes

  • Reading a gate stop as an item failure. It is a result about the method. Half a batch stopping on one requirement is the most informative thing the gate can produce; converting those items to a low score destroys the finding.
  • Doing thin work on items expected to stop. A stop reached through a weak attempt proves nothing. Hold every item to the same standard, especially the ones predicted to fail.
  • Sampling instead of covering. Running the reversible pass on 2 of 7 items yields a checkpoint that has seen 2 of 7 failure modes, at nearly the same checkpoint cost.
  • Skipping the mechanical stop because you will be careful. You will run past it.
  • Repairing the method once a stop makes the repair convenient. The test is whether the defect is arguable without referring to the item it rescues. Disclose the ordering either way: a repair made after seeing which item it saves is weaker evidence than the same repair made before.
  • Collapsing the checkpoint into the run. If the decision is taken while the irreversible pass is already in flight, its re-freeze scope is unknowable and the freeze is not a freeze.

Output

  • A per-item gate report, one record per item, with the no-irreversible-access assertion.
  • One written checkpoint decision carrying its basis and re-freeze scope.
  • The irreversible pass executed only for items that passed the gate, with stopped items retained in the record under their reason rather than dropped from it.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Gating Expensive Batch Work?

Splits a batch of expensive per-item agent work into a cheap reversible pass over every item and an expensive irreversible pass, separated by a method-freeze checkpoint. Use when running one costly procedure over many items (evaluations, migrations, audits, labeling, benchmark or fixture construction) and the method — rubric, transform rules, criteria, instrument — could still turn out to be wrong, or when part of the work spends something that cannot be spent twice: fresh seeds, held-out data, one-shot quota, published output, or a reviewer's first impression. Not for single items, cheap i...

Навіщо використовувати Gating Expensive Batch Work у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Gating Expensive Batch Work — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Gating Expensive Batch Work у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/abagames/agentic-gamedev-skills/tree/main/.agents/skills/gating-expensive-batch-work. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Gating Expensive Batch Work?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Gating Expensive Batch Work?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Gating Expensive Batch Work — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Gating Expensive Batch Work?

Так. Навичку опубліковано на GitHub: abagames, за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇