{"modulePath":"github.com/brevdev/brev-cli","version":"v0.6.337","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package agentskill\n\nPackage agentskill handles installation of the Brev CLI agent skill\n\n## Functions\n\n```go\nfunc GetSkillDir(homeDir string) string\n```\nGetSkillDir returns the primary skill directory (for backwards compat)\n\n```go\nfunc GetSkillDirs(homeDir string) []string\n```\nGetSkillDirs returns all paths where the skill should be installed\n\n```go\nfunc InstallSkill(t *terminal.Terminal, homeDir string, quiet bool) error\n```\nInstallSkill downloads and installs the agent skill to all install paths\n\n```go\nfunc IsAnyAgentInstalled(homeDir string) bool\n```\nIsAnyAgentInstalled returns true if any of installDirs exists under homeDir.\n\n```go\nfunc IsSkillInstalled(homeDir string) bool\n```\nIsSkillInstalled checks if the brev-cli skill is installed in any location\n\n```go\nfunc NewCmdAgentSkill(t *terminal.Terminal, store AgentSkillStore) *cobra.Command\n```\nNewCmdAgentSkill creates the agent-skill command with install/uninstall subcommands\n\n```go\nfunc UninstallSkill(t *terminal.Terminal, homeDir string) error\n```\nUninstallSkill removes the agent skill from all install paths\n\n## Types\n\n```go\ntype AgentSkillStore interface {\n\tUserHomeDir() (string, error)\n}\n```\nAgentSkillStore interface for any store dependencies\n\n","path":"github.com/brevdev/brev-cli/pkg/cmd/agentskill","name":"agentskill","synopsis":"Package agentskill handles installation of the Brev CLI agent skill","isRedistributable":true}
