/** * Optional ~/.agent/skill-loader.js (seeded stub) * * In-guest /bin/agent discovers skills with bundled bareAgentDiscoverSkills and * loads full SKILL.md via the read_skill tool (ctx.vfs). This file is for host * projects that wire their own Hyperdrive/bare-fs harness. */ export async function discoverSkills() { throw new Error( 'bare-os: implement discoverSkills with readdir/readFile on ~/.agent/workspace/skills (and optionally ~/.agent/skills), or use /bin/agent read_skill.' ) } /** * @param {string} _skillName */ export async function loadSkill(_skillName) { throw new Error( 'bare-os: implement loadSkill by reading //SKILL.md, or use /bin/agent read_skill.' ) }