Logo de Gating Expensive Batch Work

Gating Expensive Batch Work

Communauté
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.

Présentation

Éditeurabagames
Dépôtagentic-gamedev-skills
Nom de la compétencegating-expensive-batch-work
Étoiles
39
Forks
6
Fichiers inclus
1
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont en simple Markdown, et non en code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • 1 fichiers inclus

    Des scripts, des modèles de documents et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par abagames sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Gating Expensive Batch Work dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Collez l’URL du dossier de la compétence indiquée ci-dessous, puis confirmez.
    https://github.com/abagames/agentic-gamedev-skills/tree/main/.agents/skills/gating-expensive-batch-work
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter → Via URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

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
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Gating Expensive Batch Work dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Gating Expensive Batch Work dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, Gating Expensive Batch Work n’est pas lié au modèle pour lequel cette compétence a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA 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...

Pourquoi utiliser Gating Expensive Batch Work sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Gating Expensive Batch Work se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Gating Expensive Batch Work dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/abagames/agentic-gamedev-skills/tree/main/.agents/skills/gating-expensive-batch-work. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Gating Expensive Batch Work ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Gating Expensive Batch Work ?

Autant que vous le souhaitez. Tant qu’un modèle prend en charge les compétences, vous pouvez utiliser Gating Expensive Batch Work avec lui : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Gating Expensive Batch Work est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par abagames sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, modèles de documents ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇