Agent skill

Setup Medsci

by Aperivue in Aperivue/medsci-skills

A skill your agent uses when a skill fails for a missing tool or the environment needs checking.

MITAuto-check passedResearch & Science

Install Setup Medsci

skills CLI
$ npx skills add Aperivue/medsci-skills --skill setup-medsci -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Aperivue/medsci-skills setup-medsci --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/setup-medsci .claude/skills/setup-medsci && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
setup-medsci
GitHub stars
329
Token cost
~960 tokens
SKILL.md length
403 words
Files
3 (incl. references)
Skills in repo
54
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when a skill fails for a missing tool or the environment needs checking.

  • Works in 4 steps: Detect OS → Run Diagnostic Commands → Emit Checklist Table → …
  • A skill fails for a missing tool
  • SKILL.md covers Workflow and Output
  • Calls claude, python and brew

What it does

Setup Medsci is an agent skill from Aperivue/medsci-skills. Use when a skill fails for a missing tool or the environment needs checking. Diagnoses Python, R, Node, Claude Code, Git, Zotero and configured MCP servers and prints a pass/fail table with links to the setup docs. Read-only; installs nothing.

Its SKILL.md is about 960 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/setup-checklist.md` and `skill.yml`).

It sits in Research & Science, covering Citation management and MCP servers. It works with Model Context Protocol, Python, Git and Zotero. The repository describes itself as: Agent Skills for medical research — literature search, reporting-guideline & citation checks, statistics, publication figures, submission. Works with Claude Code, Codex, Cursor &… The licence is MIT.

When your agent uses it

  • A skill fails for a missing tool
  • The environment needs checking

Example prompts

  • “/setup-medsci”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Detect OS
  2. Run Diagnostic Commands
  3. Emit Checklist Table
  4. Suggest Remediation

What it can do on your machine

Read from SKILL.md and the folder at commit 3b14ae2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • claude
    • python
    • brew
    • winget
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Setup Medsci loads about 960 tokens when it runs, and up to ~1.9k if it reads all its reference files. Until then it costs about 64 tokens; SKILL.md has 403 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~64
When it runs · the whole SKILL.md, loaded when a task matches
~960
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Aperivue/medsci-skills at commit 3b14ae2, republished under its MIT licence (© Aperivue). 403 words, ~960 tokens.

Download SKILL.mdSave it as .claude/skills/setup-medsci/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
setup-medsci
description
Use when a skill fails for a missing tool or the environment needs checking. Diagnoses Python, R, Node, Claude Code, Git, Zotero and configured MCP servers and prints a pass/fail table with links to the setup docs. Read-only; installs nothing.
metadata.triggers
setup, install, environment, diagnostic, check setup, why doesn't this work, missing python, missing R, MCP not connected, 환경 설정, 설치 점검

Setup-MedSci Skill

Diagnose only. Never install, upgrade or configure anything — no brew install, winget install, pip install, Rscript -e 'install.packages(...)', and no edits to ~/.claude.json or any MCP configuration (read claude mcp list only) — because auto-installers for system Python and R are a support nightmare for non-developer users. If a tool is missing, the user follows the setup doc themselves. Skill versions and content are out of scope (validate_skills.sh, /manage-project status).

The diagnostic table is in English so it can be pasted into a GitHub issue. Remediation links point to the docs/setup/ guides in the medsci-skills repository, and only these five exist: docs/setup/README.md, docs/setup/mac.md, docs/setup/windows.md, docs/setup/mcp-setup.md, docs/setup/common-issues.md.

Workflow

Phase 1: Detect OS
bash
uname -s
  • Darwin → macOS → docs/setup/mac.md
  • Linux → Linux (similar tooling to Mac) → docs/setup/mac.md
  • MINGW*, MSYS*, CYGWIN*, or detection failure on Windows → docs/setup/windows.md
Phase 2: Run Diagnostic Commands

Read references/setup-checklist.md and run every check in it — R1-R5 required, O1-O5 optional — with its detect command, version command, minimum version and status rule. Use command -v <tool> first to detect presence without running it (avoids triggering long initialization). Capture the version output and the exit code, and report the version exactly as printed: if a command fails, report the failure verbatim rather than a version that is "probably" installed. If command -v finds the tool but the version command or its parse fails, mark the row ❌ and report the failing command — the install is broken, not just outdated. An MCP server is ✅ only when claude mcp list shows it connected; configured-but-disconnected is ⚠️.

Show full SKILL.md (155 more words)Show less
Phase 3: Emit Checklist Table

Print a single Markdown table to stdout in this exact format, one row per check, with the doc link from the reference for the detected OS:

## 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 |
| MCP: zotero | ✅ / ❌ / ⚠️ | Connected | optional | OK / See docs/setup/mcp-setup.md |

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

Status legend:

  • ✅ Present and meets minimum version
  • ❌ Missing or below minimum version
  • ⚠️ Present but optional and not connected
Phase 4: Suggest Remediation

Use the reference's Summary Rules for the closing sentence.

  • Everything required ✅ → point to Demo 1: cd ~/medsci-skills/demo/01_wisconsin_bc && claude '/orchestrate --e2e'.
  • Any required row ❌ → print its doc link and tell them to follow that step. Do not offer to install; the doc tells them exactly what to copy-paste.
  • Only optional MCP rows ❌ → explain that MedSci Skills work without MCP servers, but lit-sync, verify-refs and write-paper are smoother with Zotero MCP; link docs/setup/mcp-setup.md.

Output

The diagnostic report goes to stdout. If the user asks for a copyable report (e.g. for a GitHub issue), also write it to ~/.medsci-skills/diagnostic-YYYY-MM-DD.md and tell them where it is.

© Aperivue, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/setup-medsci of Aperivue/medsci-skills.

  • SKILL.md
  • references/setup-checklist.md
  • skill.yml

Open the folder on GitHubat commit 3b14ae2

Compare with similar skills

Setup Medsci next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Setup Medsci compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Setup Medsci this skillAperivue/medsci-skills329—~960Automated safety check: PassMIT
Literature Review Toolsbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~2.5kAutomated safety check: NotesCustom licence
Annotate Paper54yyyu/zotero-mcp5.3k—~1.5kAutomated safety check: PassMIT
NSFC Literature Review WriterHuiyuLi-2000/Chinese-Grant-Writer-Skills4321 repos~1.4kAutomated safety check: NotesMIT
Arxiv MCP Serverblazickjp/arxiv-mcp-server3.2k—~353Automated safety check: PassApache-2.0
CLI Anything ZoteroPiaoyangGuohai1/cli-anything-zotero137—~2.6kAutomated safety check: PassApache-2.0

Similar skills

  • Literature Review Tools

    brycewang-stanford/Auto-Empirical-Research-Skills

    Recommend AND run open-source AI tools, agents, Claude Code / Codex skills, and MCP servers for any stage of a literature review — searching, reading, extracting, synthesizing, screening…

    4.5k GitHub stars~2.5k tokensUpdated 3 days ago
    Research & ScienceAuto-check: notes
  • Annotate Paper

    54yyyu/zotero-mcp

    Read the open paper and write study annotations into its PDF with zotero-cli - a context box on the title, a four-part summary on the abstract, role-coded abstract highlights, one box per figure…

    5.3k GitHub stars~1.5k tokensUpdated today
    Research & ScienceAuto-check passed
  • NSFC Literature Review Writer

    HuiyuLi-2000/Chinese-Grant-Writer-Skills

    Writes the research-status literature review and critique section of an NSFC grant proposal, backed by a bundled multi-source literature search.

    432 GitHub starsUsed in 1 repo~1.4k tokens
    Research & ScienceAuto-check: notes
  • Arxiv MCP Server

    blazickjp/arxiv-mcp-server

    A skill your agent uses when finding, comparing, reading, or monitoring arXiv papers, including requests for abstracts, citation graphs, original LaTeX, section-level technical details, or…

    3.2k GitHub stars~353 tokensUpdated 2 days ago
    Research & ScienceAuto-check passed
  • CLI Anything Zotero

    PiaoyangGuohai1/cli-anything-zotero

    Full-featured CLI for Zotero reference management. An agent skill from PiaoyangGuohai1/cli-anything-zotero.

    137 GitHub stars~2.6k tokensUpdated 2 mo ago
    Research & ScienceAuto-check passed
  • Zotero Research Assistant

    Bubble-OoO/zotero-research-assistant-skill

    Access and configure a user's local or cloud Zotero library without MCP by executing the bundled JSON CLI.

    117 GitHub stars~1.2k tokensUpdated 1 mo ago
    Research & ScienceAuto-check: warnings

More from Aperivue/medsci-skills

All 54 skills in this repo
  • Model Assessment

    Aperivue/medsci-skills

    A skill your agent uses when validating or evaluating a trained medical-imaging model.

    329 GitHub starsUsed in 1 repo~4.5k tokens
    Auto-check passed
  • Obsidian Paper Vault

    Aperivue/medsci-skills

    A skill your agent uses when turning a folder of research PDFs into Obsidian notes, even if Obsidian is not named.

    329 GitHub stars~1.6k tokensUpdated 3 days ago
    Auto-check passed
  • Radiomics ML

    Aperivue/medsci-skills

    A skill your agent uses when building or auditing a radiomics or tabular clinical-ML prediction model with a classical learner (LASSO, SVM, random forest, XGBoost and similar).

    329 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed
  • Verify Refs

    Aperivue/medsci-skills

    A skill your agent uses when checking whether a manuscript's references are real.

    329 GitHub starsUsed in 1 repo~3.1k tokens
    Auto-check passed
  • Clean Data

    Aperivue/medsci-skills

    A skill your agent uses when a clinical CSV/Excel dataset needs profiling and cleaning before analysis (missing values, outliers, duplicates, type mismatches).

    329 GitHub stars~2k tokensUpdated 3 days ago
    Auto-check passed
  • Design Study

    Aperivue/medsci-skills

    A skill your agent uses when checking a radiology or medical AI study design before drafting or submission.

    329 GitHub stars~3.9k tokensUpdated 3 days ago
    Auto-check passed

Questions about Setup Medsci

What does Setup Medsci do?

A skill your agent uses when a skill fails for a missing tool or the environment needs checking. Setup Medsci is an agent skill from Aperivue/medsci-skills. Use when a skill fails for a missing tool or the environment needs checking.

When should I use Setup Medsci?

Setup Medsci fits situations like: A skill fails for a missing tool; the environment needs checking.

How do I install Setup Medsci in Claude Code?

Run `npx skills add Aperivue/medsci-skills --skill setup-medsci -a claude-code`. Or copy the skill folder (skills/setup-medsci in Aperivue/medsci-skills) into .claude/skills/setup-medsci in your project. Claude Code loads it when a task matches its description.

How do I install Setup Medsci in Codex?

Run `npx skills add Aperivue/medsci-skills --skill setup-medsci -a codex`. Or copy the skill folder (skills/setup-medsci in Aperivue/medsci-skills) into .agents/skills/setup-medsci in your project. Codex loads it when a task matches its description.

Can I use Setup Medsci in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Aperivue/medsci-skills --skill setup-medsci -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/setup-medsci, .gemini/skills/setup-medsci, .github/skills/setup-medsci and .opencode/skills/setup-medsci in your project.

What does Setup Medsci need to run?

Going by SKILL.md and its folder, Setup Medsci needs the command-line tools its instructions call (claude, python, brew, winget and pip). Our summary lists: Python 3.

Does Setup Medsci access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Setup Medsci safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Setup Medsci use?

Setup Medsci is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Setup Medsci use?

About 960 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 962 tokens, read only when the agent opens those files.

What are the alternatives to Setup Medsci?

Skills that share tags, products or a category with Setup Medsci: Literature Review Tools (brycewang-stanford/Auto-Empirical-Research-Skills, 4.5k stars), Annotate Paper (54yyyu/zotero-mcp, 5.3k stars), NSFC Literature Review Writer (HuiyuLi-2000/Chinese-Grant-Writer-Skills, 432 stars) and Arxiv MCP Server (blazickjp/arxiv-mcp-server, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Setup Medsci?

Aperivue (a GitHub organization) maintains it in Aperivue/medsci-skills, which has 329 GitHub stars. The repository holds 54 skills in this directory. The repository was last updated on October 5, 2026.

Source: Aperivue/medsci-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.