capability

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package capability discovers bounded, non-secret metadata about skills and helper tools that a delegated provider session may use.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helper

type Helper struct {
	Name string
	Path string
}

type Inventory

type Inventory struct {
	Provider         string
	Skills           []Skill
	Helpers          []Helper
	Tools            []string
	SkillDirectories []string
}

func Discover

func Discover(options Options) Inventory

Discover returns metadata only. Skill bodies, arbitrary frontmatter fields, environment values, and filesystem errors never enter the inventory.

func (Inventory) Note

func (inventory Inventory) Note(role string) string

Note renders a bounded first-turn handoff. Metadata is advisory: the native provider harness remains the authority on whether a skill/tool can run.

type Options

type Options struct {
	Provider         string
	Role             string
	Task             string
	RepoRoot         string
	CodexAdminSkills string
	Environ          []string
}

type Skill

type Skill struct {
	Name        string
	Description string
	Provider    string
	Scope       string
	Native      bool
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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