Expand description
Skill data types: what a loaded SKILL.md is (SkillEntry), where it came
from, and the $ARGUMENTS-style substitution applied to its body.
Structs§
- Invocation
Vars - What
${AGIX_SKILL_DIR}and${AGIX_SESSION_ID}stand for in one invocation. - Skill
Entry - 单个 Skill:从
<dir>/<skill_name>/SKILL.md的 YAML frontmatter 抽出。
Enums§
- Skill
Source - Skill 来源 – user / project;同名时后入者覆盖先入者(见下方扫描顺序)
- Skill
Tier - The user-level directory a skill came from: the state root’s own
skills/(shared by every scene) or the scene’s.
Functions§
- body_
runs_ commands - Whether a skill body holds a command its expansion would run: an inline
!`cmd`or a```!block. - expand_
skill_ vars_ named - Expands the variables in a skill body: for each name in
arg_names(the skill’sarguments:frontmatter list, in order),$namein the body is replaced with the positional argument at that index (whitespace-separated, same splitting as$1..$9). A name with no corresponding argument expands to an empty string, unlike an indexed placeholder with no argument, which is left unchanged — that asymmetry is intentional, not a bug.