Executable agent skills need trigger-level release gates
HASP turns reusable lessons into functions that intervene in an agent loop; reported gains are promising, but each trigger becomes governed software with permissions and rollback risk.

What happened
EMNLP 2026 published HASP, a framework that represents agent skills as executable Program Functions for inference, training and controlled evolution.
Why it matters
Once a skill can change the next action, its triggers, permissions, conflicts and rollback behavior become part of the release decision.
Skills become interventions in the agent loop
HASP turns reusable agent lessons into executable Program Functions. Instead of leaving a textual instruction for the model to remember, a function detects a failure-prone state and can modify the next action or inject corrective context. The framework can run at inference time, provide structured supervision during post-training or evolve a library of teacher-reviewed functions.
The paper reports results across web search, mathematical reasoning and coding. On web-search reasoning, inference-time functions improved average performance by 25% relative to multi-loop ReAct, while post-training plus controlled evolution improved 30.4% relative to Search-R1.
The percentages do not transfer automatically
Those are benchmark-relative gains inside the authors' configurations, not guaranteed production uplifts. Executable interventions add their own failure modes: a trigger may fire too broadly, corrective context may be stale, and a library may accumulate conflicting functions. The authors themselves emphasize stable library evolution.
Independent work on Trace2Skill also reports that skills distilled from execution trajectories can transfer across models and settings. It supports the general direction, while using a different skill representation and evaluation. It does not replicate HASP's percentages.
Treat each skill like a governed change
An executable skill needs an owner, trigger contract, permitted actions, version, provenance and rollback test. Evaluate the base agent and the agent-plus-skill on the same frozen cases. Record helpful activations, missed activations and harmful activations separately; an average score can hide a trigger that damages a rare but important workflow.
Promotion should be staged. A new function first observes without intervening, then proposes an action for approval, and only later receives bounded execution authority. This extends agent skills as a software supply chain: the artifact is not merely documentation once it can change the next action.
Decision rule
Do not auto-load an executable skill because it improved an aggregate benchmark. Require trigger-level precision and recall, bounded permissions, conflict tests, signed provenance and a tested rollback path.