Skip to content

fix(omp): scan managed-skills and ~/.agents/skills - #196

Merged
RealZST merged 1 commit into
RealZST:mainfrom
deLiseLINO:fix/omp-managed-and-agents-skills
Nov 22, 2026
Merged

RealZST merged 1 commit into
RealZST:mainfrom
deLiseLINO:fix/omp-managed-and-agents-skills

Conversation

@deLiseLINO

Copy link
Copy Markdown
Contributor

Why

omp always loads skills from two more user-level places than the adapter scanned:

  • ~/.omp/agent/managed-skills: auto-learn skills (omp-managed provider, docs/skills.md, discovered unconditionally).
  • ~/.agents/skills: the shared cross-agent dir (agents provider).

The omp adapter listed only ~/.omp/agent/skills, so on my machine the omp page showed 1 skill while omp actually loads 96.

Scope

OmpAdapter::skill_dirs() now returns ~/.omp/agent/skills, ~/.omp/agent/managed-skills and ~/.agents/skills, in that order. The native dir stays first, so it remains the install target. ~/.agents/skills is claimed the same way the cursor, gemini and copilot adapters already claim it.

Verification

  • cargo test -p hk-core: 813 passed.
  • Ran the patched hk serve on a machine with real omp skills, called scan_and_sync: skills attributed to omp went from 1 to 96 (1 native + 45 managed + 50 shared).

Model: claude-opus-5-5

omp always loads auto-learn skills from ~/.omp/agent/managed-skills (omp-managed provider) and the shared ~/.agents/skills (agents provider), but the adapter only listed ~/.omp/agent/skills, so most of a user's omp skills never showed up under omp. ~/.agents/skills is already claimed the same way by the cursor, gemini and copilot adapters.
@RealZST
RealZST merged commit fbfd56e into RealZST:main Nov 22, 2026
4 checks passed
RealZST added a commit that referenced this pull request Nov 22, 2026
…eference (#197)

omp loads project skills from .agents/skills and .claude/skills by default. Declare both as read-only aliases, so removing a kit from an agent that writes there warns that omp is affected too. Installs stay on .omp/skills.

Update the website's agent reference for the folders #196 added (managed-skills and ~/.agents/skills), and correct the adapter comment: ~/.agents/skills is on by default, not unconditional.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.

2 participants