Init Agentic Skills
Invoke as $init-agentic-skills.
Make the base agentic-skills available by installing them project-local into the current project's .claude/skills and .codex/skills. Installation is distributed through the npm skillpacks package — there is no user-home (global) install path. Active installs are repo-managed directories that expose the canonical SKILL.md and exclude archive/; pinned installs intentionally point at archive/<version>. Keep domain packs project-local too; use $pack from the target project or npx skillpacks install <pack-or-skill> when packs are needed.
Process
- Parse
$ARGUMENTS:- No args,
init, orrefresh: runnpx skillpacks initfrom the project root to install the base skills project-local (.claude/skills+.codex/skills) and enablebase_skillsin.agents/project.json. Usenpx skillpacks refreshinstead when the project is already initialized and you only need to recreate roots from.agents/project.json. status: runnpx skillpacks statusto report the project designation, enabled packs, and installed skills.doctor: runnpx skillpacks doctorto report project skill-install drift (read-only). It compares installed.claude/skillsand.codex/skillscopies against their canonical sources via the.agentic-skills-managedmarker'ssource_sha. ReportSTALEskills with the printed fix command,unknownskills as needing a refresh to enable tracking,missingskills whose source is gone, andpinnedskills as frozen. Runnpx skillpacks doctor --fixto clean generated skill-root drift.uninstall-global: runnpx skillpacks uninstall-globalonly after confirming the user wants legacy repo-managed base installs removed from~/.claude/skillsand~/.codex/skills. This cleans up installs created by the retired user-home init path; it removes only skillpacks-owned installs and leaves unmanaged directories untouched.help,--help, or-h: runnpx skillpacks --help.
- No args,
- Report the command run, the project skill directories, installed counts, and any warnings about non-repo-managed collisions.
- Explain pack access separately:
- Do not install
packs/*as base skills. - In the project that needs domain workflows, run
$packfor guided setup, ornpx skillpacks install <pack-or-skill>from the project shell for an explicit pack or individual pack skill. - If a project already has
.agents/project.json, use$pack refresh(ornpx skillpacks refresh) after this base initialization to recreate local pack skill roots.
- Do not install
- If the active session still cannot see a newly installed or refreshed skill, report the skill-visibility reload path:
- Claude Code: run
/reload-skillsfirst;/clearstarts a new empty-context conversation and can pick up the refreshed registry; restart if the top-level.claude/skillsdirectory did not exist at session start or the skill is still invisible. - Codex: start a fresh Codex CLI session if the
$skill list remains stale.
- Claude Code: run
Constraints
- Drive installation through
npx skillpacks(the npmskillpacksCLI); do not recreate install logic by hand or reintroduce a user-home/global install path. - Base skills are project-local: they install into the current project's
.claude/skillsand.codex/skills, not into~/.claude/skillsor~/.codex/skills. - Do not overwrite real directories or files under
.claude/skillsor.codex/skillsthat are not repo-managed. - Treat packs as project-local capabilities managed through
$pack(npx skillpacksunder the hood). - Stop and report exact errors if
npx skillpacksfails. - Do not install
packs/*as base skills in any mode.
Default Shipping Contract
Follow the shared shipping contract convention in CLAUDE.md.