agentcmd

package
v0.0.62 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplySkill

func ApplySkill(repoPath, skillName, scope, projectPath string, force bool) (string, error)

ApplySkill copies a managed skill into a user or project agent skills directory.

func NewCommand

func NewCommand(aliasProvider, repoPathProvider func() string) *cobra.Command

NewCommand builds the agent command tree.

func RemoveSkill

func RemoveSkill(repoPath, skillName string) error

RemoveSkill removes a skill from the managed oh-my-dot agent skills directory.

func UnapplySkill

func UnapplySkill(skillName, scope, projectPath string) (string, error)

UnapplySkill removes an applied skill from a user or project agent skills directory.

Types

type Skill

type Skill struct {
	Name string
	Path string
}

Skill describes a managed agent skill stored in the oh-my-dot repository.

func AddSkills

func AddSkills(repoPath, sourcePath, nameOverride string, force bool, recursive bool) ([]Skill, error)

AddSkills copies one or more skill directories into the managed oh-my-dot agent skills directory.

func GetSkill

func GetSkill(repoPath, skillName string) (Skill, error)

GetSkill returns a managed agent skill by name.

func ListSkills

func ListSkills(repoPath string) ([]Skill, error)

ListSkills returns all managed agent skills.

Jump to

Keyboard shortcuts

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