mirror of
https://github.com/hypit-ai/hypit.git
synced 2026-11-19 20:30:29 +00:00
1bea08fd30
The skill was the real directory at .agents/skills/hypit, with .claude/skills and .codex/skills as container symlinks pointing at it. That kept one copy, but it made .agents the de-facto main location and the two agent directories its dependents, and because the whole skills directory was the link, neither agent could hold a skill of its own without it landing in the shared directory. The single copy now lives at skills/hypit, an ordinary repository source alongside docs, packages and services. Each agent gets a leaf link to it: .claude/skills/hypit -> ../../skills/hypit .codex/skills/hypit -> ../../skills/hypit Claude and Codex are peers, both agent directories stay real directories that can still take agent-specific skills, and the links are relative so a clone works from any path. Both Claude Code and the Codex CLI resolve a leaf link of this shape. A neutral, dot-free location also lets skill catalogs install this skill: several reject a source path whose segments begin with a dot, so .agents/skills/hypit could not be addressed at all. The move drops one directory level, so the fourteen repository-root references in references/ lose one segment (../../../../docs -> ../../../docs). Paths naming the skill are updated in reference-video-tools, references/host-setup.md and the reachability test's skillRoot. Verified against main: --links reports the same six pre-existing breakages and no new ones, --orphans is 0 on both, and both --route sentence sets are identical once the path prefix and the relative-depth rewrite are normalized — the move is a no-op for a reader, which is what test/hypit-skill-reachability.mjs exists to check.