Help us shape the future of Go! Take the 2026 Go Developer Survey

skills

package
v0.0.207 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GlobalSkillDirs added in v0.0.47

func GlobalSkillDirs() []string

GlobalSkillDirs returns the global Codex-compatible skill directories.

func LocalSkillDirs added in v0.0.47

func LocalSkillDirs(projectDir string) []string

LocalSkillDirs returns the project-local Codex-compatible skill directories.

Types

type SkillInfo

type SkillInfo = agentskills.SkillInfo

type SkillListResult

type SkillListResult struct {
	Global []SkillInfo // from ~/.codex/skills/ and ~/.agents/skills/
	Local  []SkillInfo // from .agents/skills/ (project-local)
}

SkillListResult holds skills grouped by scope.

func List

func List(projectDir string) (*SkillListResult, error)

List returns skills from Codex and agent-skills-standard directories.

Codex reads skills from:

  • ~/.codex/skills/ (Codex legacy directory)
  • ~/.agents/skills/ (open agent skills standard, user-level)
  • .agents/skills/ (open agent skills standard, repo-level)

Jump to

Keyboard shortcuts

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