Package io.agentscope.harness.agent.tool
Class SkillManageConfig
java.lang.Object
io.agentscope.harness.agent.tool.SkillManageConfig
Configuration for
SkillManageTool.
Default values are tuned for enterprise production deployment: new skills land in a draft
subdirectory (not the live skills root), static security scanning is on, and the agent cannot
silently overwrite an existing skill via create.
For personal-assistant / experimental use the recommended override is
SkillManageConfig.builder().autoPromote(true).build() — agent writes go straight to the
live skills root, becoming visible on the next reasoning turn.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanSkip the draft staging path and write directly to the live skills root.static SkillManageConfig.Builderbuilder()static SkillManageConfigdefaults()Workspace-relative directory where drafts land.mainDir()Workspace-relative directory where promoted skills live.booleanRunSkillSecurityScannerafter every write.
-
Field Details
-
DEFAULT_DRAFTS_DIR
Default subdirectory under workspace for staging drafts.- See Also:
-
DEFAULT_MAIN_DIR
Default subdirectory under workspace for promoted skills.- See Also:
-
-
Method Details
-
autoPromote
public boolean autoPromote()Skip the draft staging path and write directly to the live skills root. -
securityScan
public boolean securityScan()RunSkillSecurityScannerafter every write. -
draftsDir
Workspace-relative directory where drafts land. -
mainDir
Workspace-relative directory where promoted skills live. -
defaults
-
builder
-