agentskill

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package agentskill validates inert Skill bundles without native loading rules.

Index

Constants

View Source
const (
	MaxArchiveBytes  = agentbundle.MaxArchiveBytes
	MaxExpandedBytes = agentbundle.MaxExpandedBytes
	MaxFiles         = agentbundle.MaxFiles
)

Variables

View Source
var ErrInvalid = errors.New("invalid or unsupported Skill bundle")

Functions

func Read

func Read(archive []byte, expected Metadata) ([]agentbundle.File, error)

Read validates the full archive before exposing any files for installation.

func ValidateManifest

func ValidateManifest(body []byte, expected Metadata) error

ValidateManifest accepts portable descriptive metadata, not native activation controls.

Types

type Metadata

type Metadata struct {
	Type        string `json:"type"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

func Inspect

func Inspect(archive []byte) (Metadata, error)

Inspect obtains portable metadata from an uploaded bundle, then applies the same complete archive validation used for environment installation.

func InspectManifest

func InspectManifest(body []byte) (Metadata, error)

InspectManifest shares the portable parser with Runtime directory discovery.

Jump to

Keyboard shortcuts

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