Skills Agentes

Clinical Reports

Crea estructuras de borrador con límites de seguridad y corre comprobaciones locales deterministas para reportes clínicos de caso, diagnóstico, ensayo y seguridad. Solo con datos sintéticos/agregados y manifiestos de hechos verificados.

Estrellas
34.8k

en todo el repo

Actividad
62

0–100, la ruta de este skill

Actualizado
el mes pasado

último commit aquí

Commits
7

últimos 90 días

Contexto
3.5k tok

72 tok en reposo

Paquete
36 archivos

189 KB

Instalar

Funciona con cualquier agente que lea SKILL.md

npx -y skills add K-Dense-AI/scientific-agent-skills --skill clinical-reports --agent claude-code

Se instala solo en este repositorio.

Qué hace

  • Crea estructuras de borrador con límites de seguridad para reportes clínicos: casos, diagnóstico, ensayos, seguridad y resúmenes agregados
  • Ejecuta comprobaciones deterministas locales de estructura (CARE, CONSORT, SPIRIT, ICH E3) sobre los borradores generados
  • Exige un manifiesto de hechos-fuente verificados (`provenance_manifest_template.json`) antes de poblar cualquier campo
  • Enruta cada tipo de artefacto a su guía de reporte correcta según `references/report_type_routing.md`

Úsalo cuando

  • Se trabaja solo con datos sintéticos, desidentificados o agregados, con hechos-fuente verificados
  • Se necesita un borrador de reporte de caso (CARE), de ensayo clínico (CONSORT/SPIRIT) o de CSR (ICH E3)
  • Se debe formatear una tabla agregada de eventos adversos o validar terminología clínica
  • Se requiere una comprobación estructural determinista antes de la revisión humana

No lo uses cuando

  • Se pide diagnosticar, recomendar tratamiento, elegir dosis o interpretar imágenes/resultados de laboratorio
  • Se pide firmar, aprobar, presentar o transmitir un reporte, o actuar como profesional clínico o regulatorio con licencia
  • No hay un manifiesto de hechos-fuente verificados que respalde el contenido solicitado

Qué lo activa

Di cualquiera de estas frases y el agente debería cargar este skill.

  • Genera un borrador de reporte de caso siguiendo CARE
  • Crea la plantilla de un reporte de ensayo clínico según CONSORT 2025
  • Valida la estructura de este borrador de CSR con ICH E3
  • Formatea esta tabla agregada de eventos adversos

SKILL.md

En inglés

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

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:

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

ICH E3, CONSORT 2025, or SPIRIT 2025 structure:

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

Aggregate adverse-event table:

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

Terminology schema:

PYTHONDONTWRITEBYTECODE=1 python3 scripts/terminology_validator.py \
  ./terminology-manifest.json

De-identification process documentation:

PYTHONDONTWRITEBYTECODE=1 python3 scripts/check_deidentification.py \
  ./deidentification-process.json

Traceability and consistency:

PYTHONDONTWRITEBYTECODE=1 python3 scripts/provenance_validator.py ./provenance.json
PYTHONDONTWRITEBYTECODE=1 python3 scripts/consistency_checker.py ./consistency.json

These tools use the Python standard library, local bounded files, and no network, dynamic evaluation, serialization code execution, or patient-record extraction. A successful result still says review is required.

5. Apply the right review

At minimum:

  • clinical facts and interpretations: qualified clinician for the specialty;
  • statistical results, populations, estimands, denominators, and missingness: qualified statistician;
  • safety coding, seriousness, causality, expectedness, and reportability: qualified safety professional;
  • HIPAA, consent, authorization, and disclosure: privacy/legal/institutional review;
  • CSR or regulatory safety output: sponsor regulatory and medical review;
  • publication: all accountable authors and target-journal checks.

Never sign or submit on another person’s behalf.

Case Reports

Use assets/case_report_template.json and references/case_report_guidelines.md.

  • CARE’s current core checklist remains the 2013 checklist.
  • Report only what the verified record supports.
  • Do not turn a case into clinical advice or generalize causality from one case.
  • Patient perspective and informed-consent status must be recorded accurately; do not draft a false consent statement.
  • De-identification and consent are separate controls. Consent does not erase privacy risk.

Diagnostic Report Scaffolds

Use the radiology, pathology, or laboratory JSON asset and references/diagnostic_reports_standards.md.

  • The assets are field maps, not diagnostic authoring systems.
  • Never generate findings, impressions, diagnoses, grades, stages, reference intervals, critical thresholds, or follow-up recommendations.
  • Preserve preliminary/final/corrected status and source-system version.
  • Use current, exact CAP protocol and version for the specimen; do not maintain a generic cancer staging default.
  • Communication and correction actions remain with the responsible clinical service.

The former SOAP, H&P, consultation, and discharge-summary interfaces were removed. Do not recreate patient-care notes, medication plans, triage instructions, billing support, or disposition advice.

Trial, CSR, and Safety Reporting

Read references/clinical_trial_reporting.md and references/safety_reporting.md.

  • CONSORT 2025 has 30 minimum items for randomized-trial results; select relevant extensions from the current official catalogue.
  • SPIRIT 2025 has 34 minimum items for randomized-trial protocols and supersedes SPIRIT 2013.
  • ICH E3 remains the CSR basis; its 2012 Q&A explicitly permits justified adaptation.
  • ICH E6(R3) consolidated Principles, Annex 1, and Annex 2 were adopted on 16 June 2026; regional implementation can differ.
  • Distinguish seriousness from severity and an adverse event from a suspected adverse reaction.
  • ICH E2B(R3) defines electronic ICSR data/message structure; it is not an aggregate-table format or a reportability decision rule.
  • ICH E2D(R1), adopted 15 September 2025, addresses post-approval individual case safety reporting; aggregate periodic reporting is addressed separately.
  • FDA requirements and electronic submission routes are role-, product-, study-, and date-specific. This skill never files or transmits.

Privacy

Read references/privacy_and_deidentification.md.

  • Handle only the minimum necessary data locally.
  • HHS recognizes Safe Harbor and Expert Determination under 45 CFR 164.514(b).
  • Safe Harbor also requires no actual knowledge that remaining information can identify an individual.
  • Expert Determination must be performed and documented by an appropriately qualified expert.
  • A checklist or pattern scan cannot establish de-identification or HIPAA compliance.
  • Rare conditions, small cells, dates, free text, images, metadata, and combinations of quasi-identifiers can retain re-identification risk.

Assets

All assets contain synthetic schemas only and start blocked:

  • assets/case_report_template.json
  • assets/radiology_report_template.json
  • assets/pathology_report_template.json
  • assets/lab_report_template.json
  • assets/clinical_trial_csr_template.json
  • assets/clinical_trial_results_template.json
  • assets/trial_protocol_reporting_checklist.json
  • assets/clinical_trial_safety_aggregate_template.json
  • assets/adverse_event_aggregate_input_template.csv
  • assets/research_summary_template.json
  • assets/deidentification_process_checklist.json
  • assets/quality_review_checklist.json
  • assets/provenance_manifest_template.json
  • assets/terminology_manifest_template.json
  • assets/consistency_manifest_template.json

References

  • references/README.md — safe use and file map
  • references/report_type_routing.md — artifact-to-guidance routing
  • references/case_report_guidelines.md — CARE structure and publication safeguards
  • references/diagnostic_reports_standards.md — ACR, CAP, and CLIA boundaries
  • references/clinical_trial_reporting.md — CONSORT 2025, SPIRIT 2025, ICH E3/E6(R3)
  • references/safety_reporting.md — ICH E2/FDA safety distinctions
  • references/privacy_and_deidentification.md — HHS methods and limitations
  • references/medical_terminology.md — versioned terminology and schema checks
  • references/data_presentation.md — denominators, units, missingness, and aggregate tables
  • references/professional_review.md — ethics, accountability, and sign-off
  • references/sources.md — official source ledger, checked 2026-07-23

Final Handoff

State:

  1. artifact type and exact guidance/version used;
  2. allowed data class and local-only handling;
  3. unresolved null, missing, conflicts, and unsupported claims;
  4. provenance and deterministic-check results;
  5. required qualified reviewers;
  6. the draft/non-submission warning.

Never say “compliant,” “HIPAA-safe,” “validated clinically,” “approved,” “ready to file,” or “ready to submit.”

Reproducido de K-Dense-AI/scientific-agent-skills bajo licencia MIT. Leer esta página en markdown.

Archivos

36 archivos en el paquete. Solo se lee SKILL.md al activarse — las referencias se cargan si el skill decide que las necesita.

Antes de instalar

Requiere Python 3.11+ solo para los scripts locales opcionales; no usa red, credenciales, modelos externos ni servicios de imágenes.

Detalles

Creador
K-Dense-AI
Licencia
MIT
Recursos incluidos
scripts en python + referencias
Código fuente
Ver SKILL.md

Etiquetas

Más de K-Dense-AI/scientific-agent-skills

Este repo incluye 163 skills. Si instalas uno, normalmente ya tienes los demás.

Gestión integral de citas académicas: busca en OpenAlex, PubMed y Google Scholar, extrae metadatos precisos, valida citas y genera entradas BibTeX correctamente formateadas.

Costo de contexto al activarse
3.7k tok
Tamaño del paquete
21 archivos
Última actualización
hace 28 días
investigacion

Realiza revisiones bibliográficas sistemáticas y completas usando varias bases académicas (PubMed, arXiv, bioRxiv, Semantic Scholar). Genera markdown y PDF con citas verificadas en varios estilos (APA, Nature, Vancouver).

Costo de contexto al activarse
3.2k tok
Tamaño del paquete
12 archivos
Última actualización
hace 15 días
investigacion

Crea decks de diapositivas y presentaciones para charlas de investigación: PowerPoint, presentaciones de conferencia, seminarios, defensas de tesis. Da estructura, plantillas, guía de tiempos y validación visual.

Costo de contexto al activarse
5.1k tok
Tamaño del paquete
24 archivos
Última actualización
hace 15 días
documentos

Crea infografías profesionales con Nano Banana Pro AI y refinamiento iterativo inteligente. Usa Gemini 3.6 Flash para revisar la calidad e integra investigación con Perplexity Sonar. Soporta 10 tipos, 8 estilos y paletas para daltonismo.

Costo de contexto al activarse
2.7k tok
Tamaño del paquete
8 archivos
Última actualización
hace 15 días
diseno ui

Crea pósteres de investigación profesionales en LaTeX con beamerposter, tikzposter o baposter, para conferencias y comunicación científica: layout, colores, columnas múltiples e integración de figuras.

Costo de contexto al activarse
3.9k tok
Tamaño del paquete
17 archivos
Última actualización
hace 15 días
documentos

Crea diagramas científicos de calidad de publicación con la IA Nano Banana 2 y refinamiento iterativo inteligente. Gemini 3.6 Flash revisa la calidad y solo regenera si está por debajo del umbral de tu tipo de documento.

Costo de contexto al activarse
4.1k tok
Tamaño del paquete
6 archivos
Última actualización
hace 15 días
diseno ui

Skills relacionados

Prepara y valida artefactos de investigación —evaluación, evidencia, cohorte, supervivencia, modelo/biomarcador, privacidad, gobernanza— para soporte de decisiones clínicas. Solo documentación, nunca atención al paciente.

Costo de contexto al activarse
3.1k tok
Tamaño del paquete
28 archivos
Última actualización
el mes pasado
redaccion contenido

Adaptyv

34.8k

Cómo usar la API y el SDK de Python de Adaptyv Bio Foundry para diseñar, enviar y consultar experimentos de proteínas: binding, screening, BLI/SPR, termoestabilidad. Se activa si el código importa `adaptyv`, `adaptyv_sdk` o `FoundryClient`.

Costo de contexto al activarse
2.2k tok
Tamaño del paquete
2 archivos
Última actualización
el mes pasado
desarrollo apis

Aeon

34.8k

Para tareas de machine learning con series temporales: clasificación, regresión, clustering, forecasting, detección de anomalías, segmentación y búsqueda de similitud, con APIs compatibles con scikit-learn.

Costo de contexto al activarse
3.1k tok
Tamaño del paquete
12 archivos
Última actualización
el mes pasado
datos analitica