Skip to content

rig must symlink installed skills into the harness discovery dir (~/.claude/skills), not just skills_target #9

@alex-mextner

Description

@alex-mextner

Bug: rig installs skills to skills_target (default ~/.agents/skills), but the Claude Code harness discovers Skill-tool skills from ~/.claude/skills/ (symlinks resolving to ~/.agents/skills). rig never creates those symlinks, so rig-installed universal skills (dead-code-investigation, shell-timeouts, promise-durable-action, naming, …) are NOT loaded/listed by the harness — only the ~11 that the tools' own install-skill happened to symlink.

Impact: any 'extract universal rules into agent-tools skills, slim AGENTS.md/CLAUDE.md' work is UNSAFE while this is broken — the rule appears 'self-advertised via a skill' but the skill is never loaded → the rule is silently lost.

Fix: rig apply (skills section) must idempotently symlink each enabled skill into the harness's discovery dir, keyed by harness kind (claude-code → ~/.claude/skills). Don't clobber real non-symlink dirs there. rig status reports link drift. (Manual fix applied on this machine: 39 skills symlinked, harness now lists them live. PR in flight: branch skill-harness-link.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    roadmapPlanned roadmap work

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions