Skip to main content

Module skills

Module skills 

Source
Expand description

Skill installation support for agent-exec.

Provides:

  • Source enum for parsing skill source specifications
  • Embedded skill data for the built-in agent-exec skill
  • Lock file reading/writing (.agents/.skill-lock.json)
  • Skill expansion (copy to .agents/skills/<name>/)

Structs§

EmbeddedFile
Represents a single embedded file: relative path within the skill dir and content.
InstalledSkill
Result of installing a single skill.
LockEntry
A single entry in .skill-lock.json.
LockFile
Represents the .agents/.skill-lock.json file.
UnknownSourceScheme
Error returned when an unrecognised source scheme is provided.

Enums§

Source
Skill installation source.

Statics§

EMBEDDED_AGENT_EXEC_FILES
All embedded files for the built-in agent-exec skill.

Functions§

install
Install a skill from source into agents_dir/skills/<name>/.
now_rfc3339
Get the timestamp in RFC 3339 format.
resolve_agents_dir
Resolve the .agents/ directory.