Plan generator

From aipoch/medical-research-skills · View interactive version

Plan generator is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Automatically generates a Markdown final-exam review plan or lab experiment schedule when you provide a date range, tasks/items, and available daily hours (via interactive prompts or a one-time JSON input).

How to use this skill

Skill file

Source: https://github.com/aipoch/medical-research-skills

Validation Shortcut

Run this minimal command first to verify the supported execution path:

python scripts/plan_generator.py --help

When to Use

Key Features

Dependencies

Example Usage

1) Interactive mode

python scripts/plan_generator.py

Follow the prompts to provide:

2) One-time JSON input mode

Create an input file (e.g., input.json) and run:

python scripts/plan_generator.py --json input.json
Example: Review plan JSON
{
  "plan_type": "review",
  "start_date": "2026-06-01",
  "end_date": "2026-06-14",
  "daily_hours": {
    "weekday": 3,
    "weekend": 5
  },
  "items": [
    {
      "name": "Linear Algebra",
      "exam_date": "2026-06-15",
      "importance": 1,
      "topics": ["Vectors", "Matrices", "Eigenvalues"]
    },
    {
      "name": "Operating Systems",
      "exam_date": "2026-06-18",
      "importance": 2,
      "topics": ["Processes", "Scheduling", "Memory"]
    }
  ]
}
Example: Lab schedule JSON
{
  "plan_type": "lab",
  "start_date": "2026-03-01",
  "end_date": "2026-03-07",
  "daily_hours": {
    "weekday": 6,
    "weekend": 4
  },
  "items": [
    {
      "name": "Experiment A",
      "duration_hours": 6,
      "dependencies": [],
      "resources": ["Centrifuge"]
    },
    {
      "name": "Experiment B",
      "duration_hours": 4,
      "dependencies": ["Experiment A"],
      "resources": ["PCR Machine"]
    }
  ]
}

Implementation Details

When Not to Use

Required Inputs

Recommended Workflow

  1. Validate the request against the skill boundary and confirm all required inputs are present.
  2. Select the documented execution path and prefer the simplest supported command or procedure.
  3. Produce the expected output using the documented file format, schema, or narrative structure.
  4. Run a final validation pass for completeness, consistency, and safety before returning the result.

Output Contract

Validation and Safety Rules

Failure Handling

Quick Validation

Run this minimal verification path before full execution when possible:

python scripts/plan_generator.py --help

Expected output format:

Result file: plan_generator_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any

Deterministic Output Rules

Completion Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.