Persops Install Skills
Use this workflow for skills managed in ~/p/persops/modules/ai/skills.
Profile Mapping
- Default to
all: publish to.claude/skills,.agents/skills,.openclaw/skills, and.pi/agent/skills. - Use
coding: publish to.claude/skills,.agents/skills, and.pi/agent/skillsonly. - Use
claw: publish to.openclaw/skillsonly. - Use
codex: publish to.agents/skillsonly. - Interpret
claw skill,openclaw skill, orclawdbot skillasclaw.
Workflow
- Start with
jj status, then inspectmodules/ai/home.nix,modules/ai/skill-overrides.json, and any existing skill directory you might touch. - For new upstream skills, run
modules/ai/scripts/add-skill.sh [--profile <all|coding|claw|codex>] <source> [skills-add args...].- Example:
modules/ai/scripts/add-skill.sh https://github.com/vercel-labs/skills --skill find-skills - Direct GitHub
blob/treeskill URLs work too; the helper infers the single skill name and vendors only that skill.
- Example:
- Review the vendored files under
modules/ai/skills/<name>/. Keep repo-owned truth there and verifyUPSTREAM.txt. - If the profile is not default
all, updatemodules/ai/skill-overrides.json. Use it forcoding,claw,codex, or other per-skill exceptions likerecursive = true. - If you create or update a repo-local skill, keep
SKILL.mdconcise, keepagents/openai.yamlaligned, and validate the skill withuv run --with pyyaml python3 /Users/cat/.codex/skills/.system/skill-creator/scripts/quick_validate.py <skill-dir>. - Run
make deployto apply the skill to every target reachable from the current controller. - Verify the expected symlinks locally and on
amalthea:~/.claude/skills/<name>when profile includes Claude~/.agents/skills/<name>when profile includes Codex/Agents~/.openclaw/skills/<name>when profile includes Claw~/.pi/agent/skills/<name>when profile includes Pi
- Commit changes at the end after verification. Use a Conventional Commit. Do not push unless the user asks.
Notes
make deploysnapshots apath:flake so freshly added uncommitted skill files are included consistently on every selected target.- Do a quick upstream health check before vendoring external skills, for example
gh repo view <owner/repo> --json pushedAt,stargazerCount,url. - If the user asks for claw-only propagation, do not also wire Claude or Codex.