Generate USMLE Step 1/2 style clinical cases with patient history, physical.
46
33%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./scientific-skills/Academic Writing/usmle-case-generator/SKILL.mdGenerate USMLE Step 1 and Step 2 CK style clinical cases for medical education and board exam preparation.
See ## Features above for related details.
scripts/main.py.references/ for task-specific guidance.See ## Usage above for related details.
cd "20260318/scientific-skills/Academic Writing/usmle-case-generator"
python -m py_compile scripts/main.py
python scripts/main.py --helpExample run plan:
CONFIG block or documented parameters if the script uses fixed settings.python scripts/main.py with the validated inputs.See ## Workflow above for related details.
scripts/main.py.references/ contains supporting rules, prompts, or checklists.Use this command to verify that the packaged script entry point can be parsed before deeper execution.
python -m py_compile scripts/main.pyUse these concrete commands for validation. They are intentionally self-contained and avoid placeholder paths.
python -m py_compile scripts/main.py
python scripts/main.py --help# Generate a Step 1 case (pathophysiology focus)
python scripts/main.py --step 1 --topic cardiology --difficulty medium
# Generate a Step 2 case (clinical management focus)
python scripts/main.py --step 2 --topic nephrology --include-diagnosis
# Generate case with specific conditions
python scripts/main.py --step 2 --condition "diabetic ketoacidosis" --format json| Parameter | Options | Description |
|---|---|---|
--step | 1, 2 | USMLE Step level |
--topic | See references/topics.json | Medical specialty |
--condition | Any condition | Specific disease/condition |
--difficulty | easy, medium, hard | Case complexity |
--format | text, json, markdown | Output format |
--include-diagnosis | flag | Include answer key |
--count | 1-10 | Number of cases to generate |
Each generated case includes:
Plain text suitable for printing or reading.
Structured data for integration with applications.
Formatted for documentation or web display.
High - Requires medical knowledge validation and clinical accuracy.
⚠️ Manual Review Required: Generated cases should be reviewed by medical professionals before use in high-stakes educational settings.
references/topics.json - Medical specialty taxonomyreferences/case_templates.json - Case structure templatesreferences/usmle_patterns.md - USMLE question patternsreferences/conditions/ - Condition-specific case dataCase: A 58-year-old male with chest pain
A 58-year-old man presents to the emergency department with
crushing substernal chest pain radiating to his left arm,
beginning 2 hours ago at rest...
[History, physical, labs, ECG findings...]
Question: What is the most appropriate next step in management?
A. Administer aspirin and nitroglycerin
B. Order CT pulmonary angiography
C. Perform immediate synchronized cardioversion
D. Start heparin drip and call cardiology
E. Discharge with outpatient stress test
Correct Answer: D
Explanation: [Detailed rationale...]| Risk Indicator | Assessment | Level |
|---|---|---|
| Code Execution | Python/R scripts executed locally | Medium |
| Network Access | No external API calls | Low |
| File System Access | Read input files, write output files | Medium |
| Instruction Tampering | Standard prompt guidelines | Low |
| Data Exposure | Output files saved to workspace | Low |
# Python dependencies
pip install -r requirements.txtEvery final response should make these items explicit when they are relevant:
scripts/main.py fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.This skill accepts requests that match the documented purpose of usmle-case-generator and include enough context to complete the workflow safely.
Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:
usmle-case-generatoronly handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.
Use the following fixed structure for non-trivial requests:
If the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.
4a48721
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.