Skip to content

Conversation

@terraboops
Copy link
Owner

@terraboops terraboops commented Jan 11, 2026

Summary

  • Add autonav install and autonav uninstall commands
  • Store skills locally in .autonav/skills/ (version-controlled)
  • Symlink to ~/.claude/skills/ for global discovery
  • Makes navigators portable: clone + autonav install = skills work

Changes

skill-generator/index.ts

  • getLocalSkillsDir(), getLocalSkillPath() - local skill paths
  • createLocalSkill() - create skill in navigator directory
  • symlinkSkillToGlobal() - symlink local to global with conflict detection
  • removeSkillSymlink() - remove symlink, preserve local
  • createAndSymlinkSkill() - combined create + symlink
  • discoverLocalSkills() - find all local skills

nav-init.ts

  • Use createAndSymlinkSkill instead of createNavigatorSkill

nav-install.ts (new)

  • Discover local skills, symlink to global
  • --force to overwrite conflicts
  • Idempotent (detects already linked)

nav-uninstall.ts (new)

  • Remove global symlinks, preserve local skills
  • Only removes symlinks pointing to this navigator

Test plan

  • autonav init testnav --quick creates .autonav/skills/ask-testnav/SKILL.md
  • autonav install testnav creates symlink at ~/.claude/skills/ask-testnav
  • autonav install testnav again reports "already linked"
  • autonav uninstall testnav removes symlink, local skill preserved
  • autonav install testnav after uninstall recreates symlink

Store skills locally in .autonav/skills/ and symlink to ~/.claude/skills/
for global discovery. This makes navigators portable and git-friendly.

New commands:
- autonav install [path] - symlink local skills to global location
- autonav uninstall [path] - remove symlinks (preserves local skills)

Changes:
- skill-generator: add local storage + symlink functions
- nav-init: use createAndSymlinkSkill instead of createNavigatorSkill
- dispatcher: register install/uninstall commands
@terraboops terraboops force-pushed the feat/install-uninstall-commands branch from 428dbe5 to c3fc691 Compare January 11, 2026 02:18
@terraboops terraboops merged commit dc14ca0 into main Jan 11, 2026
6 checks passed
@terraboops terraboops deleted the feat/install-uninstall-commands branch January 11, 2026 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant