Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Name is the built-in mcpx skill folder name.
Name = "mcpx"
)
Variables ¶
View Source
var (
ErrInvalidSkillName = errors.New("invalid skill name")
)
Functions ¶
func DefaultClaudeDir ¶
func DefaultClaudeDir() string
DefaultClaudeDir returns the default Claude Code skills directory.
func DefaultCodexDir ¶
func DefaultCodexDir() string
DefaultCodexDir returns the default Codex skills directory.
func DefaultDataAgentDir ¶
func DefaultDataAgentDir() string
DefaultDataAgentDir returns the default data-agent skills directory.
func DefaultKiroDir ¶ added in v0.1.10
func DefaultKiroDir() string
DefaultKiroDir returns the default Kiro skills directory.
func DefaultOpenClawDir ¶ added in v0.1.24
func DefaultOpenClawDir() string
DefaultOpenClawDir returns the default OpenClaw skills directory.
Types ¶
type InstallOptions ¶
type InstallOptions struct {
DataAgentDir string
ClaudeDir string
SkipClaudeLink bool
CodexDir string
EnableCodexLink bool
KiroDir string
EnableKiroLink bool
OpenClawDir string
EnableOpenClawLink bool
}
InstallOptions controls where the built-in mcpx skill is installed.
type InstallResult ¶
type InstallResult struct {
SkillDir string
SkillFile string
ClaudeLink string
ClaudeLinkTarget string
CodexLink string
CodexLinkTarget string
KiroLink string
KiroLinkTarget string
OpenClawLink string
OpenClawLinkTarget string
}
InstallResult describes where the skill was installed.
func InstallMCPXSkill ¶
func InstallMCPXSkill(opts InstallOptions) (*InstallResult, error)
InstallMCPXSkill installs the built-in mcpx skill.
func InstallSkill ¶ added in v0.1.18
func InstallSkill(name string, content []byte, opts InstallOptions) (*InstallResult, error)
InstallSkill installs a named skill from caller-provided content.
Click to show internal directories.
Click to hide internal directories.