setup-medsci

setup-medsci is a skill for Claude Code from Aperivue/medsci-skills. It costs 62 tokens per session (1,531 once invoked), scanned A, original, MIT.

A read-only checklist that checks whether a medical research computer has the required tools and connections configured.

In plain words
What is it for?
Use it to check Python, R, Node, Claude Code, Git, Zotero, and configured MCP servers before running MedSci Skills.
Why use it?
It shows what is installed, what is missing, and where to find the relevant setup instructions without changing the computer.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; reads .claude/ paths; mentions Claude Code.

Part of the medsci-presentation plugin — 5 skills shipped together

Good fit Use it to check Python, R, Node, Claude Code, Git, Zotero, and configured MCP servers before running MedSci Skills.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aperivue/medsci-skills/setup-medsci
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Aperivue/medsci-skills --skill setup-medsci
Clone the repo
git clone --depth 1 https://github.com/Aperivue/medsci-skills

Made for: Claude Code.

Or install medsci-presentation, the plugin that ships this one along with the rest of its 5 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup-medsci

README.md
[![agentmods](https://agentmods.dev/badge/skills/aperivue/medsci-skills/setup-medsci/github.svg)](https://agentmods.dev/skills/aperivue/medsci-skills/setup-medsci)
Your own site
<a href="https://agentmods.dev/skills/aperivue/medsci-skills/setup-medsci"><img src="https://agentmods.dev/badge/skills/aperivue/medsci-skills/setup-medsci/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup-medsci

Your own site · 80×15
<a href="https://agentmods.dev/skills/aperivue/medsci-skills/setup-medsci"><img src="https://agentmods.dev/badge/skills/aperivue/medsci-skills/setup-medsci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,531 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 96
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.01531
Opus 5 $0.00031 $0.00766
Sonnet 5 $0.00012 $0.00306
Haiku 4.5 $0.00006 $0.00153

Measured 9d ago against content hash d346a9b883f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

setup-medsci scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/setup-medsci/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Setup-MedSci Skill

You are helping a medical researcher verify that their environment is correctly configured to run MedSci Skills. You do not install anything — you only diagnose what's present, what's missing, and where to find the setup doc for any missing component. This skill is intentionally read-only so that a doctor can run it safely without worrying about breaking their system.

Communication Rules

  • Communicate with the user in their preferred language (Korean or English).
  • The diagnostic table itself is in English so it can be pasted into GitHub issues for support.
  • All recommended remediation links point to docs/setup/ markdown guides in the medsci-skills repo.

Workflow

Phase 1: Detect OS

Run:

uname -s
  • Darwin → macOS path → recommend docs/setup/mac.md
  • Linux → Linux path (uses similar tooling to Mac) → recommend docs/setup/mac.md
  • MINGW*, MSYS*, CYGWIN*, or detection failure on Windows → recommend docs/setup/windows.md

Phase 2: Run Diagnostic Commands

For each tool, run the command and capture both the version output and the exit code:

Tool Command Required version
Python python3 --version (Mac/Linux) or python --version (Windows) 3.11 or higher
R Rscript --version (writes to stderr) 4.0 or higher
Node.js node --version v20 or higher
Git git --version 2.30 or higher
Claude Code CLI claude --version any
MCP servers claude mcp list at least one of: zotero, gdrive, pubmed, filesystem

Use command -v <tool> first to detect presence without running it (avoids triggering long initialization).

Phase 3: Emit Checklist Table

Print a single Markdown table to stdout in this exact format:

## MedSci Skills Setup Diagnostic

OS detected: <macOS | Linux | Windows>
Date: <YYYY-MM-DD>

| Component | Status | Detected | Required | Action |
|---|:---:|---|---|---|
| Python 3.11+ | ✅ / ❌ | 3.11.9 | 3.11+ | OK / See docs/setup/mac.md Step 2 |
| R 4.x | ✅ / ❌ | 4.3.1 | 4.0+ | OK / See docs/setup/mac.md Step 3 |
| Node.js 20+ | ✅ / ❌ | v20.11.1 | v20+ | OK / See docs/setup/mac.md Step 4 |
| Git | ✅ / ❌ | 2.42.0 | 2.30+ | OK / See docs/setup/<os>.md Step 5 |
| Claude Code CLI | ✅ / ❌ | 1.5.x | any | OK / See docs/setup/<os>.md Step 6 |
| MCP: zotero | ✅ / ❌ / ⚠️ | Connected | optional | OK / See docs/setup/mcp-setup.md |
| MCP: gdrive | ✅ / ❌ / ⚠️ | Connected | optional | OK / See docs/setup/mcp-setup.md |
| MCP: filesystem | ✅ / ❌ | Connected | recommended | OK / See docs/setup/mcp-setup.md |

Summary: <X required components passed, Y missing>
Next step: <one-sentence action>

Read the full file on GitHub · 111 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 111 lines · 62 tokens per session scan A d346a9b883f6

Subscribe to this mod's changes

setup-medsci is a skill published in the GitHub repository Aperivue/medsci-skills (290 stars, last pushed yesterday), licensed MIT. It adds 62 tokens to every session and 1,531 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

clinical-trials-search

Search ClinicalTrials.gov with natural language queries. Find clinical trials, enrollment, and outcomes using Valyu semantic search.

beita6969/ScienceClaw · 28 tokens

shidi

A Chinese-language research assistant role that turns a user’s ideas into literature reviews, experiment plans, figures and organised data.

IcyCreamDAS/shidi-skill · 126 tokens

clinical-research

Use when designing a prospective clinical study before submission — selecting and classifying endpoints (primary / key-secondary / exploratory, with surrogate-endpoint flagging), estimating sample size and power for two-arm designs (means / proportions / survival), or scoring a study plan for feasibility and a GO /…

bestagentkits/agency-skills · 152 tokens

sr-search-record

An automated literature-review search and screening workflow using OpenAlex, an open database and API for scholarly research, and Zotero, a reference manager.

qiaomiaojoe/ai-academic-workflow · 350 tokens

review-synthesis

A literature-review workflow that combines evidence from the full text of selected research papers into a findings document. It uses different review methods for systematic, semi-systematic, and integrative reviews.

qiaomiaojoe/ai-academic-workflow · 285 tokens

review-draft

A workflow for expanding a first draft of a review article into a structured academic manuscript. A review article combines and organizes existing research rather than reporting a new experiment.

qiaomiaojoe/ai-academic-workflow · 281 tokens