Skip to main content

Module plugins

Module plugins 

Source
Expand description

Plugin system.

Plugins bundle skills, commands, and configuration together as installable packages. A plugin is a directory containing:

  • plugin.toml โ€” metadata and configuration
  • skills/ โ€” skill files to register
  • hooks/ โ€” hook definitions

Plugins are loaded from ~/.config/agent-code/plugins/ and project-level .agent/plugins/.

Structsยง

Plugin
A loaded plugin with its manifest and path.
PluginHook
A hook defined by a plugin.
PluginManifest
Plugin metadata from plugin.toml.
PluginRegistry
Registry of loaded plugins.