Documentation
¶
Overview ¶
Package skill installs the SAM agent skill into the directories local AI agents scan, so an agent can bootstrap a node and drive the mesh without the user pasting instructions by hand.
Index ¶
Constants ¶
View Source
const (
// Name is the directory an installed skill lives in.
Name = "sam-mesh"
)
Variables ¶
View Source
var Content = samskill.Markdown
Content is the skill document installed for local agents.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State string
State is what a target holds relative to the embedded skill.
const ( // StateMissing means no skill is installed for this target. StateMissing State = "not installed" // StateOutdated means an older or edited skill is installed. StateOutdated State = "outdated" // StateCurrent means the installed skill matches this binary's. StateCurrent State = "up to date" )
type Target ¶
type Target struct {
// Agent names the tool that reads this directory.
Agent string
// Root is the skills directory, e.g. ~/.claude/skills.
Root string
}
Target is a directory tree that an agent scans for skills.
func CustomTarget ¶
CustomTarget installs into an explicit skills directory.
func ProjectTargets ¶
ProjectTargets are the skill directories scoped to the project rooted at dir.
func UserTargets ¶
UserTargets are the per-user skill directories, shared by every project.
Click to show internal directories.
Click to hide internal directories.