multi-harness-rl-invariants
Cross-harness RL invariant engine stolen from Hugging Face FineEnvs (multi-harness-rl). Normalizes tool invocations across Claude Code, Antigravity, Strands…
от IgorGanapolsky★ 34 звезды на GitHub
Установить multi-harness-rl-invariants в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Multi-Harness RL Invariants — Cross-Harness Generalization
The Research Finding (FineEnvs / Orchard 2026)
Models trained inside a single agent harness (e.g. OpenHands or Claude Code) experience severe performance drops when deployed to a foreign harness:
- Catastrophic Format Failure: Models hallucinate parameters, emit broken JSON, or fail to parse shell tool outputs when moving to another harness.
- Degraded Resolve Rate: OpenSWE-32B drops 58.8 points (from 62.4% down to 3.6%) when transferring to Kimi-CLI.
- Harness Overfitting: Swapping the harness moves benchmark resolve rates by up to 13 points, while swapping the underlying model moves scores by only 2.5 to 5 points.
The ThumbGate Architecture
ThumbGate acts as the universal Canonical Action Normalizer & Invariant Gateway:
[Claude Code] ──┐
[Antigravity] ──┼─► [Canonical Action Quadruplet] ──► [Cross-Harness Invariant Diode] ──► [Target System]
[Strands] ──┤ (entity, op, target, params) (Format, Security, Bounds)
[OpenHands] ──┘
1. Canonical Action Quadruplets
Regardless of the model's originating harness, every action is normalized into:
harness: Source harness (claude_code,antigravity,strands,openhands,terminus)domain:shell,filesystem,network,genericoperation:exec,read,write,deletetarget: Command line string, file path, or URLpayload: Contextual arguments
2. Format & Safety Invariant Gates
- Prevents command injection and forbidden operations (
rm -rf /,git push --force origin main,gh pr merge --admin). - Blocks path traversal (
../../../etc/passwd). - Evaluates before any execution occurs.
3. Transfer Scorecard & RL Rewards
Calculates multi-harness diversity multipliers and invariant pass rates for RL / DPO model training:
node scripts/strands-box-doctor.js --json
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл multi-harness-rl-invariants?
Cross-harness RL invariant engine stolen from Hugging Face FineEnvs (multi-harness-rl). Normalizes tool invocations across Claude Code, Antigravity, Strands, and OpenHands, catches catastrophic format failures, and computes cross-harness transfer reward signals.
Как установить скилл multi-harness-rl-invariants?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл multi-harness-rl-invariants запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…