skill

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package skill provides the skill/plugin system for Chronos agents.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

Registry manages installed skills.

func NewRegistry

func NewRegistry() *Registry

func (*Registry) Get

func (r *Registry) Get(name string) (*Skill, bool)

func (*Registry) List

func (r *Registry) List() []*Skill

func (*Registry) Register

func (r *Registry) Register(s *Skill)

func (*Registry) Uninstall

func (r *Registry) Uninstall(name string) error

type Skill

type Skill struct {
	Name        string         `json:"name"`
	Version     string         `json:"version"`
	Description string         `json:"description"`
	Author      string         `json:"author,omitempty"`
	Tags        []string       `json:"tags,omitempty"`
	Manifest    map[string]any `json:"manifest,omitempty"` // from SKILL.md or JSON manifest
	Tools       []string       `json:"tools,omitempty"`    // tool names this skill provides
}

Skill represents an installable capability with metadata.

Jump to

Keyboard shortcuts

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