remote

package
v1.101.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package remote is the source for agent skills hosted on gitlab.com and listed in this repo's curated registry. Discovery (`All`) is offline — metadata comes from the embedded registry.yaml. Installation (`Get`) reaches gitlab.com to fetch the actual SKILL.md and supporting files at the pinned ref.

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not in remote registry")

ErrNotFound is returned by Get when no entry in the curated remote registry matches the requested name.

Functions

func All

func All() ([]skill.Skill, error)

All returns every registered remote skill as metadata-only Skills (Files is nil). It performs no network I/O.

func Get

func Get(name string) (skill.Skill, error)

Get fetches the named remote skill from gitlab.com and returns it with files populated. Returns an error if the registry doesn't list the name or the fetch fails.

Types

type Entry

type Entry struct {
	Name        string `yaml:"name"`
	Description string `yaml:"description"`
	Project     string `yaml:"project"`
	Ref         string `yaml:"ref"`
	Path        string `yaml:"path"`
}

Entry is a single row in registry.yaml — the curated pointer to a remote skill. The frontmatter inside the fetched SKILL.md is the source of truth at install time; the description here exists purely so `skills list` can render without a network call.

Jump to

Keyboard shortcuts

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