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"`
}
Click to show internal directories.
Click to hide internal directories.