Medical cybersecurity report

From OpenAisec/Miko · View interactive version

Medical cybersecurity report is an AI agent skill from the GitHub repository OpenAisec/Miko. Generate medical device cybersecurity registration deliverables from project input files. Use when Codex needs to read DOCX/PDF/PNG project evidence such as user manuals, SRS, design documents, architecture diagrams, FDA cybersecurity guidance, or prior reports, then produce a cybersecurity risk man

How to use this skill

Skill file

Medical Cybersecurity Report

Use this skill to produce high-completion cybersecurity registration drafts for medical device projects. Treat the output as a controlled draft: derive product-specific facts from evidence, mark unsupported claims as gaps, and require human review for final regulatory, quality, test, SBOM, and vulnerability conclusions.

Reusable scripts, references, and templates are stored in this skill folder. Project-specific generated deliverables are written only to the project output folder passed by --output.

Required Workflow

  1. Inventory the project folder. Identify input documents, output targets, prior reports, architecture images, and regulatory references.
  2. Run scripts/generate_report_package.py --input <project-input-dir> --output <output-dir> to create deterministic extraction artifacts.
  3. Read the generated project_fact_sheet.md, evidence_index.md, and missing_information.md.
  4. Load only the needed references:
  1. Draft or revise the deliverables in this order:
  1. Do not invent test completion, SBOM contents, vulnerability scan results, unresolved anomaly status, or final regulatory compliance. If evidence is missing, write a gap.
  2. Preserve source language where practical. For Chinese submissions, write Chinese report prose and keep regulatory terms such as SRS, SDD, SVV, SBOM, STRIDE, SPDF, QMSR, and CVE unchanged.

Evidence Rules

Script Usage

Generate a package from one project:

python C:\Users\Administrator\.codex\skills\medical-cybersecurity-report\scripts\generate_report_package.py `
  --input "E:\path\project\input" `
  --output "E:\path\project\generated-output"

Validate a generated package:

python C:\Users\Administrator\.codex\skills\medical-cybersecurity-report\scripts\validate_package.py `
  --package "E:\path\project\generated-output"

Refresh the prior-report pattern library after a report is finalized:

python C:\Users\Administrator\.codex\skills\medical-cybersecurity-report\scripts\extract_report_patterns.py `
  --input "E:\path\completed-reports" `
  --output-json C:\Users\Administrator\.codex\skills\medical-cybersecurity-report\references\prior-report-patterns.json `
  --output-md C:\Users\Administrator\.codex\skills\medical-cybersecurity-report\references\prior-report-patterns.md

Expected Outputs

The package should contain:

To update the prior-report pattern library after a new report is finalized, run scripts/extract_report_patterns.py against finalized report DOCX files and write to references/prior-report-patterns.json plus references/prior-report-patterns.md.

Quality Gates

Before responding to the user:

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.