SS

simonlqy/skillgate

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

5 stars 品質 57 トレンド 21Apache-2.0

Agent skills are instruction files an agent reads on demand: a name, a one-line description, a body of procedure.

概要

Agent skills are instruction files an agent reads on demand: a name, a one-line description, a body of procedure. With thousands in a library, — from names and descriptions alone — and outcome-rewarded RL cannot teach it. The tokens that name the chosen skill carry a median of their trajectory's loss weight, and two in five receive a negative advantage because execution afterwards failed. We call this . SkillGate removes it by construction: one GRPO update, two disjoint credit channels — outcome credit reaches only execution tokens, while an action-local advantage reaches exactly the skill-naming tokens, positive only when the trajectory's single read is the correct skill. Four scenes, no mock data. A held-out task where the whole decision is inside a read call; the failing run in which those tokens are — 0.

README

以下は原文 README の抜粋です。原文を見る。


Agent skills are instruction files an agent reads on demand: a name, a one-line description, a body of procedure. With thousands in a library, which skill to read is a decision the policy makes mid-episode — from names and descriptions alone — and outcome-rewarded RL cannot teach it. The tokens that name the chosen skill carry a median 0.14% of their trajectory’s loss weight, and two in five receive a negative advantage because execution afterwards failed. We call this selector credit starvation. SkillGate removes it by construction: one GRPO update, two disjoint credit channels — outcome credit reaches only execution tokens, while an action-local advantage reaches exactly the skill-naming tokens, positive only when the trajectory’s single read is the correct skill.

🎬 Demo

The problem and the fix, in 30 seconds

Four scenes, no mock data. A held-out task where the whole decision is 8 tokens inside a read call; the failing run in which those tokens are 11 of 30,487 — 0.036% of the loss, counted with the released tokenizer over the archived trajectory; the credit partition SkillGate applies instead; and what that one change buys on the same task pair.

Case study: one SkillGate episode, end to end

An archived run on sb_ns/lake-warming-attribution (verifier-checked data analysis). The policy starts working, reaches for the library mid-episode, picks the oracle out of six lake/trend lookalikes in one read, and lands the two traps the skill documents (Mann-Kendall instead of linregress; the category label Heat, not the individual driver). Score 1.0 in 14 tool calls — on the same slate, the outcome-only baseline read four skills, none of them the oracle, and failed.

Overview

The problem — one broadcast advantage updates both the few tokens that chose

GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add simonlqy/skillgate
MCP 初心者?mcpskill.org のガイドから始めましょう →