Loading...
Loading...
Audit project and global .agents/skills and .claude/skills directory layouts. Verify that .agents/skills contains the actual source files and .claude/skills mirrors it through a parent-level symlink or per-skill symlinks. Use this tool whenever a skill or slash command is missing, fails to load, is duplicated, inconsistent, or when issues such as "skill not working", "skill inconsistency", "why isn't the skill recognized", "check skill links", ghost skill, broken skill link, or missing skill are encountered. It should also be used when a skill exists in one directory but not the other.
npx skill4agent add yan-labs/yan-skills skill-link-check# First-time global installation, or reinstall when update fails
npx skills add yan-labs/yan-skills --skill skill-link-check -g -y
# Update the installed global Skill
npx skills update skill-link-check -g -y-gnpx skills update skill-link-check -p -y.agents/skills/<name>/.claude/skills.agents/skills.claude/skills/<name>/.agents/skills//goal<goal>Audit all applicable scopes, determine if Skill source directories and runtime mirrors are consistent, and provide reviewable evidence and repair commands for each issue.</goal>
<gate>Check script has run from the user's target project; each applicable scope has layout pattern, issue classification, and exit status.</gate>
<done-when>Clearly report clean when no issues exist; fully list the number, category, path, and suggested commands when issues are found; no audited directories are modified automatically.</done-when>01python3 "$(dirname "$0")/check.py".agents/skills.claude/skills$HOME# Explicitly specify the project to avoid relying on the current working directory
python3 "$(dirname "$0")/check.py" --project-root /path/to/project
# Audit only one scope
python3 "$(dirname "$0")/check.py" --project-only
python3 "$(dirname "$0")/check.py" --global-only
# Output stable JSON evidence; still returns 1 when issues are found
python3 "$(dirname "$0")/check.py" --json.claude/skills.agents/skills.claude/skills.claude/skills/<name>../../.agents/skills/<name>orphan-in-claude.claude/skills/.agents/skills/missing-linknot-symlinkbroken-symlinkwrong-target.agents/skillsorphan-in-claudepython3 -m unittest discover -s "$(dirname "$0")/tests" -v