#!/usr/bin/env python3
"""Manage user-scoped APG skill links from a verified public checkout."""

from pathlib import Path
import runpy
import sys


command = Path(__file__).resolve(strict=True)
root = command.parent.parent
helper = root / "libexec"
if command.parent.name != "bin" or not helper.is_dir():
    print("apg-user-skills: installed command layout is invalid", file=sys.stderr)
    raise SystemExit(1)
sys.path.insert(0, str(helper))
runpy.run_module("apg_user_skills", run_name="__main__")
