Skip to main content

Crate skill

Crate skill 

Source
Expand description

§skill

A library for managing AI agent skills across the open skills ecosystem.

This crate provides the core functionality for discovering, installing, listing, and removing agent skills. It is designed to be embedded in agent frameworks so they gain full skills ecosystem support out of the box.

§Quick Start

use skill::manager::SkillManager;

let manager = SkillManager::builder().build();

// Discover skills in a repository
let skills = manager
    .discover_skills(std::path::Path::new("./my-repo"), &Default::default())
    .await?;

// List installed skills
let installed = manager.list_installed(&Default::default()).await?;

§Feature Flags

  • network (default) — Enables HTTP-based operations (fetching remote skills, well-known providers, GitHub API).
  • telemetry — Enables anonymous usage telemetry. Disabled by default for library consumers; enabled by the CLI.

Re-exports§

pub use error::Error;
pub use error::Result;
pub use manager::SkillManager;

Modules§

agents
Agent registry and detection.
error
Error types for the skill library.
git
Git operations for cloning skill repositories.
installer
Skill installation, removal, and listing.
local_lock
Project-scoped skill lock file management.
lock
Global skill lock file management.
manager
SkillManager — the primary API surface for agent frameworks.
plugin_manifest
Plugin manifest discovery for Claude Code compatibility.
providers
Skill source providers.
skills
Skill discovery and SKILL.md parsing.
source
Source string parsing.
telemetry
Optional anonymous telemetry.
types
Core data types for the skill ecosystem.