Class SkillCatalog
java.lang.Object
io.agentscope.harness.agent.skill.runtime.SkillCatalog
Immutable snapshot of the skills visible to a single
onSystemPrompt pass.
Keyed by skillId (the AgentSkill's name + "_" + source), insertion-order
preserved so the prompt renders skills in compose order.
-
Method Summary
Modifier and TypeMethodDescriptionall()All entries in compose order (low-to-high priority).static SkillCatalogempty()Lookup byskillId(name_source).ids()All skillIds, in compose order.booleanisEmpty()static SkillCatalogof(List<HarnessSkillEntry> orderedEntries) intsize()
-
Method Details
-
empty
-
of
-
get
Lookup byskillId(name_source). Returnsnullwhen absent. -
all
All entries in compose order (low-to-high priority). -
ids
All skillIds, in compose order. -
isEmpty
public boolean isEmpty() -
size
public int size()
-