embed_skill!() { /* proc-macro */ }Expand description
Embed an Agent Skills directory as an act:skill WASM custom section.
Reads the directory at compile time, packs it as an uncompressed tar archive,
and emits a #[link_section = "act:skill"] static. The directory must contain
at least a SKILL.md file.
The path is relative to the crate’s CARGO_MANIFEST_DIR.
§Example
ⓘ
act_sdk::embed_skill!("skill/");See ACT-AGENTSKILLS.md for the full specification.