Project Skill Installer
Use this skill when the user says anything like:
- "为这个项目安装 skills"
- "给这个 repo 配 skills"
- "setup skills for this project"
- "install project skills"
- "update this project's skills"
This is an infrastructure skill. It installs profile selections and writes project routing docs; it does not replace frontend, presentation, bioinformatics, writing, or OpenAI system skills.
Workflow
Identify the target project root.
- Prefer a user-specified path.
- Otherwise use the current working directory.
- If the current directory is inside a repo, use the repo root when obvious.
Locate the central AI_Skills_Collection repository.
- First check the current directory and parent directories.
- Then check common locations such as
~/AI_Skills_Collection,
~/AI_Skills/AI_Skills_Collection, /storage01/users/*/AI_Skills_Collection,
and /project/*/*/AI_Skills_Collection.
- If it cannot be found, ask the user for the path.
Run the unified installer from the central repository:
ai-skills install --target repo --project /path/to/project --profile ai-skills-maintainer --mode symlink --write-agents-md
If the user stated a domain or exact skill, install that selector directly:
ai-skills install --target repo --project /path/to/project --domain bayesian --mode symlink --write-agents-md
ai-skills install --target repo --project /path/to/project --skill domain/bayesian/pymc --mode symlink --write-agents-md
Examples:
- Writing a paper, literature review, submission, slides, or citations should
route to
research-main.
- Building a website, frontend, dashboard, React/Next.js app, or Tailwind UI
should route to
frontend-research-product.
- Bayesian, JSDM, HMSC, Stan, PyMC, MCMC, or simulation projects should route
to
codex-bayesian-jsdm.
- CMR, CardiacNexus, DICOM, NIfTI, MONAI, nnU-Net, or medical imaging projects
should route to
medical-imaging-project.
- Bioinformatics, single-cell, RNA-seq, VCF/BAM/GTF, scanpy, or scvi projects
should route to
bioinformatics-project.
- Maintaining AI_Skills_Collection itself should route to
ai-skills-maintainer.
Legacy codex-* profile names remain available for compatibility with older
scripts. Prefer the v3 profile names above in new examples.
- Read or re-read the generated project
AGENTS.md.
- The routing block lists the installed skills and their paths under
.agents/skills/.
- When a future task matches a listed trigger, read that skill's
SKILL.md
before acting.
Important Boundaries
- Complete domain installs are allowed when requested; treat budget output as warnings.
- Do not install the whole central library into global
$HOME/.agents/skills or explicit codex-home skills.
- Do not clean or rewrite global skills when switching projects.
- Project skills belong in
<project>/.agents/skills/.
- Explicit codex-home installs use
${CODEX_HOME:-$HOME/.codex}/skills only when the user asks for that advanced compatibility target.
1---2name: project-skill-installer3description: Use when the user asks to install, update, or set up AI_Skills_Collection profiles for the current project. Handles project-local installation only; it does not provide domain knowledge.4---5# Project Skill Installer67Use this skill when the user says anything like:89- "为这个项目安装 skills"10- "给这个 repo 配 skills"11- "setup skills for this project"12- "install project skills"13- "update this project's skills"1415This is an infrastructure skill. It installs profile selections and writes project routing docs; it does not replace frontend, presentation, bioinformatics, writing, or OpenAI system skills.1617## Workflow18191. Identify the target project root.20 - Prefer a user-specified path.21 - Otherwise use the current working directory.22 - If the current directory is inside a repo, use the repo root when obvious.23242. Locate the central `AI_Skills_Collection` repository.25 - First check the current directory and parent directories.26 - Then check common locations such as `~/AI_Skills_Collection`,27 `~/AI_Skills/AI_Skills_Collection`, `/storage01/users/*/AI_Skills_Collection`,28 and `/project/*/*/AI_Skills_Collection`.29 - If it cannot be found, ask the user for the path.30313. Run the unified installer from the central repository:3233```bash34ai-skills install --target repo --project /path/to/project --profile ai-skills-maintainer --mode symlink --write-agents-md35```3637If the user stated a domain or exact skill, install that selector directly:3839```bash40ai-skills install --target repo --project /path/to/project --domain bayesian --mode symlink --write-agents-md41ai-skills install --target repo --project /path/to/project --skill domain/bayesian/pymc --mode symlink --write-agents-md42```4344Examples:4546- Writing a paper, literature review, submission, slides, or citations should47 route to `research-main`.48- Building a website, frontend, dashboard, React/Next.js app, or Tailwind UI49 should route to `frontend-research-product`.50- Bayesian, JSDM, HMSC, Stan, PyMC, MCMC, or simulation projects should route51 to `codex-bayesian-jsdm`.52- CMR, CardiacNexus, DICOM, NIfTI, MONAI, nnU-Net, or medical imaging projects53 should route to `medical-imaging-project`.54- Bioinformatics, single-cell, RNA-seq, VCF/BAM/GTF, scanpy, or scvi projects55 should route to `bioinformatics-project`.56- Maintaining AI_Skills_Collection itself should route to `ai-skills-maintainer`.5758Legacy `codex-*` profile names remain available for compatibility with older59scripts. Prefer the v3 profile names above in new examples.60614. Read or re-read the generated project `AGENTS.md`.62 - The routing block lists the installed skills and their paths under63 `.agents/skills/`.64 - When a future task matches a listed trigger, read that skill's `SKILL.md`65 before acting.6667## Important Boundaries6869- Complete domain installs are allowed when requested; treat budget output as warnings.70- Do not install the whole central library into global `$HOME/.agents/skills` or explicit codex-home skills.71- Do not clean or rewrite global skills when switching projects.72- Project skills belong in `<project>/.agents/skills/`.73- Explicit codex-home installs use `${CODEX_HOME:-$HOME/.codex}/skills` only when the user asks for that advanced compatibility target.