返回顶部
i

ib-summarizer

Summarize core safety information from Investigator's Brochures for clinical

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
97
下载量
0
收藏
概述
安装方式
版本历史

ib-summarizer

# IB Summarizer ## Description Summarize core safety information from Investigator's Brochures (IB), helping clinical researchers quickly obtain key drug safety data. ## Functions - Extract Core Safety Information (CSI) from IB documents - Identify and summarize: - Known Adverse Drug Reactions (ADRs) and their incidence rates - Contraindications - Warnings and Precautions - Drug Interactions - Special population precautions - Overdose Management - Important safety updates ## Usage ```bash python scripts/main.py <input_file> [options] ``` ### Parameters | Parameter | Type | Default | Required | Description | |-----------|------|---------|----------|-------------| | `input_file` | string | - | Yes | IB document path (PDF/Word/TXT) | | `-o, --output` | string | stdout | No | Output file path | | `-f, --format` | string | markdown | No | Output format (json, markdown, text) | | `-l, --language` | string | zh | No | Output language (zh, en) | ### Examples ```bash # Basic usage python scripts/main.py /path/to/IB.pdf # Output to JSON file python scripts/main.py /path/to/IB.pdf -o summary.json -f json # English output python scripts/main.py /path/to/IB.docx -l en -o summary.md ``` ## Output Structure ### Markdown Format ```markdown # IB Safety Information Summary ## Basic Drug Information - **Drug Name**: XXX - **Version**: X.X - **Date**: YYYY-MM-DD ## Core Safety Information ### Known Adverse Reactions | System Organ Class | Adverse Reaction | Incidence | Severity | |-------------|---------|--------|---------| | ... | ... | ... | ... | ### Contraindications - ... ### Warnings and Precautions - ... ### Drug Interactions - ... ### Special Populations | Population | Precautions | |-----|---------| | Pregnant women | ... | | Lactating women | ... | | Children | ... | | Elderly | ... | | Hepatic/renal impairment | ... | ### Overdose - Symptoms: ... - Management: ... ### Safety Update History | Version | Date | Update Content | |-----|------|---------| | ... | ... | ... | ``` ### JSON Format ```json { "drug_info": { "name": "Drug Name", "version": "Version Number", "date": "Date" }, "core_safety_info": { "adverse_reactions": [...], "contraindications": [...], "warnings": [...], "drug_interactions": [...], "special_populations": {...}, "overdose": {...}, "safety_updates": [...] } } ``` ## Dependencies - Python 3.8+ - PyPDF2 / pdfplumber (PDF parsing) - python-docx (Word parsing) - Optional: openai / anthropic (for AI-enhanced extraction) ## Installation ```bash pip install -r requirements.txt ``` ## Notes 1. Input documents should be readable PDF or Word format 2. Scanned PDFs require OCR processing first 3. For complex table structures, manual verification may be needed 4. Information extracted by this tool is for reference only and does not constitute medical advice ## Risk Assessment | 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 | ## Security Checklist - [ ] No hardcoded credentials or API keys - [ ] No unauthorized file system access (../) - [ ] Output does not expose sensitive information - [ ] Prompt injection protections in place - [ ] Input file paths validated (no ../ traversal) - [ ] Output directory restricted to workspace - [ ] Script execution in sandboxed environment - [ ] Error messages sanitized (no stack traces exposed) - [ ] Dependencies audited ## Prerequisites ```bash # Python dependencies pip install -r requirements.txt ``` ## Evaluation Criteria ### Success Metrics - [ ] Successfully executes main functionality - [ ] Output meets quality standards - [ ] Handles edge cases gracefully - [ ] Performance is acceptable ### Test Cases 1. **Basic Functionality**: Standard input → Expected output 2. **Edge Case**: Invalid input → Graceful error handling 3. **Performance**: Large dataset → Acceptable processing time ## Lifecycle Status - **Current Stage**: Draft - **Next Review Date**: 2026-03-06 - **Known Issues**: None - **Planned Improvements**: - Performance optimization - Additional feature support

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 ib-summarizer-1776077662 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 ib-summarizer-1776077662 技能

通过命令行安装

skillhub install ib-summarizer-1776077662

下载 Zip 包

⬇ 下载 ib-summarizer v0.1.0

文件大小: 8.14 KB | 发布时间: 2026-4-14 13:01

v0.1.0 最新 2026-4-14 13:01
Initial release of ib-summarizer for extracting core safety information from Investigator’s Brochures.

- Summarizes key safety sections including ADRs, contraindications, warnings, interactions, special populations, overdose, and safety updates.
- Supports input in PDF, Word, or text formats; outputs in markdown, JSON, or plain text.
- Enables language selection (Chinese or English) for summaries.
- Designed for clinical researchers to rapidly access structured drug safety data.
- Includes security checklist and requirements for local execution.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部