Expand description
Bundled agent skills — decided skill (PORT-CONTRACT.d/15).
Port of src/rac/core/skills.py (registry + resource loading) and
src/asdecided/services/skill.py (install_skills). The packaged SKILL.md
resources are embedded verbatim from rust/decided-engine/assets/skills/,
vendored byte-identical copies of the Python package files — a unit test
below pins that identity, because the installed file must be
byte-identical to what the oracle installs (skill brief, landmine 1).
SkillResourceMissing (a broken Python installation) has no Rust
equivalent: embedded resources cannot be absent from a linked binary.
Structs§
- Installed
Skill - One installed skill (
InstalledSkill;bytes_writtenis in the oracle’s model but deliberately absent from its JSON, so it is not carried here). - Skill
Installation - Result of a
decided skill installrun. - Skill
Spec - One bundled skill: name and one-line description, registry order.
Enums§
- Skill
Install Error - The failure contract of
install_skills, message-shaped like the oracle.
Constants§
- BUNDLED_
SKILLS - Bundled skills, in registry order (
BUNDLED_SKILLS).installwith no name installs all of them;listenumerates them.
Functions§
- available_
skills available_skills()— bundled skill names, registry order.- install_
skills install_skills(target_dir, skill_name)— write bundled skills into<dir>/.claude/skills/<name>/SKILL.md.