Skip to main content

Module skill_forge_tool

Module skill_forge_tool 

Source
Expand description

Agent tool for authoring, validating, and packaging skills.

Wraps the [ExtensionApi] / SkillManager domain of the KernelHandle. Mirrors Anthropic’s skill-creator model split along the knowledge/capability seam: this tool is the capability (deterministic create/validate/package), the bundled skill-creator skill is the methodology (how to write a good skill). The tool is self-discoverable — its description carries enough authoring guidance that an agent can produce well-formed skills even when the methodology skill is not loaded (e.g. in an installed binary before default skills are embedded).

§Actions

ActionDescriptionRequired paramsOptional params
listList all installed skills
getGet a skill’s full content + metadataname
createCreate a skill (synthesized frontmatter)name, descriptioncontent
writeWrite raw SKILL.md (rich frontmatter kept)name, content
validateValidate a skill’s structurename, content
packagePackage a skill into a .skill zipname
importImport a skill from raw SKILL.md textcontentname
deleteDelete a skillname
enableEnable a skillname
disableDisable a skillname

Structs§

BenchmarkData
BenchmarkMeta
BenchmarkRun
ConfigStats
ConfigSummary
Serialized as a nested object: { mean, stddev, min, max }.
DeltaSummary
ExpectationRow
Finding
One structural finding from validation.
SkillForgeTool
Agent tool for skill authoring, validation, and packaging.
ValidationReport
Result of validating a skill’s structure.

Enums§

Severity

Functions§

aggregate_benchmark
Aggregate pass-rate / time / token stats for the configurations found in an eval workspace iteration directory.
generate_review_html
Generate a self-contained static HTML review of an eval iteration.
is_valid_skill_name
A skill name is lowercase ascii letters, digits, and hyphens; non-empty; no leading/trailing hyphen.
package_skill_dir
Package skill_dir into a .skill zip at out, with the skill folder as the top-level entry (so extraction lands at <name>/...).
validate_skill_content
Validate a raw SKILL.md (frontmatter + body).