brainstorming
Structured design dialogue that validates ideas before implementation begins.
m4-research
Start a structured clinical research session. Triggers on "/research", "start research", "new study", "analyze cohort", "investigate hypothesis", "research question", or when users describe clinical research goals. Interviews the user, then produces a rigorous research plan.
Full skill instructions
This skill guides you through a structured clinical research session. It ensures scientific rigor from hypothesis formation through analysis execution.
/research commandBefore writing any queries, interview the user to establish:
Ask: "What specific clinical question are you trying to answer?"
Good questions are:
Help refine vague questions:
Ask: "What type of study is this?"
Ask: "What is your primary outcome?"
Common outcomes and how to define them:
hospital_expire_flag in admissions tabledod to discharge time + 30 dayslos in icustays, be wary of survivor biashadm_id for same subject_idAsk: "What exposure or intervention are you studying?"
For treatment comparisons:
Ask: "Who should be included in this study?"
Standard considerations:
Ask: "What factors might confound your results?"
Common confounders in ICU research:
Ask: "Which dataset should we use?"
After the interview, produce a structured research plan:
## Research Protocol: [Title]
### Research Question
[Specific, answerable question]
### Hypothesis
[If applicable - null and alternative]
### Study Design
[Descriptive/Comparative/Predictive/Exploratory]
### Dataset
[Selected dataset with justification]
### Population
**Inclusion Criteria:**
- [Criterion 1]
- [Criterion 2]
**Exclusion Criteria:**
- [Criterion 1]
- [Criterion 2]
### Variables
**Primary Outcome:** [Definition and how measured]
**Exposure:** [Definition and timing]
**Covariates:** [List with definitions]
### Analysis Plan
1. [Step 1]
2. [Step 2]
...
### Potential Biases & Limitations
- [Known limitation 1]
- [Known limitation 2]
### M4 Skills to Use
- [Relevant skill 1]: [Why]
- [Relevant skill 2]: [Why]
Apply these checks throughout the analysis:
Immortal Time Bias
Selection Bias
Information Leakage
Confounding by Indication
Multiple Comparisons
Sample Size
Missing Data
Query Documentation
Analysis Trail
Match skills to research needs:
Use when adjusting for baseline illness severity:
| Skill | When to Use |
|---|---|
sofa-score | Organ dysfunction assessment, Sepsis-3 criteria |
apsiii-score | Comprehensive severity with mortality prediction |
sapsii-score | Alternative to APACHE, mortality prediction |
oasis-score | When labs unavailable (uses vitals only) |
sirs-criteria | Historical sepsis definition, comparison studies |
Use when defining study populations:
| Skill | When to Use |
|---|---|
sepsis-3-cohort | Sepsis studies (SOFA >= 2 + suspected infection) |
first-icu-stay | Avoid correlated observations |
suspicion-of-infection | Infection timing (antibiotics + cultures) |
Use when defining exposures or outcomes:
| Skill | When to Use |
|---|---|
kdigo-aki-staging | AKI as outcome or covariate |
vasopressor-equivalents | Standardize vasopressor doses |
baseline-creatinine | AKI baseline reference |
gcs-calculation | Neurological status |
Use when building queries:
| Skill | When to Use |
|---|---|
clinical-research-pitfalls | Review for common errors |
mimic-table-relationships | Understanding joins |
mimic-eicu-mapping | Cross-dataset queries |
Use for complex analyses:
| Skill | When to Use |
|---|---|
m4-api | Multi-step analysis, large results, statistical tests |
User: "I want to study if early vasopressor use affects mortality in sepsis"
AI Interview:
Research Question: "Let me help refine this. By 'early', do you mean within 1 hour, 6 hours, or 24 hours of sepsis onset? And by 'mortality', do you mean in-hospital, 28-day, or 90-day?"
Study Design: "This is a comparative study - you're comparing early vs. late/no vasopressor use. We'll need to carefully define the comparison groups to avoid immortal time bias."
Outcome: "Let's use 28-day mortality so we capture both in-hospital and post-discharge deaths."
Exposure: "I recommend defining 'early' as vasopressor initiation within 6 hours of suspected infection onset (using the suspicion-of-infection skill). The comparison group would be those who received vasopressors >6h or never."
Population: "I suggest: adult patients (>=18), first ICU stay, meeting Sepsis-3 criteria. Exclude patients who died within 6 hours (immortal time) and those on vasopressors at admission."
Confounders: "We should adjust for: age, SOFA score at sepsis onset, admission source, comorbidities. I recommend using propensity score matching given this is an observational treatment comparison."
Dataset: "Let's use mimic-iv. The demo dataset is too small for treatment effect studies."
1. Define cohort (first-icu-stay)
2. Extract baseline characteristics
3. Calculate severity (sofa-score or apsiii-score)
4. Define mortality outcome
5. Multivariable regression
1. Define cohort and time zero
2. Define exposure window (fixed time)
3. Extract confounders at baseline
4. Propensity score matching
5. Compare outcomes
1. Define cohort
2. Demographics, comorbidities
3. Severity scores
4. Treatments received
5. Outcomes (mortality, LOS, complications)
Stop and reconsider if you see:
Structured design dialogue that validates ideas before implementation begins.
Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.
Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.
Introduction to the obra skills system with mandatory skill invocation rules and best practices.
Execute a written implementation plan with critical review and task checkpoints.
Delegate independent tasks to specialized agents working concurrently with isolated context.
Isolated git worktrees with smart directory selection and safety verification.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Plan searchable and shareable content that drives traffic, builds authority, and generates leads.
README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.
Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.
Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.
The world's fastest calendar for remote work
Capture, organize, and utilize your knowledge effortlessly.
Instant Summaries of Audio & Video Interviews with AnySummary
Transform PDFs into engaging mind maps.
Chat with any PDF instantly
Create an optimal daily plan using your voice
A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.
AskYourPDF Pricing Plans: Tailored to Your Needs