Skip to main content

Module skills

Module skills 

Source
Expand description

The agent skills: the embedded files, the packages every landing writes, and the user-scope record and installer that earlier releases used.

Every landing writes each package into the target, under the project’s .claude/skills/ and .agents/skills/, and the landing record vouches for each file. No verb writes a skill under the home any more: an agent resolves a skill by name across scopes, and a home copy shadows the project’s. record and installer stay so that rk skill uninstall removes exactly the copies an earlier release wrote there.

Re-exports§

pub use crate::digest::Digest;

Modules§

installer
Install the embedded skills into the agent skill directories.
record
The user-scope skill record: what an earlier release last wrote outside a project. rk skill uninstall reads it to remove only those copies.

Structs§

Package
One installed skill: its name and every file its directory carries.
PackageFile
One file of an installed skill package.
SharedArtifact
One shared artifact: its file name, and its bytes.
Skill
One embedded skill: its directory name and its SKILL.md text.

Enums§

PackageError
Why a skill’s authored files do not compose into a package.

Constants§

AGENTS_ROOT
The root Codex, Gemini CLI, and Copilot read, relative to the home directory.
CLAUDE_ROOT
The root Claude Code reads, relative to the home directory.
LEGACY_SHARED_ROOT
The root an earlier release installed the shared gates to, relative to the home directory.
REFERENCES_DIR
The directory inside a package that holds its reference files, the shared gates’ copies among them.

Functions§

all
Every embedded skill, sorted by name.
compose
Compose one package from a skill’s own files and the shared artifacts.
home
The home directory, from the environment.
packages
Every embedded skill as the package an install writes, sorted by name.
shared
Every artifact the skills share, sorted by path.