Skip to content
Agentmart
Submit a tool

clinical-reports

Create safety-bounded draft structures and run local deterministic checks for clinical case, diagnostic, trial, safety, and aggregate research reports.

Skill by CliffVale

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/cliffvale-clinical-reports

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Create safety-bounded draft structures and run local deterministic checks for clinical case, diagnostic, trial, safety, and aggregate research reports. Use only with synthetic, de-identified, or aggregate inputs and verified source-fact manifests; every output requires qualified review.

Use cases: research

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/clinical-reports

What's inside

Skill name
clinical-reports
Description
Create safety-bounded draft structures and run local deterministic checks for clinical case, diagnostic, trial, safety, and aggregate research reports. Use only with synthetic, de-identified, or aggregate inputs and verified source-fact manifests; every output requires qualified review.
License
MIT
Compatibility
Requires Python 3.11+ only for optional dependency-free local scripts; no network access, credentials, external models, or image services.
Metadata
version: 2.0 · skill-author: K-Dense Inc.
Instructions
250 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (36)

  • SKILL.md
  • adverse_event_aggregate_input_template.csv · assets/
  • case_report_template.json · assets/
  • clinical_trial_csr_template.json · assets/
  • clinical_trial_results_template.json · assets/
  • clinical_trial_safety_aggregate_template.json · assets/
  • consistency_manifest_template.json · assets/
  • deidentification_process_checklist.json · assets/
  • lab_report_template.json · assets/
  • pathology_report_template.json · assets/
  • provenance_manifest_template.json · assets/
  • quality_review_checklist.json · assets/
  • radiology_report_template.json · assets/
  • research_summary_template.json · assets/
  • terminology_manifest_template.json · assets/
  • trial_protocol_reporting_checklist.json · assets/
  • README.md · references/
  • case_report_guidelines.md · references/
  • clinical_trial_reporting.md · references/
  • data_presentation.md · references/
  • diagnostic_reports_standards.md · references/
  • medical_terminology.md · references/
  • privacy_and_deidentification.md · references/
  • professional_review.md · references/
  • report_type_routing.md · references/
  • safety_reporting.md · references/
  • sources.md · references/
  • _common.py · scripts/
  • check_deidentification.py · scripts/
  • consistency_checker.py · scripts/
  • format_adverse_events.py · scripts/
  • generate_report_template.py · scripts/
  • provenance_validator.py · scripts/
  • terminology_validator.py · scripts/
  • validate_case_report.py · scripts/
  • validate_trial_report.py · scripts/

SKILL.md (first lines)

## Python Environment

This skill runs on the shared office-skills venv. Use these EXACTLY when running Python:

- Interpreter: `~/.local/share/office-skills/.venv/bin/python3`
- Install missing packages: `uv pip install --python ~/.local/share/office-skills/.venv/bin/python <pkg>`
- System `python3` does NOT have these packages (externally-managed, no pip --user).

Never use bare `python`, `python3`, or `pip install` for this skill's scripts unless an explicit system tool (e.g. `soffice`, `markitdown` CLI) is required.

# Clinical Reports

## Purpose

Prepare **draft reporting structures**, aggregate tables, and review manifests from verified authorized facts. Route each artifact to the correct reporting guidance, preserve provenance, and stop when source support or qualified review is missing.

This skill does not establish legal, regulatory, ethical, journal, accreditation, or institutional compliance. Its scripts check structure and internal consistency only.

## Non-Negotiable Boundary

Never:

- diagnose, recommend treatment, choose or change dosing, triage, or provide return precautions;
- interpret images, specimens, raw laboratory results, symptoms, or other clinical observations;
- invent, infer, normalize, “complete,” or silently reconcile observations, results, dates, units, denominators, causality, expectedness, seriousness, outcomes, or conclusions;
- create an individual case safety report from patient-level narrative or decide reportability;
- sign, attest, approve, file, transmit, submit, amend a source record, or act as a licensed clinician, pathologist, radiologist, laboratorian, safety physician, statistician, privacy officer, attorney, or regulatory professional;
- use real PHI in examples, assets, tests, prompts, logs, or external services;
- call an external LLM, image service, API, or another skill.

All generated artifacts must remain visibly marked:

> DRAFT — NOT FOR CLINICAL USE, SIGNATURE, FILING, OR SUBMISSION. Populate only from verified authorized source records. Qualified review and sign-off are required.

If the request crosses a boundary, stop the unsafe portion. Offer a blank structured template, a source-fact manifest, or a deterministic structural check. Direct clinical or regulatory decisions to the responsible qualified professional.

## Input Gate

Proceed only when all conditions are true:

1. **Purpose is explicit**: publication draft, diagnostic-report scaffold, trial-results manuscript, protocol reporting review, CSR draft, aggregate safety table, or aggregate research summary.
2. **Data class is allowed**: `synthetic`, `deidentified`, or `aggregate`.
3. **Authority is documented**: the requester is authorized to use the records for the stated purpose.
4. **Local-only handling is feasible**: no upload, remote API, telemetry, or credential is needed.
5. **Minimum necessary is defined**: exclude fields not needed for the artifact.
6. **Provenance exists**: every populated field or claim maps to one or more verified source-fact IDs.
7. **Review owner is identified**: qualified clinical, statistical, safety, privacy, legal, journal, and/or regulatory review as applicable.

Do not accept raw free-text patient records when a structured source-fact manifest can be supplied. Do not copy direct identifiers into this skill’s templates or scripts.

## Route Before Drafting

| Artifact | Primary route | Important boundary |
|---|---|---|
| Case report for publication | CARE 2013 checklist and 2017 explanation | Publication consent, privacy, journal policy, and clinical accuracy require human verification |
| Radiology draft scaffold | ACR 2025 communication practice parameter plus modality-specific ACR material | A qualified radiologist authors findings/impression and handles nonroutine communication |
| Pathology draft scaffold | Current specimen-specific CAP Cancer Protocol, if applicable | A qualified pathologist selects the protocol/version and authors diagnosis |
| Laboratory draft scaffold | 42 CFR 493.1291 and laboratory policy | The performing laboratory controls results, reference intervals, corrections, and release |
| Randomized-trial results report | CONSORT 2025 plus every applicable current extension | CONSORT is reporting guidance, not a conduct or submission standard |
| Randomized-trial protocol report | SPIRIT 2025 plus applicable extensions | SPIRIT is for protocols, not results or CSRs |
| Clinical Study Report | ICH E3 plus E3 Q&A; consider ICH E6(R3) and regional requirements | E3 is adaptable guidance, not a rigid universal template |
| Pre-approval safety report | ICH E2A; E2B(R3) for electronic ICSR data; applicable regional law/guidance | Qualified sponsor/investigator safety assessment controls reportability and timing |
| Post-approval individual safety report | ICH E2D(R1), E2B(R3), and regional requirements | Do not automate case assessment, coding, or submission |
| Aggregate safety presentation | Protocol/SAP, ICH E3, CONSORT Harms, and applicable FDA/ICH guidance | Aggregate tables never determine individual-case reportability |
| Aggregate research summary | Study-design-specific reporting guideline and source protocol/SAP | State population, estimand, denominator, missingness, and limitations exactly as verified |

Read `references/report_type_routing.md` before choosing a route. Use the dated primary-source ledger in `references/sources.md`; check the live official source when requirements could have changed.

## Safe Drafting Workflow

### 1. Create a source-fact manifest

Use `assets/provenance_manifest_template.json`. Record only local record locators, field paths, verification state, verifier role, verification date, and a SHA-256 value hash. Do not duplicate source content or direct identifiers.

Every draft claim or populated field must cite one or more fact IDs. Unsupported content remains `null` or `missing`; never replace it with plausible text.

### 2. Generate the correct template

```bash
PYTHONDONTWRITEBYTECODE=1 python3 scripts/generate_report_template.py --list
PYTHONDONTWRITEBYTECODE=1 python3 scripts/generate_report_template.py \
  --type case-report \
  --output ./case-report-draft.json
```

The generator copies a fail-closed JSON template. It does not populate clinical content, create directories, overwrite files by default, or certify readiness.

### 3. Populate verified fields only

- Keep `draft_status` unchanged.
- Replace `null` only when a verified fact ID supports the field.
- Preserve uncertainty and “not assessed” exactly as recorded.
- Do not translate a raw observation into a diagnosis, code, grade, stage, seriousness, causality, expectedness, or recommendation.
- Use `not_applicable_with_rationale` only when a qualified reviewer supplied the rationale.
- Keep source record and draft separate.

### 4. Run deterministic checks

CARE structure:

```bash
PYTHONDONTWRITEBYTECODE=1 python3 scripts/validate_case_report.py \
  ./case-report-draft.json
```

ICH E3, CONSORT 2025, or SPIRIT 2025 structure:

```bash
PYTHONDONTWRITEBYTECODE=1 python3 scripts/validate_trial_report.py \
  ./trial-report-manifest.json
```

Aggregate adverse-event table:

```bash
PYTHONDONTWRITEBYTECODE=1 python3 scripts/format_adverse_events.py \
  ./aggregate-ae.csv --metadata ./safety-aggregate.json \
  --output ./aggregate-ae-table.md
```

From CliffVale/opencode-free-setup, MIT.

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Aug 24, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
2.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from CliffVale

Cite this page

clinical-reports skill. Agent Mart. https://agentmart.dev/skills/cliffvale-clinical-reports (last updated 2026-10-24)