setup

setup is a command for Claude Code from aipoch/medical-research-skills. It costs 0 tokens per session (1,337 once invoked), scanned A, original, MIT.

A first-use setup command for a research workspace. It configures available file access and collects the user's research background and project details.

In plain words
What is it for?
Use it when starting the project to set up folders and settings or create a session card when file access is unavailable.
Why use it?
It removes the need to configure the workspace and research context manually before reading papers.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: reads .claude/ paths.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is mkdir -p .claude && ln -s ../commands .claude/commands.

Good fit Use it when starting the project to set up folders and settings or create a session card when file access is unavailable.

Compare 6 commands from other repositories ↓
About the project

Medical Research Agent Skills is a library of agent instructions for medical and biomedical research, covering evidence analysis, study protocol design, data analysis, and academic writing. Researchers use it to guide compatible coding agents through common scientific workflows. The catalogue contains many of the library's skills and commands.

aipoch/medical-research-skills · 1,848 stars · on GitHub · aipoch.com

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/aipoch/medical-research-skills
agentmods
npx agentmods add commands/aipoch/medical-research-skills/setup

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/aipoch/medical-research-skills/setup/github.svg)](https://agentmods.dev/commands/aipoch/medical-research-skills/setup)
Your own site
<a href="https://agentmods.dev/commands/aipoch/medical-research-skills/setup"><img src="https://agentmods.dev/badge/commands/aipoch/medical-research-skills/setup/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

Your own site · 80×15
<a href="https://agentmods.dev/commands/aipoch/medical-research-skills/setup"><img src="https://agentmods.dev/badge/commands/aipoch/medical-research-skills/setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,337 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.
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.00000 $0.01337
Opus 5 $0.00000 $0.00668
Sonnet 5 $0.00000 $0.00267
Haiku 4.5 $0.00000 $0.00134

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

Security

Grade A, and why

setup 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 6d 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.

awesome-med-research-skills/Evidence Insight/litbase/commands/setup.md · 143 lines

How it starts

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

/setup — Initial Configuration

Run this on first use. Configures the environment automatically and collects your research profile through a guided conversation.


Steps

0. Auto Environment Initialization

Detect the current capability tier before doing anything else.

If Tier C (bash available):

  • Check whether .claude/commands exists. If not, run:
    mkdir -p .claude && ln -s ../commands .claude/commands
    
  • Check whether .claude/settings.local.json exists. If not, run:
    cp settings.local.json .claude/settings.local.json
    
  • Inform the user: "Environment configured automatically — no manual steps needed."

If Tier B (file system, no bash):

  • Inform the user of the minimum permissions needed: file read/write access to this directory and data_dir.
  • Proceed to the questionnaire.

If Tier A (Web Claude, no file system):

  • Skip file initialization.
  • At the end of setup, generate a Session Card from SESSION_CARD_TEMPLATE.md filled with the user's answers.
  • Explain: "Since there is no file system here, I will use a Session Card to maintain your research context across conversations. Save the card I generate at the end and paste it at the start of each new session."

1. Confirm data_dir is Configured

Tier C / B: Check whether config.json exists and data_dir is filled in (not a placeholder). If missing:

Please edit config.json and set data_dir to the folder where you keep your research PDFs, then run /setup again.

Tier A: Ask the user directly:

Where do you usually save your research papers? (Just describe it — folder name, cloud drive, etc. For context only.)


2. Research Profile Questionnaire

Ask one question at a time. Wait for each answer before proceeding.


Q1 — What disease or clinical problem are you researching?

Describe your core research focus. Examples:

  • Disease name: glioma, type 2 diabetes, acute myocardial infarction, Alzheimer's disease
  • Pathological mechanism: ferroptosis, immune evasion, drug resistance, metabolic reprogramming
  • Clinical problem: post-surgical recurrence prediction, treatment response biomarkers, survival prognosis modeling

Read the full file on GitHub · 143 lines

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. 6d ago First seen · 143 lines · 0 tokens per session scan A 8c08956963bf

Subscribe to this mod's changes

setup is a command published in the GitHub repository aipoch/medical-research-skills (1,848 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,337 tokens. 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-09-03.