skill

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSkill

func NewSkill(_ SkillConfig, deps SkillDeps) (agentkit.ToolPack, error)

NewSkill registers tool/skill: Discover and load an agent skill by name.

Best practices:

  • Load a skill once per task, then follow its instructions.

Types

type SkillConfig

type SkillConfig struct{}

type SkillDeps

type SkillDeps struct {
	Skills       skill.Registry        `json:"skills"`
	SessionStore agentkit.SessionStore `json:"sessionStore"`
}

type SkillInput

type SkillInput struct {
	Name string `json:"name" jsonschema:"required,description=Skill name to load"`
}

type SkillOutput

type SkillOutput struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Body        string `json:"body"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL