ExAgent. Skills. Restore
(ExAgent v3.0.0)
View Source
Capability that restores loaded skills removed from the request projection.
Stability — Stable.
ExAgent.new/1 appends it after the agent's own capabilities when :skills is
set (see ExAgent.Skills), so it runs after compaction. When an earlier
capability left request messages (ExAgent.ModelRequest) that no longer
contain a loaded skill's load_skill result, it inserts those results again
as one user-level message after any leading instructions-only messages.
When the request messages still hold every loaded result it does nothing.
The canonical history is never changed, and the restored text is not
counted by a compaction threshold that ran before it.