SkillCandidate
public record SkillCandidate( String name, String description, String skillMdContent, List<String> supportFilePaths, SkillUsageRecord usage, SkillSecurityScanner.ScanResult securityScan, List<ScriptFilePreview> scriptFiles)
io/agentscope/harness/agent/skill/curator/SkillCandidate.java:29–40承载技能 Candidate数据的记录类型。位于 io.agentscope.harness.agent.skill.curator 包。核心成员包括 name、description、skillMdContent、supportFilePaths、usage、securityScan。
Material handed to a SkillPromotionGate when a draft skill is being considered for
promotion. Includes the skill body, support files, telemetry record, and the result of the
pre-promote security scan.
scriptFiles is the sandbox-mode-relevant payload: under SkillBox
.codeExecution() every scripts/* file gets uploaded into the sandbox and executed.
Reviewers must see the head + sha256 of every script file before saying "approve".
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
name | String | 执行名称相关操作。 Performs the name operation. |
description | String | 执行 `description` 方法。 Performs the description operation. |
skillMdContent | String | 执行技能 Md 内容相关操作。 Performs the skill md content operation. |
supportFilePaths | List<String> | 执行 `supportFilePaths` 方法。 Performs the support file paths operation. |
usage | SkillUsageRecord | 执行用量相关操作。 Performs the usage operation. |
securityScan | SkillSecurityScanner.ScanResult | 执行 `securityScan` 方法。 Performs the security scan operation. |
scriptFiles | List<ScriptFilePreview> | 执行 `scriptFiles` 方法。 Performs the script files operation. |
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
ScriptFilePreview | 记录record | 承载 Script 文件预览数据的记录类型。 A record in io.agentscope.harness.agent.skill.curator that carries data used when components lets agents invoke external capabilities under control. |
记录组件详情Record Component Detail
name
String name执行名称相关操作。
Performs the name operation.
io/agentscope/harness/agent/skill/curator/SkillCandidate.java:29–40description
String description执行 description 方法。
Performs the description operation.
io/agentscope/harness/agent/skill/curator/SkillCandidate.java:29–40skillMdContent
String skillMdContent执行技能 Md 内容相关操作。
Performs the skill md content operation.
io/agentscope/harness/agent/skill/curator/SkillCandidate.java:29–40supportFilePaths
List<String> supportFilePaths执行 supportFilePaths 方法。
Performs the support file paths operation.
io/agentscope/harness/agent/skill/curator/SkillCandidate.java:29–40usage
SkillUsageRecord usage执行用量相关操作。
Performs the usage operation.
io/agentscope/harness/agent/skill/curator/SkillCandidate.java:29–40securityScan
SkillSecurityScanner.ScanResult securityScan执行 securityScan 方法。
Performs the security scan operation.
io/agentscope/harness/agent/skill/curator/SkillCandidate.java:29–40scriptFiles
List<ScriptFilePreview> scriptFiles执行 scriptFiles 方法。
Performs the script files operation.
io/agentscope/harness/agent/skill/curator/SkillCandidate.java:29–40嵌套类详情Nested Class Detail
ScriptFilePreview
public record ScriptFilePreview( String relPath, String headPreview, int totalLines, String sha256)承载 Script 文件预览数据的记录类型。位于 io.agentscope.harness.agent.skill.curator 包。核心成员包括 relPath、headPreview、totalLines、sha256。
A record in io.agentscope.harness.agent.skill.curator that carries data used when components lets agents invoke external capabilities under control. Declared in io.agentscope.harness.agent.skill.curator.