skill

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSkill

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

NewSkill registers tool/skill: Load an agent skill by name and inject SKILL.md.

Best practices:

  • Load a skill once per task, then follow its instructions.
  • Read supporting files with fs tools (tenant skills live under skills/<name>/).
  • Run bundled scripts with bash from the skill directory named in the load result.

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:"Skill name to load"`
}

Jump to

Keyboard shortcuts

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