程序包 io.agentscope.core.skill
package io.agentscope.core.skill
-
类说明Represents an agent skill that can be loaded and used by agents.Builder for creating AgentSkill instances.Generates skill system prompts for agents to understand available skills.Dynamically composes skills from an ordered list of
repositorieson everycall()viaDynamicSkillMiddleware.onSystemPrompt(Agent, RuntimeContext, String), replacing the static skill prompt with a per-call view that supports per-user skill isolation and one-click marketplace integration.Manages a collection ofAgentSkillinstances and exposes them as tools.Fluent builder for registering skills with optional configuration.Filter for deciding whether a skill resource should be uploaded.Immutable filter that decides which skills are allowed in a prompt.已过时。since 2.0.0.