agentskill

package
v0.6.323 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package agentskill handles installation of the Brev CLI agent skill

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSkillDir

func GetSkillDir(homeDir string) string

GetSkillDir returns the primary skill directory (for backwards compat)

func GetSkillDirs

func GetSkillDirs(homeDir string) []string

GetSkillDirs returns all paths where the skill should be installed

func InstallSkill

func InstallSkill(t *terminal.Terminal, homeDir string, quiet bool) error

InstallSkill downloads and installs the agent skill to all install paths

func IsAnyAgentInstalled added in v0.6.323

func IsAnyAgentInstalled(homeDir string) bool

IsAnyAgentInstalled returns true if any of installDirs exists under homeDir.

func IsSkillInstalled

func IsSkillInstalled(homeDir string) bool

IsSkillInstalled checks if the brev-cli skill is installed in any location

func NewCmdAgentSkill

func NewCmdAgentSkill(t *terminal.Terminal, store AgentSkillStore) *cobra.Command

NewCmdAgentSkill creates the agent-skill command with install/uninstall subcommands

func UninstallSkill

func UninstallSkill(t *terminal.Terminal, homeDir string) error

UninstallSkill removes the agent skill from all install paths

Types

type AgentSkillStore

type AgentSkillStore interface {
	UserHomeDir() (string, error)
}

AgentSkillStore interface for any store dependencies

Jump to

Keyboard shortcuts

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