Help us shape the future of Go! Take the 2026 Go Developer Survey

skill

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: MIT Imports: 8 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 using the absolute skill directory from the load result.

Types

type SkillConfig

type SkillConfig struct{}

type SkillDeps

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

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