Install¶
PharmaSkills 1.0 is published on PyPI (pharmaskills), npm (pharmaskills, a launcher for the
Python package) and GHCR (ghcr.io/aiagentpro/pharmaskills). You can also install
from source.
One command¶
You need uv (curl -LsSf https://astral.sh/uv/install.sh | sh).
Then:
uvx pharmaskills setup
setup does four things and prints one line for each:
- Installs the pinned
pharmaskillsversion as a persistent tool, so the barepharmaskillscommand that skills and the MCP server call is on yourPATH(usesuv tool install, orpipxwhenuvis missing). - Copies the 36 skills into each agent's skills folder.
- Registers the MCP server with each agent.
- Runs
doctor(without the network probe).
Options: --agent <name> (repeatable; default is every agent found on this machine),
--scope user|project (default user), --dry-run, --no-tool, --no-mcp, --json.
It is idempotent: run it again after an upgrade. Restart your agent afterwards.
There are two parts. They are versioned together.
- The skills (
skills/<id>/SKILL.md) that teach an agent the workflow. - The tools package (
pharmaskills): the CLI, the deterministic checkers and the MCP server that skills call.
Channels¶
| Channel | Command |
|---|---|
| Tools package (uv) | uv tool install pharmaskills |
| Tools package (pipx) | pipx install pharmaskills |
| npm launcher | npx pharmaskills ... (for example npx pharmaskills skills install --agent claude-code) |
| skills CLI (Codex, Claude Code, Cursor, Gemini CLI, OpenCode) | npx skills add aiagentpro/pharmaskills |
| Claude Code plugin marketplace | /plugin marketplace add aiagentpro/pharmaskills then /plugin install pharmaskills |
| Docker (CLI and MCP server) | docker run ghcr.io/aiagentpro/pharmaskills |
| MCP server config | pharmaskills mcp install --client claude-code |
Per agent¶
| Agent | Skills install | MCP install |
|---|---|---|
| Claude Code | npx skills add aiagentpro/pharmaskills or the plugin marketplace commands above |
pharmaskills mcp install --client claude-code |
| Codex | npx skills add aiagentpro/pharmaskills |
pharmaskills mcp install --client codex |
| Cursor | npx skills add aiagentpro/pharmaskills |
pharmaskills mcp install --client cursor |
| Gemini CLI | npx skills add aiagentpro/pharmaskills |
pharmaskills mcp install --client gemini-cli |
| OpenCode | npx skills add aiagentpro/pharmaskills |
pharmaskills mcp install --client opencode |
pharmaskills mcp install accepts --scope project|user and --dry-run (print the change
only). The MCP client config formats for Codex (project scope) and OpenCode are flagged in the
project notes for verification against the current client documentation.
From source¶
git clone https://github.com/aiagentpro/pharmaskills
cd pharmaskills
uv sync --extra dev
uv run pharmaskills doctor
uv run pharmaskills skills install --agent claude-code
uv run pharmaskills mcp install --client claude-code --dry-run
Manual alternative: copy the skills/ folder (or single skill folders) into the agent's skills
folder. pharmaskills skills install does this without the evals/ folders and is idempotent;
pharmaskills skills uninstall removes what it installed.
Per-skill install¶
Users can add only the skills they need:
pharmaskills skills install --agent claude-code --skill sdtm-mapper
pharmaskills skills install --agent codex --skill csr-e3 --skill signal-detection
Each SKILL.md states the minimum pharmaskills version it needs in min_pharmaskills.
Check one with pharmaskills skills check-version <id>.
Degraded mode (skills without the tools package)¶
Skills work without the tools package installed. In that case the skill tells the user the one
command to install it (uv tool install pharmaskills) and continues with template-only
guidance. Output produced this way is clearly marked unverified, because no deterministic
check ran. Install the tools package to get the checks.
Docker¶
docker run --rm ghcr.io/aiagentpro/pharmaskills doctor --no-network
docker run --rm -i ghcr.io/aiagentpro/pharmaskills mcp serve
docker run --rm -v "$PWD:/work" ghcr.io/aiagentpro/pharmaskills sdtm run ./study
The image runs as a non-root user and holds the CLI and MCP server. It contains no licensed dictionaries. Mount your own files if you have licences.
CDISC CORE and the native engine¶
The validation engine is selected with --engine auto|core|native. Point
PHARMASKILLS_CORE_PATH at a CDISC CORE executable to use it. Without it, native checks run and
every report says pharmaskills-native. CDISC CORE was not run in the build environment for
this release.
Local models and confidential data¶
Skills run inside your agent. Point the agent at a local OpenAI-compatible endpoint if the data
must not leave your machine. The standalone model access used by sdtm propose and sdtm repair
is configured in pharmaskills.toml or by environment variables:
export PHARMASKILLS_MODEL_PROVIDER=openai-compatible
export PHARMASKILLS_MODEL_NAME=<your local model name>
export PHARMASKILLS_MODEL_ENDPOINT=http://localhost:11434/v1
Use --no-model to run without any model. There is no telemetry.
Verify the install¶
pharmaskills --version
pharmaskills doctor
pharmaskills skills list
pharmaskills skills lint